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

Disassembly:
push 0xffffffffffffffff
push 0x46f581
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x68], 0
xor ecx, ecx
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
push 0xffffffffffffffff
mov dword [esp + 0x40], 0
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
call fcn.00403ac0
mov dword [esp + 0x68], 1
xor ecx, ecx
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
test ebx, ebx
je 0x420967
lea ebp, [ecx + 0xd]
lea esi, [ecx + 0x2d]
lea esp, [esp]
cmp edx, 8
lea eax, [esp + 0x44]
cmovae eax, edi
cmp bp, word [eax + ecx*2]
jne 0x420956
cmp edx, 8
lea eax, [esp + 0x44]
cmovae eax, edi
mov word [eax + ecx*2], si
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
inc ecx
cmp ecx, ebx
jb 0x420930
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
je 0x4209aa
lea ebp, [ecx + 0xa]
lea esi, [ecx + 0x2d]
cmp edx, 8
lea eax, [esp + 0x44]
cmovae eax, edi
cmp bp, word [eax + ecx*2]
jne 0x420999
cmp edx, 8
lea eax, [esp + 0x44]
cmovae eax, edi
mov word [eax + ecx*2], si
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
inc ecx
cmp ecx, ebx
jb 0x420973
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
je 0x4209e9
lea ebp, [ecx + 0x2c]
lea esi, [ecx + 0x2d]
cmp edx, 8
lea eax, [esp + 0x44]
cmovae eax, edi
cmp bp, word [eax + ecx*2]
jne 0x4209dc
cmp edx, 8
lea eax, [esp + 0x44]
cmovae eax, edi
mov word [eax + ecx*2], si
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
inc ecx
cmp ecx, ebx
jb 0x4209b6
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
push 0
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.00410760
sub esp, 0x14
mov dword [esp + 0x54], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.00403150
mov byte [esp + 0x80], 2
lea eax, [esp + 0x3c]
push dword [esp + 0x38]
push ebp
push eax
mov byte [esp + 0x8c], 1
call fcn.004214d0
mov edi, eax
mov byte [esp + 0x68], 3
cmp esi, edi
je 0x420a75
cmp dword [esi + 0x14], 0x10
jb 0x420a5c
push dword [esi]
call fcn.0044b63d
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00402f20
mov byte [esp + 0x68], 1
cmp dword [esp + 0x38], 0x10
jb 0x420a8d
push dword [esp + 0x24]
call fcn.0044b63d
add esp, 4
sub esp, 0x18
mov dword [esp + 0x50], 0xf
mov ecx, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.00403150
mov byte [esp + 0x80], 4
sub esp, 8
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x8c], 1
call fcn.00421a50
mov edi, eax
mov byte [esp + 0x68], 5
cmp esi, edi
je 0x420b17
cmp dword [esi + 0x14], 0x10
jb 0x420afe
push dword [esi]
call fcn.0044b63d
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00402f20
mov byte [esp + 0x68], 1
cmp dword [esp + 0x38], 0x10
jb 0x420b2f
push dword [esp + 0x24]
call fcn.0044b63d
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x58], 8
jb 0x420b5c
push dword [esp + 0x44]
call fcn.0044b63d
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0044b642
add esp, 0x58
ret 0x10