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

Disassembly:
push 0xffffffffffffffff
push 0x46f50b
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.0041ef50
mov dword [esp + 0xb0], 1
xor ecx, ecx
mov edx, dword [esp + 0x54]
test edx, edx
je 0x420453
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 0x420436
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 0x420410
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 0x420479
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 0x42080f
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.00403ac0
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x54], 0x30
jae 0x4204e9
push 1
push 0x47d348
lea ecx, [esp + 0x4c]
call fcn.004039e0
cmp dword [esp + 0x54], 0x30
jb 0x4204d2
push 1
push 0x47d348
lea ecx, [esp + 0x4c]
call fcn.004039e0
push 1
push 0x47d348
lea ecx, [esp + 0x4c]
call fcn.004039e0
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.00403ac0
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x84], 6
jae 0x42057a
mov edi, edi
push 1
push 0x47c724
lea ecx, [esp + 0x7c]
call fcn.004039e0
cmp dword [esp + 0x84], 6
jb 0x420560
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x80]
call fcn.00403920
push 0x2d
mov edx, 0xd
lea ecx, [esp + 0x78]
call fcn.0040efc0
add esp, 4
mov edx, 0xa
push 0x2d
call fcn.0040efc0
add esp, 4
mov edx, ecx
lea ecx, [esp + 0x5c]
push 0
call fcn.00410760
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.00403150
mov byte [esp + 0xc8], 5
lea eax, [esp + 0x40]
push edi
push ebx
push eax
mov byte [esp + 0xd4], 4
call fcn.004214d0
mov edi, eax
mov byte [esp + 0xb0], 6
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x42064e
cmp dword [esp + 0x70], 0x10
jb 0x42062f
push dword [esp + 0x5c]
call fcn.0044b63d
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.00402f20
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x3c], 0x10
jb 0x420669
push dword [esp + 0x28]
call fcn.0044b63d
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.00403150
mov byte [esp + 0xc8], 7
sub esp, 8
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xd4], 4
call fcn.00421a50
mov edi, eax
mov byte [esp + 0xb0], 8
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x420707
cmp dword [esp + 0x70], 0x10
jb 0x4206e8
push dword [esp + 0x5c]
call fcn.0044b63d
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.00402f20
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x3c], 0x10
jb 0x420722
push dword [esp + 0x28]
call fcn.0044b63d
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.00402f20
mov dword [esp + 0x18], 1
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x70], 0x10
jb 0x420777
push dword [esp + 0x5c]
call fcn.0044b63d
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 0x4207aa
push dword [esp + 0x74]
call fcn.0044b63d
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 0x4207e8
push dword [esp + 0x8c]
call fcn.0044b63d
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 0x420822
push dword [esp + 0x44]
call fcn.0044b63d
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.0044b642
add esp, 0xa0
ret 0x10