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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov edi, ecx
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x38], edi
mov esi, dword [edi]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [esi + 0xc]
push eax
call fcn.0040e2c0
push esi
lea ecx, [esp + 0x40]
call fcn.0040e430
lea eax, [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
add edi, 0x10
lea eax, [esp + 0x2c]
cmp edi, eax
je case.default.0x42187b
movzx eax, byte [edi + 0xc]
jmp dword [eax*4 + 0x421a7c]
movzx eax, byte [edi + 8]
movzx eax, byte [eax + 0x421a90]
jmp dword [eax*4 + 0x421a8c]
mov byte [edi + 8], 0
lea eax, [esp + 0x2c]
mov byte [edi + 0xc], 0
push eax
mov ecx, edi
call fcn.00417f50
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x20], eax
movzx eax, byte [esp + 0x38]
jmp dword [eax*4 + 0x421a98]
lea ecx, [esp + 0x2c]
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + 0x421aac]
jmp dword [eax*4 + 0x421aa8]
mov byte [ecx + 8], 0
mov esi, dword [edx]
sub esp, 0x14
mov ecx, esi
push esp
call fcn.004194b0
push esi
lea ecx, [esp + 0x58]
call fcn.0040e430
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x14]
mov cl, byte [esp + 0x50]
cmp eax, dword [esp + 0x54]
jne case.default.0x421913
mov eax, dword [esi]
cmp eax, dword [esp + 0x40]
jne case.default.0x421913
mov al, byte [edi + 0xc]
cmp al, cl
jne case.default.0x421913
movzx eax, al
jmp dword [eax*4 + 0x421ab4]
mov eax, dword [edi]
lea edx, [esp + 0x44]
cmp eax, dword [edx]
jne case.default.0x42192f
mov al, byte [edi + 8]
cmp al, byte [edx + 8]
jne case.default.0x42192f
movzx eax, al
jmp dword [eax*4 + 0x421ac4]
mov eax, dword [edi + 4]
cmp eax, dword [edx + 4]
sete al
test al, al
je case.default.0x42192f
mov al, 1
jmp 0x421956
xor al, al
jmp 0x421956
mov eax, dword [edi]
lea edx, [esp + 0x44]
cmp eax, dword [edx]
sete al
test al, al
je case.default.0x421913
xor al, al
jmp 0x421960
mov al, 1
test al, al
je 0x421a45
push esi
lea ecx, [esp + 0x5c]
call fcn.0040e2c0
mov eax, dword [esi + 0x14]
mov ecx, esi
mov dword [esp + 0x6c], eax
call fcn.00413100
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
cmp eax, dword [ecx + 0xc]
jne 0x4219e3
lea eax, [ecx + 0x10]
mov cl, byte [esp + 0x68]
cmp cl, byte [eax + 0xc]
jne 0x4219e3
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x5c]
movzx eax, cl
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], edx
call fcn.00405680
add esp, 8
test al, al
je 0x4219e3
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x58]
mov esi, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
call fcn.00412a60
mov ecx, dword [eax + 4]
cmp esi, ecx
cmovae esi, ecx
sub ecx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
jmp 0x4219f5
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x5c]
call fcn.00412a60
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x68]
jmp dword [eax*4 + 0x421ae0]
lea edx, [esp + 0x5c]
movzx eax, byte [edx + 8]
movzx eax, byte [eax + 0x421af4]
jmp dword [eax*4 + 0x421af0]
mov byte [edx + 8], 0
mov eax, dword [esp + 0x78]
cmp ecx, eax
jae 0x421a35
sub eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
add dword [eax + 4], ecx
jmp 0x4218f4
mov edx, dword [esp + 0x24]
add dword [edx + 4], eax
sub eax, ecx
mov cl, byte [esp + 0x50]
mov dword [edx + 8], eax
movzx eax, cl
jmp dword [eax*4 + 0x421afc]
lea ecx, [esp + 0x44]
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + 0x421b10]
jmp dword [eax*4 + 0x421b0c]
mov byte [ecx + 8], 0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call fcn.00489fe1
add esp, 0x6c
ret 4