Function at 0x414f40
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6dc
push ebx
push esi
push edi
call dword [0x472118]
mov ecx, dword [0x473f6c]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push 0x1e
push str._r_nCall_stack:_r_n____________r_n_r_n
push ecx
mov dword [esp + 0x24], ebx
call esi
mov eax, dword [0x473f6c]
push ebx
lea edx, [esp + 0x14]
push edx
push 0x2b
push str.Address___Frame_____Function_t_t_tSourceFile_r_n
push eax
mov dword [esp + 0x24], ebx
call esi
mov edx, dword [ebp + 0xcc]
xor eax, eax
push ebx
mov ecx, 0x29
lea edi, [esp + 0xe4]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc0]
mov eax, 3
mov dword [esp + 0x108], edx
mov edx, dword [0x47407c]
push edx
mov dword [esp + 0xe8], ecx
mov ecx, dword [ebp + 0xbc]
mov dword [esp + 0xf0], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x108], eax
mov eax, dword [0x474080]
push eax
mov dword [esp + 0x104], ecx
push ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [esp + 0xf4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push 0x14c
call dword [0x474084]
test eax, eax
je 0x415493
lea ecx, [ecx]
cmp dword [esp + 0xf8], ebx
je 0x415493
mov edi, dword [esp + 0xe0]
push 8
lea eax, [esp + 0x40]
push str.__0_dI64X
push eax
call fcn.0044c02b
xor eax, eax
push eax
push edi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.0044c02b
lea eax, [esp + 0xac]
add esp, 0x1c
mov dword [esp + 0x10], ebx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415070
push ebx
lea ecx, [esp + 0x14]
push ecx
sub eax, edi
push eax
mov eax, dword [0x473f6c]
lea edx, [esp + 0x9c]
push edx
push eax
call esi
mov edx, dword [0x473f6c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x464220
push edx
mov dword [esp + 0x24], ebx
call esi
mov edi, dword [esp + 0xf8]
push 8
lea eax, [esp + 0x64]
push str.__0_dI64X
push eax
call fcn.0044c02b
xor eax, eax
push eax
push edi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.0044c02b
lea eax, [esp + 0xd4]
add esp, 0x1c
mov dword [esp + 0x10], ebx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4150f0
push ebx
lea ecx, [esp + 0x14]
push ecx
sub eax, edi
push eax
mov eax, dword [0x473f6c]
lea edx, [esp + 0xc4]
push edx
push eax
call esi
mov edx, dword [0x473f6c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x464220
push edx
mov dword [esp + 0x24], ebx
call esi
mov edx, dword [esp + 0xe0]
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
mov dword [esp + 0x2a0], 0x458
mov dword [esp + 0x2f0], 0x400
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x474088]
test eax, eax
mov dword [esp + 0x10], ebx
je 0x4151fd
lea eax, [esp + 0x2e4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415181
push ebx
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x473f6c]
lea edx, [esp + 0x2f0]
push edx
push eax
call esi
mov edx, dword [0x473f6c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x46421c
push edx
mov dword [esp + 0x24], ebx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xac]
push str._I64X
push edx
call fcn.0044c02b
lea eax, [esp + 0xb4]
add esp, 0x10
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4151e8
sub eax, edx
lea edx, [esp + 0xa4]
jmp 0x415350
xor eax, eax
mov byte [esp + 0x188], bl
mov ecx, 0x40
lea edi, [esp + 0x189]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xe4]
lea edx, [esp + 0x18]
push edx
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x194]
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.00414e90
push 4
lea edx, [esp + 0x6c]
push str.__0_dI64X
push edx
call fcn.0044c02b
mov eax, dword [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xf8]
push edx
call fcn.0044b540
lea eax, [esp + 0xfc]
add esp, 0x30
mov dword [esp + 0x14], ebx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415280
push ebx
lea ecx, [esp + 0x18]
push ecx
sub eax, edi
push eax
mov eax, dword [0x473f6c]
lea edx, [esp + 0xd8]
push edx
push eax
call esi
mov edx, dword [0x473f6c]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 1
push 0x464218
push edx
mov dword [esp + 0x28], ebx
call esi
push 8
lea eax, [esp + 0x4c]
push str.__0_dI64X
push eax
call fcn.0044c02b
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.0044c02b
lea eax, [esp + 0x98]
add esp, 0x1c
mov dword [esp + 0x10], ebx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4152f4
push ebx
lea ecx, [esp + 0x14]
push ecx
sub eax, edi
push eax
mov eax, dword [0x473f6c]
lea edx, [esp + 0x88]
push edx
push eax
call esi
mov edx, dword [0x473f6c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x4623dc
push edx
mov dword [esp + 0x24], ebx
call esi
lea eax, [esp + 0x188]
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415340
sub eax, edx
lea edx, [esp + 0x188]
push ebx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x473f6c]
push edx
push eax
call esi
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xe4]
push eax
push ecx
mov dword [esp + 0x30], 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x47408c]
test eax, eax
je 0x41543d
mov eax, dword [0x473f6c]
push ebx
lea edx, [esp + 0x14]
push edx
push 2
push 0x464220
push eax
mov dword [esp + 0x24], ebx
call esi
mov edi, dword [esp + 0x30]
mov eax, edi
mov dword [esp + 0x10], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4153c7
mov edx, dword [0x473f6c]
push ebx
sub eax, ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push edx
call esi
mov ecx, dword [0x473f6c]
push ebx
lea eax, [esp + 0x14]
push eax
push 6
push str._line
push ecx
mov dword [esp + 0x24], ebx
call esi
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x70]
push 0x4641f8
push eax
call fcn.0044c02b
lea eax, [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x10], ebx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415420
push ebx
lea ecx, [esp + 0x14]
push ecx
sub eax, edi
push eax
mov eax, dword [0x473f6c]
lea edx, [esp + 0x78]
push edx
push eax
call esi
mov edx, dword [0x473f6c]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x4625dc
push edx
mov dword [esp + 0x24], ebx
call esi
mov eax, dword [0x47407c]
mov ecx, dword [0x474080]
push ebx
push eax
push ecx
push ebx
lea edx, [ebp + 8]
push edx
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push 0x14c
call dword [0x474084]
test eax, eax
jne 0x415020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret