Function at 0x4033d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x49c024]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [0x4f6e00]
xor ecx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov dword [esp + 0x54], eax
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edx, edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x50], eax
test eax, eax
je 0x403629
nop dword [eax]
mov edx, dword [edx]
xorps xmm0, xmm0
add edx, edi
movaps xmmword [esp + 0x60], xmm0
mov eax, edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403451
sub eax, esi
lea ecx, [esp + 0x60]
push eax
push edx
call fcn.00407220
mov esi, dword [esp + 0x60]
mov dword [esp + 0x18], esi
test edi, edi
je 0x4035d3
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x60]
mov ecx, edi
mov dword [esp + 0x30], edi
xor ecx, 0x14d
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x74], 0x10
cmovae eax, esi
mov dword [esp + 0x20], eax
mov eax, edi
shr eax, 2
mov dword [esp + 0x2c], eax
test eax, eax
je 0x403573
mov edi, ecx
push ecx
call fcn.00404130
mov dword [esp + 8], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x5c], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [esp + 0x58]
push eax
call fcn.00406900
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x28], al
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x403502
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
call fcn.00408160
mov ecx, dword [esp + 8]
call fcn.004060c0
mov edx, str.Z81xbyuAua
mov ecx, 0x49dd68
call fcn.00406bf0
push eax
call fcn.00406e90
mov edx, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x20]
imul ecx, dword [eax + edx*4], 0x5bd1e991
inc edx
mov dword [esp + 0x1c], edx
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
imul eax, edi, 0x5bd1e991
xor ecx, eax
mov eax, dword [esp + 0x2c]
mov edi, ecx
cmp edx, eax
jl 0x4034b0
mov esi, dword [esp + 0x18]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
and edi, 3
lea eax, [edx + eax*4]
xor edx, edx
mov dword [esp + 0x18], eax
sub edi, 1
je 0x4035a6
sub edi, 1
je 0x403599
sub edi, 1
jne 0x4035b3
movsx edx, byte [eax + 2]
shl edx, 0x10
movsx eax, byte [eax + 1]
shl eax, 8
xor edx, eax
mov eax, dword [esp + 0x18]
movsx eax, byte [eax]
xor eax, edx
imul eax, eax, 0x5bd1e991
xor ecx, eax
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x4035cf
cmp ecx, dword [esp + 0x4c]
je 0x403643
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x74]
add edx, 4
mov dword [esp + 0xc], edx
cmp eax, 0x10
jb 0x403616
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x403608
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403698
push ecx
push esi
call fcn.0042b29e
mov edx, dword [esp + 0x14]
add esp, 8
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x50]
jb 0x403430
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
add eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0042b25b
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jb 0x403629
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40368c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403698
push ecx
push esi
call fcn.0042b29e
add esp, 8
jmp 0x403629
call fcn.00453d45
int3