Function at 0x419bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
mov esi, 0x2c
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], str._nCross_Reference_Table_n_n
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], str.Symbol
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], ebx
mov dword [esp], 0x20
call sub.msvcrt.dll_putc
sub esi, 1
jne 0x419c00
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 5
mov dword [esp + 4], 1
mov dword [esp], str.File_n
call sub.msvcrt.dll_fwrite
mov ecx, dword [0x50f480]
test ecx, ecx
je 0x419ed4
mov eax, dword [0x50f47c]
shl eax, 2
mov dword [esp], eax
call fcn.004a05f0
mov dword [esp + 4], 0x419250
mov dword [esp], 0x50f484
mov edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0044e4d0
mov eax, dword [esp + 0x2c]
sub eax, edi
sar eax, 2
cmp eax, dword [0x50f47c]
je 0x419ca3
mov dword [esp + 4], 0x188
mov dword [esp], str..._.._binutils_ld_ldcref.c
call fcn.004184a0
mov eax, dword [0x50f47c]
mov edi, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0x419750
mov dword [esp + 8], 4
mov dword [esp], edi
call sub.msvcrt.dll_qsort
mov eax, dword [0x50f47c]
lea eax, [edi + eax*4]
cmp edi, eax
mov dword [esp + 0x1c], eax
jae 0x419e62
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov eax, dword [edi + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x51483c]
mov dword [esp], eax
call fcn.004500a0
test eax, eax
je 0x419efc
cmp byte [eax + 0xc], 3
je 0x419e94
mov eax, dword [0x514794]
test eax, eax
je 0x419e6a
mov eax, dword [edi + 0xc]
mov dword [esp + 4], 0x4d401e
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea ebp, [eax + 1]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x419e37
test byte [esi + 8], 1
je 0x419d94
cmp ebp, 0x31
jg 0x419d7b
mov dword [esp + 4], ebx
add ebp, 1
mov dword [esp], 0x20
call sub.msvcrt.dll_putc
cmp ebp, 0x32
jne 0x419d63
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esp + 4], 0x4d4022
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00417aa0
mov esi, dword [esi]
test esi, esi
jne 0x419d58
mov esi, dword [edi + 0x10]
test esi, esi
je 0x419e37
test byte [esi + 8], 2
je 0x419de1
cmp ebp, 0x31
jg 0x419dc8
mov dword [esp + 4], ebx
add ebp, 1
mov dword [esp], 0x20
call sub.msvcrt.dll_putc
cmp ebp, 0x32
jne 0x419db0
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esp + 4], 0x4d4022
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00417aa0
mov esi, dword [esi]
test esi, esi
jne 0x419da5
mov esi, dword [edi + 0x10]
test esi, esi
je 0x419e37
nop
test byte [esi + 8], 3
jne 0x419e31
cmp ebp, 0x31
jg 0x419e18
nop
lea esi, [esi]
mov dword [esp + 4], ebx
add ebp, 1
mov dword [esp], 0x20
call sub.msvcrt.dll_putc
cmp ebp, 0x32
jne 0x419e00
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esp + 4], 0x4d4022
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00417aa0
mov esi, dword [esi]
test esi, esi
jne 0x419df0
test ebp, ebp
je 0x419e4f
mov dword [esp + 4], 0x1e8
mov dword [esp], str..._.._binutils_ld_ldcref.c
call fcn.004184a0
add dword [esp + 0x18], 4
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], eax
ja 0x419cd7
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [esp + 4], 0x4d401e
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea ebp, [eax + 1]
jmp 0x419d4d
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x419e4f
mov eax, dword [eax + 0x94]
test eax, eax
je 0x419d1b
test byte [eax + 0x29], 8
je 0x419d1b
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x419ec6
jmp 0x419e4f
mov eax, dword [eax]
test eax, eax
je 0x419e4f
mov edx, dword [eax + 4]
test byte [edx + 0x29], 8
jne 0x419ec0
jmp 0x419d1b
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.No_symbols_n
call sub.msvcrt.dll_fwrite
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [esp], str._P:_symbol___T_missing_from_main_hash_table_n
mov dword [esp + 4], eax
call fcn.00418450
jmp 0x419d1b