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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483582
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push ebx
push esi
push edi
mov eax, dword [0x4a20b0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.default.0x420ac0
jmp dword [eax*4 + 0x420e50]
lea eax, [ebx + 0x7c]
push eax
mov eax, ebx
call fcn.0042117e
jmp case.default.0x420ac0
call fcn.0041f507
push edx
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00420440
add esp, 0xc
and dword [esp + 0x160], 0
push eax
mov eax, ebx
call fcn.0042117e
lea ecx, [esp + 0xe4]
push 0
push 1
call fcn.0040488d
jmp case.default.0x420ac0
call fcn.0041f660
push edx
push eax
lea esi, [esp + 0xb4]
call fcn.004204c3
pop ecx
pop ecx
xor esi, esi
inc esi
push eax
mov eax, ebx
mov dword [esp + 0x164], esi
call fcn.0042117e
push 0
push esi
lea ecx, [esp + 0xb4]
jmp 0x420b09
push esi
call fcn.0041f7a4
mov al, byte [ebx + 0xb4]
push ecx
shr al, 2
push ecx
and al, 1
fstp qword [esp]
push dword [ebx + 0xb8]
movzx eax, al
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.00420507
add esp, 0x14
push eax
mov eax, ebx
mov dword [esp + 0x164], 2
call fcn.0042117e
lea ecx, [esp + 0x11c]
jmp 0x420b05
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov eax, esi
call fcn.0041f075
test al, al
je 0x420be0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc8]
sub ecx, edx
push eax
call fcn.00420676
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 3
call fcn.0042117e
lea ecx, [esp + 0xc8]
jmp 0x420b05
push 0x488f6b
lea ecx, [esp + 0x5c]
call fcn.00404550
lea eax, [esp + 0x58]
push eax
mov eax, ebx
mov dword [esp + 0x164], 4
call fcn.0042117e
lea ecx, [esp + 0x58]
jmp 0x420b05
push esi
call fcn.0041f851
movzx eax, al
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00420650
pop ecx
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 5
call fcn.0042117e
lea ecx, [esp + 0x100]
jmp 0x420b05
push esi
call fcn.00420e70
jmp case.default.0x420ac0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041ffd9
mov dword [esp + 0x160], 6
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x420ca5
push 0x4898a4
lea ecx, [esp + 0x78]
call fcn.00404550
lea eax, [esp + 0x74]
push eax
mov eax, ebx
mov byte [esp + 0x164], 7
call fcn.0042117e
lea ecx, [esp + 0x74]
jmp 0x420e19
push 0x48da08
lea ecx, [esp + 0x40]
call fcn.00404550
lea eax, [esp + 0x3c]
push eax
mov edi, ebx
mov byte [esp + 0x164], 8
call fcn.004211c3
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], 6
call fcn.0040488d
push 0xffffffffffffffff
lea esi, [ebx + 0x20]
push 0
lea eax, [ebx + 0x40]
call fcn.0040bca2
push dword [esp + 0x30]
lea edi, [esp + 0x28]
lea esi, [esp + 0x18]
call fcn.00408c9a
lea esi, [esp + 0x14]
call fcn.0040ae0e
push dword [ebp + 8]
mov esi, eax
call fcn.0041ff4f
mov ecx, eax
push ebx
mov dword [esp + 0x14], ecx
call fcn.004211ed
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
jb 0x420d29
mov edx, dword [esi + 4]
jmp 0x420d2c
lea edx, [esi + 4]
lea eax, [esp + 0x138]
push eax
call fcn.00420676
pop ecx
push eax
mov edi, ebx
mov byte [esp + 0x164], 9
call fcn.004211c3
push 0
push 1
lea ecx, [esp + 0x140]
mov byte [esp + 0x168], 6
call fcn.0040488d
lea eax, [ebx + 0x60]
push eax
push dword [ebx + 4]
call fcn.00426a63
pop ecx
pop ecx
push dword [esp + 0x10]
mov ecx, ebx
call fcn.00420a7c
push dword [esp + 0x34]
lea edi, [esp + 0x28]
lea esi, [esp + 0x20]
call fcn.00408c9a
lea esi, [esp + 0x14]
call fcn.00408cc2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x420da3
cmp eax, dword [esp + 0x1c]
je 0x420da8
call fcn.00467c91
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x420dd1
push 0x48da28
push dword [ebx + 4]
call fcn.004268bc
pop ecx
pop ecx
push dword [esp + 0x10]
mov edi, ebx
call fcn.004212ee
jmp 0x420cfc
push dword [esp + 0x10]
mov edi, ebx
call fcn.004212ee
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x34]
sub eax, ecx
lea ecx, [ebx + 0x20]
call fcn.00417033
push 0x48da10
lea ecx, [esp + 0x94]
call fcn.00404550
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x164], 0xa
call fcn.004211c3
lea ecx, [esp + 0x90]
push 0
push 1
call fcn.0040488d
lea esi, [esp + 0x24]
call fcn.00408bd9
push dword [esp + 0x24]
call fcn.00467ccb
pop ecx
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4