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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x439cd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov eax, dword [0x44d998]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0x14], esi
xor edi, edi
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
cmp byte [eax + ecx], 0xff
mov dword [esp + 0xdc], ebx
je 0x42068b
lea ebx, [ebx]
mov ecx, esi
call fcn.0041ed60
cmp eax, 1
jne 0x42057e
push 0xc
call fcn.004211f9
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
mov byte [esp + 0xdc], 1
je 0x420442
mov ecx, esi
call fcn.0041f000
mov dword [esi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov edi, esi
jmp 0x420444
xor edi, edi
mov esi, dword [esp + 0x14]
add esi, 0x120
mov eax, esi
mov byte [esp + 0xdc], bl
mov dword [esp + 0x18], edi
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x420460
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0xb8]
call fcn.004020c0
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xd8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401f30
lea eax, [esp + 0xa0]
push eax
call fcn.0041f8a0
add esp, 0x24
mov esi, eax
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0xe8], 2
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00401f30
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0xe4], 3
call fcn.0041ffa0
mov cl, byte [eax + 4]
mov eax, dword [esp + 0x40]
cmp cl, bl
mov esi, 0x10
sete byte [esp + 0x13]
cmp eax, esi
jb 0x42051e
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042c715
add esp, 4
cmp dword [esp + 0x98], esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0xdc], bl
jb 0x42054e
mov edx, dword [esp + 0x84]
push edx
call fcn.0042c715
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jne 0x4206ae
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x420661
cmp eax, 2
jne 0x420650
cmp edi, ebx
je 0x420711
lea ecx, [esi + 0x164]
lea edx, [esp + 0x20]
lea eax, [esi + 0x1a8]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
call fcn.0041f1c0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
mov byte [esp + 0xe4], 4
call fcn.00420120
mov cl, byte [eax + 4]
mov eax, dword [esp + 0x7c]
cmp cl, bl
sete byte [esp + 0x13]
cmp eax, 0x10
mov byte [esp + 0xdc], bl
jb 0x4205f4
mov edx, dword [esp + 0x68]
push edx
call fcn.0042c715
add esp, 4
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x420618
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042c715
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
je 0x420661
cmp dword [esp + 0xc8], 0x10
jb 0x42072b
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0042c715
add esp, 4
xor al, al
jmp 0x42068d
cmp eax, ebx
je 0x4206fa
cmp eax, 3
je 0x420711
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
cmp byte [ecx + edx], 0xff
jne 0x4203f0
cmp dword [esp + 0xc8], 0x10
jb 0x42068b
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0042c715
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xcc]
call fcn.0042cc6e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x4206dd
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0041fee0
mov ecx, dword [edi + 4]
push ecx
call fcn.0042c715
push edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.0042c715
add esp, 8
cmp dword [esp + 0xc8], esi
jb 0x42072b
mov edx, dword [esp + 0xb4]
push edx
call fcn.0042c715
add esp, 4
xor al, al
jmp 0x42068d
cmp dword [esp + 0xc8], 0x10
jb 0x42068b
mov edx, dword [esp + 0xb4]
push edx
jmp 0x420683
cmp dword [esp + 0xc8], 0x10
jb 0x42072b
mov eax, dword [esp + 0xb4]
push eax
call fcn.0042c715
add esp, 4
xor al, al
jmp 0x42068d