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

Disassembly:
push 0xffffffffffffffff
push 0x41f9e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
cmp ebp, eax
mov dword [esp + 0x8c], ebx
je 0x4055b5
push edi
push 1
lea eax, [esp + 0x17]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x1f], 0x5b
call fcn.004058e0
mov esi, eax
mov eax, dword [0x421110]
push 1
lea ecx, [esp + 0x17]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x1f], 0x5d
call fcn.00403170
mov ecx, dword [0x421110]
cmp esi, ecx
je 0x405284
cmp eax, ecx
je 0x405284
lea edx, [eax + 1]
cmp esi, edx
je 0x405284
sub eax, esi
mov ecx, ebp
dec eax
inc esi
push eax
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00405620
mov ecx, dword [0x421110]
mov byte [esp + 0x90], 1
push ecx
push ebx
push eax
lea ecx, [esp + 0xb0]
call fcn.00402c40
mov byte [esp + 0x90], bl
push 1
lea ecx, [esp + 0x6c]
jmp 0x40559d
cmp dword [esp + 0xac], ebx
je 0x4055a2
push 1
lea edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call fcn.004058e0
mov esi, eax
mov eax, dword [0x421110]
cmp esi, eax
je 0x4055a2
push esi
lea eax, [esp + 0x2c]
push ebx
push eax
mov ecx, ebp
call fcn.00405620
mov ecx, dword [0x421110]
inc esi
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x9c], 2
call fcn.00405620
mov edi, 0x426110
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x90], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x426110
lea ecx, [esp + 0x34]
call fcn.00405970
mov esi, eax
mov edi, 0x426110
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [0x421110]
not ecx
dec ecx
push ecx
push edx
push 0x426110
lea ecx, [esp + 0x34]
call fcn.004059d0
mov ecx, dword [0x421110]
cmp esi, ecx
je 0x405585
cmp eax, ecx
je 0x405585
sub eax, esi
lea ecx, [esp + 0x28]
inc eax
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00405620
mov edi, 0x426110
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x90], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x426110
lea ecx, [esp + 0x24]
call fcn.00405970
mov esi, eax
mov edi, 0x42610c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x42610c
lea ecx, [esp + 0x24]
call fcn.004058e0
cmp eax, dword [0x421110]
jne 0x405471
mov edi, 0x426108
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x426108
lea ecx, [esp + 0x24]
call fcn.004058e0
cmp eax, dword [0x421110]
jne 0x405471
mov edi, 0x426104
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x426104
lea ecx, [esp + 0x24]
call fcn.004058e0
cmp eax, dword [0x421110]
jne 0x405471
mov edi, 0x426100
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x426100
lea ecx, [esp + 0x24]
call fcn.004058e0
cmp eax, dword [0x421110]
jne 0x405471
mov edi, 0x4260fc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x4260fc
lea ecx, [esp + 0x24]
call fcn.004058e0
cmp eax, dword [0x421110]
jne 0x405471
mov edi, 0x4260f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x4260f8
lea ecx, [esp + 0x24]
call fcn.004058e0
cmp eax, dword [0x421110]
je 0x4054b0
sub eax, esi
lea ecx, [esp + 0x78]
push eax
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00405620
mov edx, dword [0x421110]
lea ecx, [esp + 0x18]
push edx
push ebx
push eax
mov byte [esp + 0x9c], 5
call fcn.00402c40
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x94], 4
call fcn.00403400
mov edi, 0x426110
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x421110]
not ecx
dec ecx
push ecx
push eax
push 0x426110
lea ecx, [esp + 0x24]
call fcn.004059d0
mov ecx, dword [0x421110]
cmp esi, ecx
je 0x40557a
cmp eax, ecx
je 0x40557a
sub eax, esi
lea ecx, [esp + 0x58]
inc eax
push eax
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.00405620
mov edx, dword [str.____________]
lea eax, [esp + 0xa4]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x9c], 6
call fcn.00406150
add esp, 0xc
mov edx, dword [0x421110]
lea eax, [esp + 0x48]
push edx
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 7
call fcn.00405a40
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0xb8]
call fcn.004057b0
mov edx, dword [0x421110]
lea ecx, [esp + 0x58]
push edx
push ebx
push ecx
mov ecx, eax
call fcn.00402c40
push 1
lea ecx, [esp + 0x3c]
call fcn.00403400
push 1
lea ecx, [esp + 0x5c]
call fcn.00403400
push 1
lea ecx, [esp + 0x4c]
call fcn.00403400
push 1
lea ecx, [esp + 0x1c]
call fcn.00403400
mov byte [esp + 0x90], bl
push 1
lea ecx, [esp + 0x2c]
call fcn.00403400
mov eax, dword [esp + 0xa0]
add ebp, 0x10
cmp ebp, eax
jne 0x4051ff
pop edi
mov esi, dword [esp + 0x94]
mov dl, byte [esp + 0xa0]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00403400
mov eax, dword [0x421110]
lea ecx, [esp + 0xa0]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00402c40
mov edx, dword [esp + 0xb0]
push 1
lea ecx, [esp + 0xa4]
mov dword [esi + 0x10], edx
call fcn.00403400
mov ecx, dword [esp + 0x84]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret