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

Disassembly:
push 0xffffffffffffffff
push 0x418550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebp
push esi
push edi
mov esi, ecx
mov al, byte [esp + 0x78]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], ebp
mov byte [esp + 0x1c], al
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x20]
call fcn.00408a80
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
push ecx
mov ecx, esi
call fcn.00405fd0
push eax
lea edx, [esi + 0x7c]
lea eax, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x7c], 2
call fcn.00409520
push 0x41c1cc
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x88], 3
call fcn.00409650
add esp, 0x18
mov edx, dword [0x419158]
lea ecx, [esp + 0x18]
push edx
push ebp
push eax
mov byte [esp + 0x7c], 4
call fcn.00408200
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 3
call fcn.00408720
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 2
call fcn.00408720
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 1
call fcn.00408720
push 2
lea eax, [esp + 0x12]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
push 0x41c364
call fcn.00407ca0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
push 0x41c1bc
mov byte [esp + 0x9c], 5
call fcn.00407ca0
mov ecx, esi
mov byte [esp + 0x94], 1
call fcn.00401720
mov ecx, esi
call fcn.00405b90
mov eax, dword [esp + 0x80]
xor edi, edi
cmp eax, ebp
jbe 0x405669
jmp 0x40560b
xor ebp, ebp
mov ecx, dword [esp + 0x7c]
cmp eax, edi
jb 0x405630
cmp ecx, ebp
je 0x405630
lea ecx, [esp + 0x78]
call fcn.004084b0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
lea ebp, [ecx + edi]
jmp 0x405635
mov ebp, 0x419160
cmp eax, edi
jb 0x40564e
test ecx, ecx
je 0x40564e
lea ecx, [esp + 0x78]
call fcn.004084b0
mov eax, dword [esp + 0x7c]
add eax, edi
jmp 0x405653
mov eax, 0x419160
mov cl, byte [ebp]
xor cl, 0x6b
inc edi
mov byte [eax], cl
mov eax, dword [esp + 0x80]
cmp edi, eax
jb 0x405609
xor ebp, ebp
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
jne 0x405676
mov ecx, 0x419160
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00406f80
push 1
lea eax, [esp + 0x2c]
sub esp, 0x10
mov byte [esp + 0x84], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00407b80
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
push 0x41c358
mov byte [esp + 0x9c], 7
call fcn.00407ca0
mov ecx, esi
mov byte [esp + 0x94], 6
call fcn.00401720
push ebp
lea eax, [esp + 0x1c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00407b80
lea ecx, [esp + 0x6c]
push 2
push ecx
mov ecx, esi
call fcn.00401dd0
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x405717
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40570e
cmp al, 0xff
je 0x40570e
dec al
mov byte [ecx], al
jmp 0x405717
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x40573b
mov al, byte [ecx - 1]
test al, al
je 0x405731
cmp al, 0xff
je 0x405731
dec al
mov byte [ecx - 1], al
jmp 0x40573b
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
cmp ecx, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x40576b
mov al, byte [ecx - 1]
test al, al
je 0x405761
cmp al, 0xff
je 0x405761
dec al
mov byte [ecx - 1], al
jmp 0x40576b
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x1c], ebp
cmp ecx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x4057ad
mov al, byte [ecx - 1]
test al, al
je 0x4057a3
cmp al, 0xff
je 0x4057a3
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x68
ret 0x10
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x68
ret 0x10