Function at 0x4720ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x20
call fcn.0046fde0
mov dword [esp + 4], 0x475482
mov dword [esp], 2
call sub.libintl_8.dll_libintl_setlocale
mov dword [esp + 4], str._mingw_share_locale
mov dword [esp], str.binutils
call sub.libintl_8.dll_libintl_bindtextdomain
mov dword [esp], str.binutils
call sub.libintl_8.dll_libintl_textdomain
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [0x4a9564], eax
mov dword [esp], eax
call fcn.0045fe30
lea eax, [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004602b0
call fcn.00409cd0
call fcn.00402138
nop
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x473000
mov dword [esp + 8], str.ABHhVvdfotx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00460590
cmp eax, 0xffffffff
je 0x472256
sub eax, 0x3f
cmp eax, 0x8b
ja case.0x47215d.64
jmp dword [eax*4 + 0x4754f0]
mov ebx, dword [0x4a9284]
mov al, byte [ebx]
cmp al, 0x53
je case.0x47215d.65
jle 0x4721a4
cmp al, 0x62
je case.0x47215d.66
cmp al, 0x73
je case.0x47215d.65
mov dword [esp], str.invalid_argument_to___format:__s
call sub.libintl_8.dll_libintl_gettext
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040211c
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov edx, 1
call fcn.00401670
cmp al, 0x42
jne 0x47217a
mov dword [0x473080], 1
jmp case.0x47215d.64
mov dword [0x473080], 0
jmp case.0x47215d.64
mov eax, dword [0x4a9284]
mov dword [esp], eax
call sub.msvcrt.dll_atol
cmp eax, 0xa
jne 0x4721fb
lea esi, [esi]
mov dword [0x4a506c], 0
jmp case.0x47215d.64
mov dword [0x4a506c], 2
jmp case.0x47215d.64
cmp eax, 0x10
je case.0x47215d.120
cmp eax, 8
jne 0x472244
lea esi, [esi]
mov dword [0x4a506c], 1
jmp case.0x47215d.64
mov eax, dword [0x4a9284]
mov dword [0x4a5044], eax
jmp case.0x47215d.64
mov dword [0x4a5068], 1
jmp case.0x47215d.64
mov dword [0x4a5060], 1
jmp case.0x47215d.64
mov ebx, dword [0x4a9284]
mov dword [esp], str.Invalid_radix:__s_n
jmp 0x472181
cmp dword [0x4a5068], 0
jne 0x4722c0
cmp dword [0x4a5064], 0
jne 0x4723b2
mov eax, dword [0x4740e8]
cmp eax, dword [ebp + 8]
je 0x4722b4
jge 0x472296
lea edx, [eax + 1]
mov dword [0x4740e8], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4]
call fcn.00401e08
mov eax, dword [0x4740e8]
cmp eax, dword [ebp + 8]
jl 0x472278
cmp dword [0x4a5060], 0
je 0x4722a8
cmp dword [0x473080], 0
jne 0x4722ce
mov eax, dword [0x4a5048]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, str.a.out
call fcn.00401e08
jmp 0x472296
mov dword [esp], 0x475434
call fcn.00402ddc
jmp 0x47225f
mov edx, dword [0x4a504c]
mov esi, dword [0x4a5050]
add esi, edx
add esi, dword [0x4a5054]
mov eax, 7
call fcn.004017d0
mov ebx, dword [sym.imp.msvcrt.dll__iob]
dec dword [ebx + 0x24]
js 0x47239a
mov eax, dword [ebx + 0x20]
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov byte [eax], 9
mov edx, dword [0x4a5050]
mov eax, 7
call fcn.004017d0
dec dword [ebx + 0x24]
js 0x472385
mov eax, dword [ebx + 0x20]
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov byte [eax], 9
mov edx, dword [0x4a5054]
mov eax, 7
call fcn.004017d0
mov eax, str._t_7lu_t_7lx_t
cmp dword [0x4a506c], 1
je 0x47237e
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.libintl_8.dll___printf__
add ebx, 0x20
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._TOTALS__n
call sub.msvcrt.dll_fwrite
jmp 0x4722a8
mov eax, str._t_7lo_t_7lx_t
jmp 0x472346
lea eax, [ebx + 0x20]
mov dword [esp + 4], eax
mov dword [esp], 9
call fcn.00471e0c
jmp 0x472328
lea eax, [ebx + 0x20]
mov dword [esp + 4], eax
mov dword [esp], 9
call fcn.00471e0c
jmp 0x472307
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
xor edx, edx
call fcn.00401670
nop
nop
nop