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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9182
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5523d4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x9c], 0x20
mov esi, dword [ebp + 8]
je 0x420a24
cmp esi, 0xa
jne 0x420a24
mov esi, 5
mov eax, dword [ebx + 0xb0]
xor edi, edi
cmp esi, eax
jne 0x420a4d
cmp dword [ebx + 0x20], edi
je 0x420a4d
lea eax, [edi + 1]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], edi
je 0x420a68
mov ecx, dword [ebx + 0x94]
mov esi, eax
call fcn.0041e520
test eax, eax
jne 0x420a6e
jmp 0x42100f
mov dword [ebx + 0xb0], esi
mov ecx, dword [ebx + 0x20]
cmp ecx, edi
je 0x420aca
cmp byte [ebx + 0x30], 0
je 0x420a80
mov dword [ebx + 0x34], ecx
jmp 0x420ac7
cmp byte [ebx + 0x38], 0
je 0x420a8b
mov dword [ebx + 0x3c], ecx
jmp 0x420ac7
cmp byte [ebx + 0xb4], 0
je 0x420a99
mov dword [ebx + 0x40], ecx
jmp 0x420ac7
cmp byte [ebx + 0x44], 0
je 0x420aa4
mov dword [ebx + 0x48], ecx
jmp 0x420ac7
cmp byte [ebx + 0x4c], 0
je 0x420aaf
mov dword [ebx + 0x50], ecx
jmp 0x420ac7
cmp byte [ebx + 0x28], 0
je 0x420aba
mov dword [ebx + 0x2c], ecx
jmp 0x420ac7
cmp ecx, dword [ebx + 0x24]
je 0x420ac7
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebx + 0x20], edi
mov byte [ebx + 0x30], 0
mov byte [ebx + 0x38], 0
mov byte [ebx + 0xb4], 0
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x4c], 0
mov byte [ebx + 0x28], 0
cmp esi, 0x11
ja case.0x420aee.1
jmp dword [esi*4 + 0x421028]
push 0x540370
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
push 0x80
call fcn.004940e9
add esp, 4
cmp eax, edi
je 0x420b2a
call fcn.004404f0
mov dword [ebx + 0x20], eax
jmp 0x420f07
xor eax, eax
mov dword [ebx + 0x20], eax
jmp 0x420f07
push 0x5403d0
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
push 0x88
call fcn.004940e9
add esp, 4
cmp eax, edi
je 0x420b2a
call fcn.00441620
mov dword [ebx + 0x20], eax
jmp 0x420f07
push 0x540430
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
push 0xac
call fcn.004940e9
add esp, 4
cmp eax, edi
je 0x420b2a
mov esi, eax
call fcn.0043e5b0
mov dword [ebx + 0x20], eax
jmp 0x420f07
push 0x540490
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
push 0x80
call fcn.004940e9
add esp, 4
cmp eax, edi
je 0x420b2a
call fcn.0043f3b0
mov dword [ebx + 0x20], eax
jmp 0x420f07
push 0x5404f0
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
mov eax, dword [ebx + 0x3c]
add esp, 4
cmp eax, edi
jne 0x420c22
push 0xb8
call fcn.004940e9
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
cmp eax, edi
je 0x420c18
push eax
call fcn.00445ae0
jmp 0x420c1a
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x20], eax
cmp ecx, edi
je 0x42100f
mov eax, dword [ebx + 0x84]
mov byte [ebx + 0x38], 1
mov dword [ecx + 0xac], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x68], edi
cmp eax, edi
je 0x420c4c
mov dword [eax + 0x78], edi
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x6c], edi
cmp eax, edi
je 0x420c5c
mov dword [eax + 0x7c], edi
mov esi, dword [ebx + 0x94]
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x88], edi
lea edi, [esi + 0x48]
push edi
call dword [0x4fb3c0]
push edi
mov dword [esi + 8], 0
mov dword [esp + 0x34], 0xffffffff
call dword [0x4fb3c4]
xor edi, edi
jmp 0x420f07
push 0x5404f0
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
cmp byte [ebx + 0x9c], 0x20
je 0x420cc1
push 0x540550
mov eax, 9
jmp 0x421002
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x420ce4
push 0x290
call fcn.004940e9
add esp, 4
cmp eax, edi
je 0x420ce2
mov esi, eax
call fcn.00446530
jmp 0x420ce4
xor eax, eax
mov dword [ebx + 0x20], eax
cmp eax, edi
je 0x42100f
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x68], edi
mov dword [eax + 0x78], edi
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x6c], edi
cmp eax, edi
je 0x420d0c
mov dword [eax + 0x7c], edi
mov esi, dword [ebx + 0x94]
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x88], edi
lea edi, [esi + 0x48]
push edi
call dword [0x4fb3c0]
jmp 0x420c75
push 0x5405d0
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
cmp dword [ebx + 0x24], edi
jne 0x420d78
push 0x90
call fcn.004940e9
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 3
cmp eax, edi
je 0x420d6b
push eax
call fcn.004514c0
jmp 0x420d6d
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x80], edi
jmp 0x420f07
push 0x540630
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
cmp dword [ebx + 0x24], edi
jne 0x420dd7
push 0x90
call fcn.004940e9
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 4
cmp eax, edi
je 0x420dca
push eax
call fcn.004514c0
jmp 0x420dcc
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x80], 1
jmp 0x420f07
push 0x540690
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
mov eax, dword [ebx + 0x34]
add esp, 4
cmp eax, edi
jne 0x420e39
push 0xfc
call fcn.004940e9
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 5
cmp eax, edi
je 0x420e2f
push eax
call fcn.00446d50
jmp 0x420e31
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0x20], eax
cmp eax, edi
je 0x42100f
mov byte [ebx + 0x30], 1
jmp 0x420f07
push 0x5406f0
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
mov eax, dword [ebx + 0x48]
add esp, 4
cmp eax, edi
jne 0x420e9a
push 0x104
call fcn.004940e9
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 6
cmp eax, edi
je 0x420e90
push eax
call fcn.004481d0
jmp 0x420e92
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0x20], eax
cmp eax, edi
je 0x42100f
mov byte [ebx + 0x44], 1
jmp 0x420f07
push 0x540750
mov eax, 9
mov ecx, 0x59c290
call fcn.00403f50
mov eax, dword [ebx + 0x50]
add esp, 4
cmp eax, edi
jne 0x420ef8
push 0x199c
call fcn.004940e9
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 7
cmp eax, edi
je 0x420eee
push eax
call fcn.00442120
jmp 0x420ef0
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0x20], eax
cmp eax, edi
je 0x42100f
mov byte [ebx + 0x4c], 1
mov ecx, dword [ebx + 0x20]
cmp ecx, edi
je 0x420f51
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
movzx eax, word [ebx + 0x9a]
movzx edi, word [ebx + 0x98]
mov ecx, dword [ebx + 0x20]
push eax
lea esi, [ebx + 0x9c]
call fcn.00440c70
cmp dword [ebx + 0x18], 0
je 0x420f51
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 8]
call fcn.00440cc0
test eax, eax
jne 0x420f51
push 0x540810
jmp 0x421000
cmp dword [ebp + 0xc], 0
je 0x420fb4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x420fb4
mov ecx, dword [ebx + 0x68]
mov dword [eax + 0x78], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x6c]
mov dword [eax + 0x7c], edx
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x20]
cmp eax, 9
jbe 0x420f7d
mov eax, 6
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x20]
cmp eax, 9
jbe 0x420f8e
or eax, 0xffffffff
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x20]
cmp eax, 0x64
jbe 0x420f9f
or eax, 0xffffffff
mov dword [ecx + 0x6c], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x60]
mov dword [eax + 0x70], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x64]
mov dword [eax + 0x74], edx
mov esi, dword [ebx + 0x94]
call fcn.0041fe40
mov eax, dword [ebx + 0x94]
call fcn.0041ff80
mov ecx, dword [ebx + 0x90]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x8c]
mov esi, ebx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], ecx
call fcn.004208d0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5407b0
xor eax, eax
mov ecx, 0x59c290
call fcn.00403f50
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8