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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f62e
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x463140]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edi, [esp + 0x10c]
mov dword [esp + 0x260], ebx
call fcn.0040fce9
push ebx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x268], 1
push dword [esp + 0x1c]
mov ecx, edi
push 0x50
push esi
call fcn.00412762
test eax, eax
je 0x41584a
cmp dword [ebp + 0x10], ebx
je 0x4157dd
mov eax, dword [esp + 0x30]
cmp eax, 0x10
ja 0x415687
mov eax, edi
push eax
mov byte [esp + 0x264], bl
call fcn.0040fe5d
push 1
xor edi, edi
lea esi, [esp + 0x24]
call fcn.00401614
xor eax, eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00437608
mov esp, ebp
pop ebp
ret
push 0x10
add eax, 0xfffffff0
push eax
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x80]
call fcn.00412fc9
mov byte [esp + 0x260], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
push eax
push ebx
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x9c]
call fcn.00412fc9
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
sub esp, 0x1c
mov byte [esp + 0x27c], 4
lea eax, [esp + 0x90]
mov esi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00412f86
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x54], esp
push str.have_a_nice_day
mov byte [esp + 0x29c], 5
call fcn.00404c23
lea ebx, [esp + 0xe4]
mov byte [esp + 0x298], 4
call fcn.0040100b
lea eax, [esp + 0x58]
push eax
mov eax, ebx
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0x268], 6
call fcn.0040121c
test eax, eax
jne 0x415798
call fcn.00401093
push 1
xor edi, edi
lea esi, [esp + 0x5c]
call fcn.00401614
push 1
lea esi, [esp + 0x94]
call fcn.00401614
push 1
lea esi, [esp + 0x78]
call fcn.00401614
and dword [esp + 0x14], edi
xor ebx, ebx
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x264], bl
call fcn.0040fe5d
push 1
xor edi, edi
lea esi, [esp + 0x24]
call fcn.00401614
mov eax, dword [esp + 0x14]
jmp 0x415663
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
lea ecx, [esp + 0x28]
call fcn.00401579
lea ebx, [esp + 0xac]
call fcn.00401093
push 1
xor edi, edi
lea esi, [esp + 0x5c]
call fcn.00401614
push 1
lea esi, [esp + 0x94]
call fcn.00401614
push 1
lea esi, [esp + 0x78]
call fcn.00401614
xor ebx, ebx
cmp dword [esp + 0x30], ebx
je 0x415853
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea ebx, [esp + 0x3c]
lea eax, [esp + 0x20]
mov byte [esp + 0x260], 7
call fcn.004154ec
test eax, eax
je 0x41583b
cmp dword [esp + 0x50], 0x10
mov ecx, dword [esp + 0x3c]
jae 0x415819
mov ecx, ebx
mov edi, dword [esp + 0x18]
call fcn.00418da0
push 1
xor edi, edi
lea esi, [esp + 0x40]
movzx ebx, al
call fcn.00401614
mov dword [esp + 0x14], ebx
jmp 0x41576c
push 1
xor edi, edi
lea esi, [esp + 0x40]
call fcn.00401614
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x41576e
mov dword [esp + 0x14], 1
jmp 0x41576e