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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc0
mov esi, dword [edx + 8]
mov eax, dword [edx]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], edx
test esi, esi
mov dword [esp + 4], eax
mov dword [esp + 0x38], esi
jne 0x420311
mov edx, dword [esp + 4]
lea esi, [esp + 0xa8]
mov ecx, esi
call fcn.0042083e
lea eax, [esp + 0x3c]
mov dword [eax], 4
and dword [eax + 4], 0
and dword [eax + 8], 0
mov edi, dword [esi]
imul eax, dword [esi + 8], 0x14
add eax, edi
mov dword [esp + 0xc], eax
push 4
pop eax
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0xc]
je 0x4204d4
push 4
pop esi
mov dword [esp + 0x1c], esi
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
mov ecx, esi
mov edx, esi
call fcn.004b8ae6
mov dword [eax], edi
mov dword [esp + 0x60], esi
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp], edi
mov dword [esp + 0x14], 1
inc ecx
test ecx, ecx
je 0x420456
lea edi, [ecx - 1]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x10]
mov esi, dword [eax + ecx*4 - 4]
mov ecx, esi
push dword [esp + 0x24]
call fcn.00420987
pop ecx
test al, al
mov ecx, edi
jne 0x42037c
lea ecx, [esp + 0x1c]
mov edx, esi
call fcn.0040de97
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x54]
push dword [esi + 4]
push dword [esi]
call fcn.00418bd2
pop ecx
pop edx
test eax, eax
mov ecx, edi
je 0x42037c
mov edi, dword [eax + 0x70]
mov ebx, dword [eax + 0x68]
shl edi, 4
test edi, edi
je 0x42044d
cmp dword [ebx], 0
je 0x420407
cmp dword [esp + 0xdc], 0
je 0x420445
mov eax, dword [esp]
mov ecx, dword [esp + 0xdc]
mov edx, dword [eax]
push ebx
push dword [eax + 4]
call fcn.00420c24
pop ecx
pop edx
test al, al
je 0x420445
mov eax, dword [esp + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x54]
push ebp
push esi
call fcn.00418bd2
pop ecx
pop edx
test eax, eax
je 0x420438
cmp dword [eax + 0x70], 0
je 0x420438
add eax, 0x3c
lea ecx, [esp + 0x10]
mov edx, eax
call fcn.0040de97
lea ecx, [esp + 0x60]
mov edx, esi
push ebp
call fcn.0041d0c4
pop eax
add ebx, 0x10
add edi, 0xfffffff0
jmp 0x4203d9
mov ecx, dword [esp + 0x18]
jmp 0x42037c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
call fcn.00473538
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
call fcn.00473538
lea ebx, [edi + esi*8]
shl esi, 3
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebx
test esi, esi
je 0x4204ab
mov edx, dword [edi]
lea ebp, [edi + 8]
lea ecx, [esp + 0x3c]
push dword [edi + 4]
call fcn.0041d0c4
pop eax
add esi, 0xfffffff8
mov edi, ebp
jmp 0x42048e
mov edi, dword [esp]
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], ebx
lea esi, [edi + 0x14]
call fcn.004210f2
mov edx, dword [edi]
lea ecx, [esp + 0x3c]
push dword [edi + 4]
call fcn.0041d0c4
pop eax
mov edi, esi
jmp 0x420336
lea ecx, [esp + 0x48]
push 4
pop eax
mov dword [ecx], eax
and dword [ecx + 4], 0
and dword [ecx + 8], 0
lea ecx, [esp + 0x90]
mov ebx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
lea edi, [esp + 0x60]
mov dword [ecx], eax
and dword [ecx + 4], 0
and dword [ecx + 8], 0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
lea edx, [ebx + edx*8]
lea esi, [ecx + eax*8]
mov dword [edi], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp], edx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov dword [esp + 0xc], esi
mov dword [edi + 0xc], edx
lea ecx, [esp + 0x60]
call fcn.004209c1
test eax, eax
je 0x4205eb
mov ebx, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x78]
push dword [ebx + 4]
push dword [ebx]
call fcn.004209f0
pop ecx
pop edx
test eax, eax
je 0x42052c
mov edx, dword [esp + 4]
lea ecx, [esp + 0x10]
push ebx
call fcn.00420de0
pop eax
cmp dword [esp + 0xdc], 0
je 0x4205b7
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
shl edi, 3
mov eax, esi
test edi, edi
je 0x4205b7
mov edx, dword [eax]
mov ecx, dword [esp + 0xdc]
lea ebp, [eax + 8]
push 0x58e6d4
push dword [eax + 4]
call fcn.00420c24
pop ecx
pop edx
add edi, 0xfffffff8
test al, al
mov eax, ebp
je 0x42057f
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.00478cba
jmp 0x42052c
mov edx, dword [esp + 4]
lea esi, [esp + 0xb4]
mov ecx, esi
push ebx
call fcn.00420f1d
pop eax
lea ecx, [esp + 0x90]
mov edx, esi
call fcn.00420c44
lea ecx, [esp + 0x48]
lea edx, [esp + 0x10]
call fcn.004210a3
jmp 0x42052c
lea ecx, [esp + 0x9c]
push 4
pop eax
mov dword [ecx], eax
and dword [ecx + 4], 0
and dword [ecx + 8], 0
lea ecx, [esp + 0x54]
mov edx, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
and dword [ecx + 4], 0
and dword [ecx + 8], 0
lea ecx, [esp + 0x60]
mov ebp, ecx
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [ecx + 8], eax
mov eax, dword [esp]
mov dword [esp], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], 0
mov eax, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], eax
mov ecx, ebp
call fcn.004209c1
test eax, eax
je 0x420750
mov edx, dword [esp + 4]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [edx + 0x4c]
mov edx, dword [edx + 0x54]
push edi
push ebx
call fcn.00418bd2
pop ecx
pop edx
test eax, eax
je 0x420652
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov esi, eax
push dword [eax + 0x40]
push dword [eax + 0x3c]
call fcn.00420be9
pop ecx
pop edx
test al, al
jne 0x420652
cmp dword [esp + 0xdc], 0
je 0x4206bb
mov ecx, dword [esp + 0xdc]
mov edx, ebx
push 0x58e6d4
push edi
call fcn.00420c24
pop ecx
pop edx
test al, al
jne 0x420652
lea edi, [esp + 0x1c]
mov edx, esi
mov ecx, edi
push 1
push dword [esp + 0x34]
call fcn.00418ecc
pop eax
pop ecx
cmp dword [esi + 0x14], 0
je 0x42073d
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 8]
lea edx, [esi + 1]
cmp eax, edx
jae 0x420704
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
call fcn.00420c9e
pop eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov edx, eax
push 0x58ed0c
push esi
call fcn.00404f0a
pop ecx
pop edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, eax
call fcn.0041c24b
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x1c]
movsd qword [esi], xmm0
jmp 0x420652
lea ecx, [esp + 0x9c]
mov edx, edi
call fcn.00420c44
jmp 0x420652
lea esi, [esp + 0x1c]
lea edx, [esp + 0x9c]
mov dword [esi], 4
and dword [esi + 4], 0
and dword [esi + 8], 0
mov ecx, esi
call fcn.00420a2e
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.00420a2e
imul ecx, dword [esp + 8], 0xc
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x60]
mov eax, dword [esp + 0x58]
lea ebx, [esp + 0x10]
and dword [edi], 0
and dword [edi + 0x10], 0
add ecx, edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], ecx
mov ecx, ebx
mov edx, edi
call fcn.00420a95
cmp dword [esp + 0x10], 0
je 0x4207c3
mov ecx, esi
mov edx, ebx
call fcn.00420b75
jmp 0x4207a8
lea ecx, [esp + 0x60]
call fcn.00420b29
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [esp]
call fcn.00478cba
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
call fcn.00478cba
cmp dword [esp + 0x38], 0
jne 0x42080d
lea ecx, [esp + 0xa8]
call fcn.00420bab
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret