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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov edi, ecx
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x3c], edi
mov esi, dword [edi]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 0x38]
mov dword [ecx], eax
add ecx, 4
lea eax, [esi + 0x3c]
push eax
mov byte [ecx + 0xc], 0
call fcn.00417de0
push esi
lea ecx, [esp + 0x68]
call fcn.0040e3b0
lea eax, [edi + 0xc]
mov dword [esp + 0x2c], eax
lea esi, [edi + 0x10]
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x30], esi
cmp esi, eax
je case.default.0x4215ed
mov ecx, esi
call fcn.00418190
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.00417de0
mov eax, dword [esp + 0x64]
mov dword [edi + 0x20], eax
movzx eax, byte [esp + 0x60]
movzx eax, byte [eax + 0x4217c0]
jmp dword [eax*4 + 0x4217b8]
lea ecx, [esp + 0x54]
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + 0x4217d0]
jmp dword [eax*4 + 0x4217cc]
mov esi, dword [edi]
sub esp, 0x14
mov ecx, esi
push esp
call fcn.00419440
push esi
lea ecx, [esp + 0x50]
call fcn.0040e3b0
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
cmp eax, dword [esp + 0x4c]
jne 0x421673
mov eax, dword [esi]
cmp eax, dword [esp + 0x38]
jne 0x421673
mov ecx, dword [esp + 0x30]
mov al, byte [ecx + 0xc]
cmp al, byte [esp + 0x48]
jne 0x421673
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
movzx eax, al
push ecx
push eax
call fcn.00405550
add esp, 8
test al, al
je 0x421673
mov al, 1
jmp 0x421675
xor al, al
test al, al
jne 0x421775
mov eax, dword [esi]
lea ecx, [esp + 0x6c]
push dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov byte [esp + 0x7c], 0
call fcn.00417de0
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], eax
movzx eax, byte [esi + 0x10]
push ecx
push eax
mov dword [esp + 0x3c], esi
call fcn.00405700
mov ecx, dword [esp + 0x84]
add esp, 8
mov eax, dword [esp + 0x68]
cmp eax, dword [ecx + 0x38]
jne 0x421718
lea eax, [ecx + 0x3c]
mov cl, byte [esp + 0x78]
cmp cl, byte [eax + 0xc]
jne 0x421718
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x6c]
movzx eax, cl
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], edx
call fcn.00405550
add esp, 8
test al, al
je 0x421718
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x68]
mov esi, dword [eax + 0x4c]
lea eax, [esp + 8]
push eax
call fcn.004129e0
mov ecx, dword [eax + 4]
cmp esi, ecx
cmovae esi, ecx
sub ecx, esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
jmp 0x42172a
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x6c]
call fcn.004129e0
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x78]
movzx eax, byte [eax + 0x4217e0]
jmp dword [eax*4 + 0x4217d8]
lea edx, [esp + 0x6c]
movzx eax, byte [edx + 8]
movzx eax, byte [eax + 0x4217f0]
jmp dword [eax*4 + 0x4217ec]
cmp ecx, edi
jae 0x421769
mov eax, dword [esp + 0x28]
sub edi, ecx
add dword [eax + 4], ecx
jmp 0x421630
mov edx, dword [esp + 0x28]
add dword [edx + 4], edi
sub edi, ecx
mov dword [edx + 8], edi
movzx eax, byte [esp + 0x48]
movzx eax, byte [eax + 0x421800]
jmp dword [eax*4 + 0x4217f8]
lea ecx, [esp + 0x3c]
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + 0x421810]
jmp dword [eax*4 + 0x42180c]
mov ecx, dword [esp + 0x80]
pop edi
pop esi
xor ecx, esp
call fcn.00489fe1
add esp, 0x7c
ret 4