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

Disassembly:
push 0xffffffffffffffff
push 0x46f73b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, dword [esp + 0xb8]
lea eax, [esp + 0x44]
mov ebx, dword [esp + 0xbc]
mov edi, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
call fcn.0041f0e0
mov dword [esp + 0xb0], 1
xor ecx, ecx
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4205e3
mov edi, dword [esp + 0x58]
lea esi, [ecx + 0x2c]
mov ebx, dword [esp + 0x44]
lea ebp, [ecx + 0x2d]
cmp edi, 8
lea eax, [esp + 0x44]
cmovae eax, ebx
cmp si, word [eax + ecx*2]
jne 0x4205c6
cmp edi, 8
lea eax, [esp + 0x44]
cmovae eax, ebx
mov word [eax + ecx*2], bp
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x44]
inc ecx
cmp ecx, edx
jb 0x4205a0
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
test edx, edx
jne 0x420609
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esp + 0x18], 1
mov byte [esp + 0xb0], 0
jmp 0x42099f
xor eax, eax
mov dword [esp + 0x9c], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x94], ax
lea ecx, [esp + 0x94]
lea eax, [esp + 0x4c]
mov dword [esp + 0xa8], 0
push eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
call fcn.00403a60
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x54], 0x30
jae 0x420679
push 1
push 0x47d308
lea ecx, [esp + 0x4c]
call fcn.00403980
cmp dword [esp + 0x54], 0x30
jb 0x420662
push 1
push 0x47d308
lea ecx, [esp + 0x4c]
call fcn.00403980
push 1
push 0x47d308
lea ecx, [esp + 0x4c]
call fcn.00403980
xor eax, eax
mov dword [esp + 0x84], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x90], 0
lea ecx, [esp + 0x7c]
push ebp
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
call fcn.00403a60
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x84], 6
jae 0x42070a
mov edi, edi
push 1
push 0x47d30c
lea ecx, [esp + 0x7c]
call fcn.00403980
cmp dword [esp + 0x84], 6
jb 0x4206f0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x80]
call fcn.004038c0
push 0x2d
mov edx, 0xd
lea ecx, [esp + 0x78]
call fcn.0040f0e0
add esp, 4
mov edx, 0xa
push 0x2d
call fcn.0040f0e0
add esp, 4
mov edx, ecx
lea ecx, [esp + 0x5c]
push 0
call fcn.004108f0
mov byte [esp + 0xb4], 4
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x74]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004030f0
mov byte [esp + 0xc8], 5
lea eax, [esp + 0x40]
push edi
push ebx
push eax
mov byte [esp + 0xd4], 4
call fcn.00421660
mov edi, eax
mov byte [esp + 0xb0], 6
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x4207de
cmp dword [esp + 0x70], 0x10
jb 0x4207bf
push dword [esp + 0x5c]
call fcn.0044b7dc
add esp, 4
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
call fcn.00402ec0
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x3c], 0x10
jb 0x4207f9
push dword [esp + 0x28]
call fcn.0044b7dc
add esp, 4
sub esp, 0x18
mov dword [esp + 0x54], 0xf
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x50], 0
lea eax, [esp + 0x74]
mov byte [esp + 0x40], 0
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004030f0
mov byte [esp + 0xc8], 7
sub esp, 8
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xd4], 4
call fcn.00421be0
mov edi, eax
mov byte [esp + 0xb0], 8
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x420897
cmp dword [esp + 0x70], 0x10
jb 0x420878
push dword [esp + 0x5c]
call fcn.0044b7dc
add esp, 4
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
call fcn.00402ec0
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x3c], 0x10
jb 0x4208b2
push dword [esp + 0x28]
call fcn.0044b7dc
add esp, 4
lea eax, [esp + 0x5c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov byte [esi], 0
call fcn.00402ec0
mov dword [esp + 0x18], 1
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x70], 0x10
jb 0x420907
push dword [esp + 0x5c]
call fcn.0044b7dc
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x88], 8
jb 0x42093a
push dword [esp + 0x74]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
mov byte [esp + 0xb0], 1
cmp dword [esp + 0xa0], 8
jb 0x420978
push dword [esp + 0x8c]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
mov byte [esp + 0xb0], al
cmp dword [esp + 0x58], 8
jb 0x4209b2
push dword [esp + 0x44]
call fcn.0044b7dc
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0044b7e1
add esp, 0xa0
ret 0x10