Function at 0x401f20
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
lea eax, [0x501aec]
lea edi, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0xe559213c
push dword [esp + 0x30]
push eax
call fcn.00401590
add esp, 8
mov ecx, 0x8aa081a6
xor ecx, dword [eax]
lea eax, [esp + 8]
mov dword [esp + 8], ecx
push 4
push eax
push edi
call fcn.004c0bc0
add esp, 0xc
cmp byte [esp + 0x3c], 3
jne 0x403862
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xcc], eax
lea eax, [0x505549]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0xea6384b
push dword [esp + 0x30]
push eax
call fcn.00401ab0
add esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x3a], 0
mov dword [esp + 0x36], 0
mov ecx, 0x4b4ca22a
mov edi, 0x3e38386e
mov edx, 0x1f897a74
xor ecx, dword [eax]
mov dword [esp + 0x30], ecx
xor edi, dword [eax + 4]
mov dword [esp + 0x34], edi
lea edi, [esp + 0x16c]
xor edx, dword [eax + 8]
mov dword [esp + 0x38], edx
movzx eax, word [eax + 0xc]
xor al, 0xf7
xor ah, 0xa0
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], ah
push 0xe
lea eax, [esp + 0x34]
push eax
push esi
mov dword [esp + 0x140], ebx
push ebx
push edi
call fcn.004c42c0
add esp, 0x14
push edi
lea edi, [esp + 0x34]
call fcn.004c4d80
add esp, 4
push edx
push eax
push edi
call fcn.004c5560
add esp, 0xc
mov eax, dword [esp + 0x30]
xor eax, 2
or eax, dword [esp + 0x34]
jne 0x403820
cmp byte [esp + 0x38], 3
jne 0x402089
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40207c
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
push 0
call fcn.004c4510
add esp, 4
test eax, eax
je 0x403862
movdqu xmm0, xmmword [eax]
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [0x504a2d]
movdqu xmmword [esp + 0x110], xmm0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0x507460
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x67f1437f
push dword [esp + 0x30]
push eax
call fcn.00401120
add esp, 8
mov esi, dword [eax]
push 1
push 4
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403878
xor esi, 0x1ed86cc0
mov dword [esp + 8], 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 4
mov dword [esp + 0x38], 0
lea edx, [esp + 0x110]
lea ecx, [esp + 0x90]
mov dword [eax], esi
push edi
lea eax, [esp + 0xc]
push eax
push edx
push ecx
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x402199
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x402199
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x502f81]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x187b122a
push dword [esp + 0x30]
push eax
call fcn.004016a0
add esp, 8
mov esi, dword [eax]
movzx ebx, word [eax + 4]
push 1
push 6
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x40387e
xor bh, 0x99
xor esi, 0xd3ea73e8
xor bl, 0x43
mov dword [esp + 8], 6
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 6
mov dword [esp + 0x38], 0
mov dword [eax], esi
mov byte [eax + 4], bl
mov byte [eax + 5], bh
push edi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x402256
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x402256
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x5028af]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x50a2c84
push dword [esp + 0x30]
push eax
call fcn.00401b70
add esp, 8
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
movzx ebx, word [eax + 8]
movzx esi, byte [eax + 0xa]
push 1
push 0xb
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403884
mov edx, dword [esp + 4]
shl esi, 0x10
xor edi, 0xc4aee02e
mov dword [esp + 8], 0xb
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 0xb
mov dword [esp + 0x38], 0
or ebx, esi
lea esi, [esp + 0x30]
mov dword [eax], edi
mov ecx, ebx
xor bh, 0x56
xor bl, 0x6d
shr ecx, 0x10
xor edx, 0xdcea31b
xor cl, 0x18
mov dword [eax + 4], edx
mov byte [eax + 8], bl
mov byte [eax + 9], bh
mov byte [eax + 0xa], cl
push esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x40233f
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x40233f
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4f86ea]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x15594c27
push dword [esp + 0x30]
push eax
call fcn.004019f0
add esp, 8
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
push 1
push 0xc
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403866
xor ebx, 0xa06e8941
xor esi, 0x4831fdf2
xor edi, 0x5994ada2
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x38], 0
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
lea esi, [esp + 0x30]
push esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x402408
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x402408
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4fa795]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x1bcc3594
push dword [esp + 0x30]
push eax
call fcn.004014e0
add esp, 8
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
push 1
push 0xc
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403866
xor ebx, 0x6a6e4147
xor esi, 0x5584caa6
xor edi, 0xea98fce4
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x38], 0
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
lea esi, [esp + 0x30]
push esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4024d1
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4024d1
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4fdbc1]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x6928691c
push dword [esp + 0x30]
push eax
call fcn.00401480
add esp, 8
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx ebx, byte [eax + 0x10]
push 1
push 0x11
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x40388a
mov ecx, dword [esp]
mov edx, dword [esp + 4]
xor edi, 0xdeecd397
xor esi, 0xd75c2ad8
xor bl, 0xbb
mov dword [esp + 8], 0x11
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 0x11
mov dword [esp + 0x38], 0
xor ecx, 0x3921e606
xor edx, 0xb9c5ba36
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
lea esi, [esp + 0x30]
mov byte [eax + 0x10], bl
push esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4025be
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4025be
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4fd7f5]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x55bb10f2
push dword [esp + 0x30]
push eax
call fcn.004013d0
add esp, 8
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
push 1
push 0xc
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403866
xor ebx, 0xc64a9a0a
xor esi, 0x8ed80be5
xor edi, 0x3479816f
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x38], 0
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
lea esi, [esp + 0x30]
push esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x402687
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x402687
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x500392]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x8f04dd7b
push dword [esp + 0x30]
push eax
call fcn.00401760
add esp, 8
mov edi, dword [eax]
mov esi, dword [eax + 4]
movzx ebx, byte [eax + 8]
push 1
push 9
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403890
xor edi, 0x6b62923a
xor esi, 0x1d9c1ba8
xor bl, 0x5c
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 9
mov dword [esp + 0x38], 0
mov dword [eax], edi
mov dword [eax + 4], esi
lea esi, [esp + 0x30]
mov byte [eax + 8], bl
push esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x40274e
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x40274e
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4f7c2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x389818fe
push dword [esp + 0x30]
push eax
call fcn.00401870
add esp, 8
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx ebx, word [eax + 0x10]
push 1
push 0x12
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x403896
mov ecx, dword [esp]
mov edx, dword [esp + 4]
xor edi, 0x6e344b5a
xor bh, 0xb
xor esi, 0xcb06655
xor bl, 0x68
mov dword [esp + 8], 0x12
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x10], 0x12
mov dword [esp + 0x38], 0
xor ecx, 0x181888d5
xor edx, 0x2947a6d4
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
lea edi, [esp + 0x30]
mov dword [eax + 0xc], esi
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], bh
push edi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00404cd0
add esp, 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x402841
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x402841
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
mov ebx, dword [esp + 0x12c]
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x128]
movdqa xmm0, xmmword [ebx]
lea ecx, [esi + 1]
test esi, esi
mov dword [esp + 4], eax
je 0x402879
mov edx, 0x18
mov eax, ecx
mov dword [esp], 0
mul edx
jno 0x402882
jmp 0x402896
mov dword [esp], 0
jmp 0x40289a
add eax, 0xf
add esi, 0x11
and eax, 0xfffffff0
add esi, eax
jb 0x402896
mov dword [esp], 0x10
mov edx, ebx
sub edx, eax
lea eax, [ebx + 0x10]
add ecx, ebx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 4]
mov ecx, dword [esp]
pmovmskb eax, xmm0
not eax
mov word [esp + 0xfc], ax
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], ecx
jmp 0x40290b
mov eax, dword [esp]
test eax, eax
je 0x402ad0
push 1
push eax
push ecx
call fcn.0040dc90
add esp, 0xc
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x4036c1
movzx ecx, word [esp + 0xfc]
test cx, cx
je 0x402940
mov eax, dword [esp + 0xf8]
lea edx, [ecx - 1]
and edx, ecx
mov word [esp + 0xfc], dx
test eax, eax
jne 0x402989
jmp 0x4036c1
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0xf8]
nop
movdqa xmm0, xmmword [edx]
add eax, 0xfffffe80
add edx, 0x10
pmovmskb ecx, xmm0
cmp cx, 0xffff
je 0x402950
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf0], edx
mov edx, 0xfffffffe
sub edx, ecx
not ecx
mov esi, ecx
and esi, edx
mov word [esp + 0xfc], si
tzcnt ecx, ecx
dec ebx
neg ecx
mov dword [esp + 0x100], ebx
lea ecx, [ecx + ecx*2]
mov esi, dword [eax + ecx*8 - 0x14]
test esi, esi
je 0x4036c1
mov dword [esp + 4], ebx
mov ebx, dword [eax + ecx*8 - 0xc]
lea edx, [eax + ecx*8 - 0x18]
mov edi, dword [eax + ecx*8 - 0x18]
mov dword [esp], ebx
mov ebx, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 4]
mov dword [esp + 0x2c], eax
push dword [edx + 8]
push esi
lea eax, [esp + 0x150]
push eax
call fcn.004c0bc0
add esp, 0xc
test edi, edi
je 0x4029e9
push 1
push edi
push esi
call fcn.0040dc90
add esp, 0xc
movzx eax, byte [esp + 0x154]
lea edi, [esp + 0x30]
mov ecx, ebx
cmp eax, 2
je 0x4028f0
cmp eax, 3
lea esi, [esp + 0xe0]
jne 0x402aa0
mov edi, dword [esp + 0x148]
mov eax, dword [esp + 0x14c]
push dword [esp + 0x2c]
push ecx
push dword [esp + 0x158]
mov dword [esp + 0x38], eax
push eax
push esi
mov ebx, ecx
call fcn.004c42c0
add esp, 0x14
mov eax, dword [esp]
test eax, eax
je 0x402a4d
push 1
push eax
push ebx
call fcn.0040dc90
add esp, 0xc
test edi, edi
je 0x402a60
push 1
push edi
push dword [esp + 0x34]
call fcn.0040dc90
add esp, 0xc
push esi
call fcn.004c4d80
add esp, 4
push edx
push eax
lea edi, [esp + 0x38]
push edi
call fcn.004c5560
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 4]
xor eax, 2
or eax, dword [esp + 0x34]
jne 0x402ad9
cmp byte [esp + 0x38], 3
jne 0x402bb5
mov esi, dword [esp + 0x3c]
jmp 0x402b7f
mov eax, dword [esp + 0x148]
test eax, eax
je 0x4028f0
push 1
push eax
push dword [esp + 0x154]
call fcn.0040dc90
mov ecx, ebx
add esp, 0xc
jmp 0x4028f0
mov ebx, dword [esp + 4]
jmp 0x40290b
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xe4]
test esi, esi
je 0x402b05
js 0x40386c
push 1
push esi
call fcn.0040dc80
add esp, 8
test eax, eax
jne 0x402b0a
jmp 0x403873
mov eax, 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
push esi
push edi
push eax
call fcn.004f5b80
add esp, 0xc
movzx eax, byte [esp + 0xec]
mov dword [esp + 0x38], esi
mov byte [esp + 0x3c], al
call fcn.0040e2f0
lea edi, [esp + 0x30]
mov byte [esp + 0x90], al
push edi
call fcn.004c4d80
add esp, 4
push edx
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004c5e50
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x402b74
push 1
push eax
push dword [esp + 0x3c]
call fcn.0040dc90
add esp, 0xc
cmp byte [esp + 8], 3
jne 0x402bae
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x402ba1
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
lea esi, [esp + 0xe0]
push esi
call fcn.004c4d80
add esp, 4
push edx
push eax
push edi
call fcn.004c5560
add esp, 0xc
mov eax, dword [esp + 0x30]
xor eax, 2
or eax, dword [esp + 0x34]
jne 0x402c36
cmp byte [esp + 0x38], 3
jne 0x402c10
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x402c03
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x40290b
push 1
push eax
push dword [esp + 0xec]
call fcn.0040dc90
add esp, 0xc
jmp 0x40290b
push esi
call fcn.004c4d80
add esp, 4
mov esi, edi
mov edi, eax
lea eax, [0x5031f5]
mov ebx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0xda20d570
push dword [esp + 0x30]
push eax
call fcn.004018f0
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x33], 0
mov edx, 0x77fe0899
mov ecx, dword [eax]
xor ecx, edx
mov dword [esp + 0x30], ecx
movzx ecx, word [eax + 4]
movzx eax, byte [eax + 6]
xor cl, 0xf
xor ch, 0xe
xor al, 0x43
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], ch
mov byte [esp + 0x36], al
push 7
push esi
push ebx
push edi
lea eax, [esp + 0x148]
push eax
call fcn.004c42c0
add esp, 0x14
push esi
call fcn.004c0cf0
add esp, 4
cmp byte [esp + 0x3c], 2
je 0x403862
mov esi, dword [esp + 0x140]
movq xmm0, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
mov edi, dword [esp + 0x13c]
test esi, esi
movq qword [esp + 0x10], xmm1
movq qword [esp + 8], xmm0
je 0x402d0e
js 0x40386c
push 1
push esi
call fcn.0040dc80
add esp, 8
test eax, eax
jne 0x402d13
jmp 0x403873
mov eax, 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
push esi
push edi
push eax
call fcn.004f5b80
add esp, 0xc
movzx eax, byte [esp + 0x144]
mov dword [esp + 0x38], esi
mov byte [esp + 0x3c], al
lea eax, [esp + 8]
push eax
call fcn.004c4d80
add esp, 4
mov edi, eax
lea eax, [esp + 0x30]
mov ebx, edx
push eax
call fcn.004c4d80
add esp, 4
push edx
push eax
push ebx
push edi
lea eax, [esp + 0xa0]
push eax
call fcn.004c59c0
add esp, 0x14
mov eax, dword [esp + 0x30]
test eax, eax
je 0x402d7f
push 1
push eax
push dword [esp + 0x3c]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x402d96
push 1
push eax
push dword [esp + 0x14]
call fcn.0040dc90
add esp, 0xc
cmp dword [esp + 0x90], 0
lea edi, [esp + 0x30]
je 0x402de4
cmp byte [esp + 0x94], 3
jne 0x402de4
mov esi, dword [esp + 0x98]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x402dd7
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4ff6ae]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0xcb6d2bbb
push dword [esp + 0x30]
push eax
call fcn.00401680
add esp, 8
mov dword [esp + 8], 0
mov dword [esp + 0xb], 0
mov edx, 0x1aaf78e1
mov ecx, dword [eax]
xor ecx, edx
mov dword [esp + 8], ecx
movzx ecx, word [eax + 4]
movzx eax, byte [eax + 6]
xor cl, 0x38
xor ch, 0x65
xor al, 0xd7
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], ch
mov byte [esp + 0xe], al
push 7
lea esi, [esp + 0xc]
push esi
push edi
call fcn.004c74c0
add esp, 0xc
push 0x8000000
push edi
call fcn.004c4670
add esp, 8
lea eax, [0x50596e]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x3fc23572
push dword [esp + 8]
push eax
call fcn.00401af0
add esp, 8
mov word [esp + 8], 0
movzx eax, word [eax]
xor al, 0xca
xor ah, 0x99
mov byte [esp + 8], al
mov byte [esp + 9], ah
push 2
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x5017d6]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x3225031b
push dword [esp + 8]
push eax
call fcn.00401540
add esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, 0xc251090a
mov ecx, dword [eax]
xor ecx, edx
mov dword [esp + 8], ecx
mov ecx, 0x8d772ef2
mov eax, dword [eax + 4]
xor eax, ecx
mov dword [esp + 0xc], eax
push 8
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x4fd59d]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x76c53cc9
push dword [esp + 8]
push eax
call fcn.00401450
add esp, 8
mov dword [esp + 8], 0
mov dword [esp + 0xb], 0
mov edx, 0xa70510de
mov ecx, dword [eax]
xor ecx, edx
mov dword [esp + 8], ecx
movzx ecx, word [eax + 4]
movzx eax, byte [eax + 6]
xor cl, 0x71
xor ch, 0x98
xor al, 0xc4
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], ch
mov byte [esp + 0xe], al
push 7
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x501169]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x50ea2ca9
push dword [esp + 8]
push eax
call fcn.00401bf0
add esp, 8
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
xor al, 0x53
xor ah, 0x57
xor cl, 7
mov byte [esp + 8], al
mov byte [esp + 9], ah
mov byte [esp + 0xa], cl
push 3
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x4f8640]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x7b988aa1
push dword [esp + 8]
push eax
call fcn.00401150
add esp, 8
mov dword [esp + 8], 0
mov word [esp + 0xc], 0
mov edx, 0xdf7c7d0b
mov ecx, dword [eax]
xor ecx, edx
mov dword [esp + 8], ecx
movzx eax, word [eax + 4]
xor al, 0xc5
xor ah, 0x99
mov byte [esp + 0xc], al
mov byte [esp + 0xd], ah
push 6
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x506746]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x92df95a5
push dword [esp + 8]
push eax
call fcn.00401510
add esp, 8
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
xor al, 0x2d
xor ah, 0xfc
xor cl, 0xa8
mov byte [esp + 8], al
mov byte [esp + 9], ah
mov byte [esp + 0xa], cl
push 3
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x4fe54b]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0xb8e27fea
push dword [esp + 8]
push eax
call fcn.00401ba0
add esp, 8
mov byte [esp + 8], 0
movzx eax, byte [eax]
xor al, 0xf8
mov byte [esp + 8], al
push 1
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x4f985c]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x7e8e8d08
push dword [esp + 8]
push eax
call fcn.004017a0
add esp, 8
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
not al
xor ah, 0x20
xor cl, 0xc9
mov byte [esp + 8], al
mov byte [esp + 9], ah
mov byte [esp + 0xa], cl
push 3
push esi
push edi
call fcn.004c7580
add esp, 0xc
lea eax, [0x4fedd3]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0x5fd423a5
push dword [esp + 8]
push eax
call fcn.004018c0
add esp, 8
pxor xmm0, xmm0
mov word [esp + 0xa0], 0
mov edx, 0xc40a991d
movdqa xmmword [esp + 0x90], xmm0
mov ecx, dword [eax]
xor ecx, edx
mov edx, 0x720723a9
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 4]
xor ecx, edx
mov edx, 0x583b5a90
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov edx, 0x5e4127a4
mov dword [esp + 0x98], ecx
mov ecx, dword [eax + 0xc]
xor ecx, edx
mov dword [esp + 0x9c], ecx
movzx eax, word [eax + 0x10]
xor al, 0x3e
xor ah, 0xc5
mov byte [esp + 0xa0], al
mov byte [esp + 0xa1], ah
lea eax, [esp + 0x90]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], 0x12
call fcn.004b5e10
mov ebx, eax
lea edi, [eax + 8]
mov eax, dword [eax + 0x108]
cmp eax, 0x3f
jae 0x40325d
lea ecx, [eax + 2]
cmp eax, 0x3d
mov dword [ebx + 0x108], ecx
mov esi, dword [ebx + eax*4 + 8]
mov edx, dword [ebx + eax*4 + 0xc]
mov dword [esp + 4], edx
jb 0x403340
cmp ecx, 0x3f
mov dword [esp + 0x2c], esi
jne 0x40335a
mov dword [esp], edi
mov edi, dword [ebx + 0x104]
mov eax, ebx
add eax, 0x110
mov dword [esp + 0xc8], eax
call fcn.0040e2f0
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x14c]
cmp ecx, 1
mov esi, edx
sbb esi, 0
jl 0x4033a8
cmp dword [ebx + 0x150], eax
js 0x4033a8
add ecx, 0xffffff00
adc edx, 0xffffffff
mov dword [ebx + 0x148], ecx
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 0x14c], edx
mov edx, dword [esp]
call fcn.00405dd0
jmp 0x4033bb
mov dword [esp], edi
jne 0x4032ba
mov eax, dword [ebx + 0x104]
mov edi, ebx
add edi, 0x110
mov dword [esp + 0x2c], eax
call fcn.0040e2f0
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x14c]
cmp ecx, 1
mov esi, edx
sbb esi, 0
jl 0x403306
cmp dword [ebx + 0x150], eax
js 0x403306
mov esi, dword [esp]
add ecx, 0xffffff00
adc edx, 0xffffffff
mov dword [ebx + 0x148], ecx
mov ecx, edi
mov dword [ebx + 0x14c], edx
mov edx, esi
call fcn.00405dd0
jmp 0x403316
mov edi, ebx
add edi, 0x110
call fcn.0040e2f0
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x14c]
cmp ecx, 1
mov esi, edx
sbb esi, 0
jl 0x403323
cmp dword [ebx + 0x150], eax
js 0x403323
add ecx, 0xffffff00
adc edx, 0xffffffff
mov dword [ebx + 0x148], ecx
mov ecx, edi
mov dword [ebx + 0x14c], edx
mov edx, dword [esp]
call fcn.00405dd0
jmp 0x403331
mov esi, dword [esp]
mov ecx, edi
mov edx, esi
push eax
call fcn.00405920
add esp, 4
mov eax, dword [esi]
mov esi, dword [esp + 0x2c]
mov ecx, 1
jmp 0x40333c
mov edx, dword [esp]
mov ecx, edi
push eax
call fcn.00405920
add esp, 4
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov ecx, 2
mov dword [esp + 4], eax
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebx + 0x108], edx
mov edx, eax
mov edi, dword [ebx + ecx*4 + 8]
mov ecx, dword [ebx + ecx*4 + 0xc]
jmp 0x4033f6
mov eax, ebx
add eax, 0x110
mov dword [esp], eax
call fcn.0040e2f0
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x14c]
cmp ecx, 1
mov esi, edx
sbb esi, 0
jl 0x4033d0
cmp dword [ebx + 0x150], eax
js 0x4033d0
add ecx, 0xffffff00
mov dword [ebx + 0x148], ecx
mov ecx, dword [esp]
adc edx, 0xffffffff
mov dword [ebx + 0x14c], edx
mov edx, edi
call fcn.00405dd0
jmp 0x4033de
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp]
push eax
call fcn.00405920
add esp, 4
mov dword [ebx + 0x108], 1
mov esi, dword [esp + 0x2c]
xor eax, eax
mov ecx, dword [ebx + 8]
jmp 0x4033f4
mov ecx, dword [esp]
mov edx, edi
push eax
call fcn.00405920
add esp, 4
mov dword [ebx + 0x108], 2
mov esi, dword [esp + 0x2c]
xor eax, eax
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
xor edx, edx
or eax, edi
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 4]
or edx, ecx
mov dword [esp + 0x10], 0x5072ec
mov dword [esp + 0x14], 2
mov dword [esp + 8], 0
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x158]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xd4], 0x404150
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xdc], 0x4d2c30
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
mov dword [esp + 0xbc], esi
mov dword [esp + 0x1c], 2
push eax
lea eax, [esp + 0x164]
push eax
call fcn.004d1060
add esp, 8
dec dword [ebx]
jne 0x4034a5
dec dword [ebx + 4]
jne 0x4034a5
push 8
push 0x158
push ebx
call fcn.0040dc90
add esp, 0xc
mov esi, dword [esp + 0x164]
push dword [esp + 0x168]
push esi
lea edi, [esp + 0x38]
push edi
call fcn.004c7580
add esp, 0xc
mov eax, dword [esp + 0x160]
test eax, eax
je 0x4034d8
push 1
push eax
push esi
call fcn.0040dc90
add esp, 0xc
lea eax, [0x4ffb18]
lea esi, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 8], 0xfc5f7070
push dword [esp + 8]
push eax
call fcn.00401b20
add esp, 8
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
xor al, 0xd1
xor ah, 0x50
xor cl, 6
mov byte [esp + 8], al
mov byte [esp + 9], ah
mov byte [esp + 0xa], cl
push 3
push esi
push edi
call fcn.004c7580
add esp, 0xc
mov esi, dword [esp + 0x140]
mov ebx, dword [esp + 0x13c]
test esi, esi
je 0x403560
js 0x40386c
push 1
push esi
call fcn.0040dc80
add esp, 8
mov edi, eax
test eax, eax
jne 0x403565
jmp 0x403873
mov edi, 1
push esi
push ebx
push edi
call fcn.004f5b80
add esp, 0xc
movzx eax, byte [esp + 0x144]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], esi
mov byte [esp + 0xc4], al
lea eax, [esp + 0xb8]
push eax
call fcn.004c4d80
add esp, 4
push edx
push eax
call fcn.004c4f90
add esp, 8
test eax, eax
je 0x403862
push edx
push eax
lea edi, [esp + 0x98]
push edi
call fcn.004d49f0
add esp, 0xc
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], 0
push 0x5072d0
lea eax, [esp + 0xd4]
push eax
lea esi, [esp + 0x10]
push esi
call fcn.004d4c20
add esp, 0xc
push esi
push edi
call fcn.004d7d30
add esp, 8
test al, al
lea edi, [esp + 0x30]
jne 0x403862
mov esi, dword [esp + 0xd4]
push dword [esp + 0xd8]
push esi
push edi
call fcn.004c7580
add esp, 0xc
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x403648
push 1
push eax
push esi
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x403665
push 1
push eax
push dword [esp + 0xc4]
call fcn.0040dc90
add esp, 0xc
push edi
lea esi, [esp + 0xc]
push esi
call fcn.004c4680
add esp, 8
mov ecx, esi
call fcn.00401d40
mov ecx, edi
call fcn.00401c40
mov eax, dword [esp + 0x138]
test eax, eax
je 0x403698
push 1
push eax
push ebx
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x4036b5
push 1
push eax
push dword [esp + 0xec]
call fcn.0040dc90
add esp, 0xc
mov ebx, dword [esp + 0x100]
jmp 0x40290b
lea eax, [esp + 0xf0]
push eax
call fcn.0040c050
add esp, 4
lea eax, [0x4fe502]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x6c6f3c18
push dword [esp + 0x30]
push eax
call fcn.00401700
add esp, 8
mov ecx, 0x76179b04
xor ecx, dword [eax]
mov dword [esp + 8], ecx
push 4
lea ebx, [esp + 0xc]
push ebx
push edi
call fcn.004c0bc0
add esp, 0xc
cmp byte [esp + 0x3c], 3
jne 0x403862
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
lea eax, [0x4f96cf]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0x3398dd12
push dword [esp + 0x30]
push eax
call fcn.00401420
add esp, 8
mov ecx, 0xbf0c331d
mov edx, 0xa3a9b66b
xor ecx, dword [eax]
mov dword [esp + 8], ecx
mov ecx, 0x149e7aea
xor ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
xor edx, dword [eax + 8]
mov dword [esp + 0x10], edx
movzx eax, word [eax + 0xc]
xor al, 0xf9
xor ah, 7
mov byte [esp + 0x14], al
mov byte [esp + 0x15], ah
push 0xe
lea esi, [esp + 0xc]
push esi
push dword [esp + 8]
mov dword [esp + 0xc], ebx
push ebx
push edi
call fcn.004c42c0
add esp, 0x14
push edi
call fcn.004c4d80
add esp, 4
push 0
push 0x5072e8
push edx
push eax
push esi
call fcn.004c5bb0
add esp, 0x14
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4037cf
push 1
push eax
push dword [esp + 0x3c]
call fcn.0040dc90
add esp, 0xc
cmp byte [esp + 8], 3
jne 0x403809
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4037fc
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 4]
test eax, eax
je 0x403820
push 1
push eax
push dword [esp + 8]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x40383d
push 1
push eax
push dword [esp + 0x178]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x40385a
push 1
push eax
push dword [esp + 0x13c]
call fcn.0040dc90
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
push 1
push 0xc
jmp 0x40389a
call fcn.004ccfb0
ud2
push 1
push esi
jmp 0x40389a
push 1
push 4
jmp 0x40389a
push 1
push 6
jmp 0x40389a
push 1
push 0xb
jmp 0x40389a
push 1
push 0x11
jmp 0x40389a
push 1
push 9
jmp 0x40389a
push 1
push 0x12
call fcn.005062c0
add esp, 8
ud2