Function at 0x424150
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov dword [0x4e4268], 0x14
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp eax, 0x13
mov dword [0x4e4264], edx
mov dword [0x4e4260], eax
ja 0x424129
add esp, 0x1c
ret
mov dword [esp + 8], str.bfd_set_input_error
mov dword [esp + 4], 0x21c
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
lea esi, [esi]
lea edi, [edi]
push ebp
push edi
push esi
push ebx
sub esp, 0x14c
lea eax, [esp + 0xb0]
lea edx, [esp + 0x140]
mov dword [esp + 0x24], eax
lea esi, [esi]
mov dword [eax], 0
add eax, 0x10
cmp eax, edx
jne 0x424170
mov eax, dword [esp + 0x160]
mov dword [esp + 0x20], 0
movzx edx, byte [eax]
test dl, dl
je 0x4241ac
cmp dl, 0x25
je 0x4241e2
mov dword [esp + 4], 0x25
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x42418c
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
je 0x424435
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x164]
lea esi, [esi]
cmp dword [eax], 6
ja case.0x4241db.0
mov ebx, dword [eax]
jmp dword [ebx*4 + 0x4bb034]
movzx edx, byte [eax + 1]
cmp dl, 0x25
je 0x424310
cmp dl, 0x30
lea ebx, [eax + 1]
je 0x424320
movzx ecx, dl
movsx esi, dl
mov edi, 0xffffffff
test byte [ecx + ecx + 0x4e2820], 4
jne 0x4242f5
mov ebp, edx
jmp 0x42422b
add ebx, 1
movzx ebp, byte [ebx]
mov eax, ebp
movsx esi, al
mov dword [esp + 4], esi
mov dword [esp], str.__0I
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x424220
mov edx, ebp
cmp dl, 0x2a
je 0x424370
mov eax, esi
movzx esi, al
test byte [esi + esi + 0x4e2820], 4
je 0x424272
lea esi, [esi]
add ebx, 1
movzx eax, byte [ebx]
test byte [eax + eax + 0x4e2820], 4
mov edx, eax
jne 0x424260
cmp dl, 0x2e
je 0x424331
mov dword [esp + 0x28], edi
xor ebp, ebp
mov edi, ebx
xor esi, esi
mov ebx, edx
movsx eax, bl
mov dword [esp], 0x4bb009
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x424570
cmp bl, 0x68
je 0x4242d0
cmp bl, 0x6c
je 0x4242f0
cmp bl, 0x4c
je 0x4242e0
mov dword [esp + 8], str._bfd_doprnt_scan
mov dword [esp + 4], 0x404
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
lea esi, [esi]
mov ebp, 1
add edi, 1
movzx ebx, byte [edi]
jmp 0x424287
mov esi, 2
jmp 0x4242d5
add esi, 1
jmp 0x4242d5
cmp byte [eax + 2], 0x24
jne 0x424214
lea edi, [esi - 0x31]
movsx esi, byte [eax + 3]
lea ebx, [eax + 3]
mov ebp, esi
jmp 0x42422b
add eax, 2
jmp 0x42418c
mov edi, 0xffffffff
mov esi, 0x30
mov ebp, edx
jmp 0x42422b
movzx edx, byte [ebx + 1]
cmp dl, 0x2a
je 0x4243c2
movzx eax, dl
add ebx, 1
test byte [eax + eax + 0x4e2820], 4
je 0x42427b
add ebx, 1
movzx eax, byte [ebx]
test byte [eax + eax + 0x4e2820], 4
mov edx, eax
jne 0x424352
jmp 0x42427b
movzx edx, byte [ebx + 1]
mov ebp, dword [esp + 0x20]
lea ecx, [ebx + 1]
mov eax, ebp
cmp dl, 0x30
je 0x42439c
movsx esi, dl
movzx edx, dl
test byte [edx + edx + 0x4e2820], 4
je 0x42439c
cmp byte [ebx + 2], 0x24
je 0x4245ea
cmp eax, 8
ja 0x424b64
shl eax, 4
add dword [esp + 0x20], 1
movzx edx, byte [ecx]
mov dword [esp + eax + 0xb0], 1
mov ebx, ecx
jmp 0x424272
movzx edx, byte [ebx + 2]
mov ebp, dword [esp + 0x20]
lea ecx, [ebx + 2]
mov eax, ebp
cmp dl, 0x30
je 0x4243f0
movsx esi, dl
movzx edx, dl
test byte [edx + edx + 0x4e2820], 4
je 0x4243f0
cmp byte [ebx + 3], 0x24
jne 0x4243f0
lea eax, [esi - 0x31]
lea ecx, [ebx + 4]
cmp eax, 8
ja 0x424b2c
shl eax, 4
add dword [esp + 0x20], 1
movzx edx, byte [ecx]
mov dword [esp + eax + 0xb0], 1
mov ebx, ecx
jmp 0x42427b
mov ebx, dword [edx]
add edx, 4
mov dword [eax], ebx
add ecx, 1
add eax, 0x10
cmp ecx, ebp
jne 0x4241d0
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [0x4e425c]
test eax, eax
je 0x42482b
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str._s:
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x28], 0
add eax, 0x40
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
movzx eax, byte [eax]
test al, al
je 0x4244e8
cmp al, 0x25
je 0x424611
mov eax, dword [esp + 0x160]
mov dword [esp + 4], 0x25
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x424743
mov ecx, dword [esp + 0x160]
mov dword [esp + 4], str._.s
sub eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
add dword [esp + 0x160], eax
cmp eax, 0xffffffff
jne 0x424482
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
fld qword [edx]
add edx, 8
fstp qword [eax]
jmp 0x424427
mov esi, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov dword [eax], esi
mov dword [eax + 4], edi
jmp 0x424427
fld xword [edx]
add edx, 0xc
fstp xword [eax]
jmp 0x424427
mov dword [esp + 8], str.error_handler_internal
mov dword [esp + 4], 0x485
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
lea esi, [esi]
mov edx, ebx
mov ebx, edi
mov edi, dword [esp + 0x28]
test edi, edi
cmovs edi, dword [esp + 0x20]
sub edx, 0x41
cmp dl, 0x37
ja case.0x42458a.2
movzx edx, dl
jmp dword [edx*4 + 0x4bb050]
mov edx, 6
cmp edi, 8
ja 0x424b48
shl edi, 4
lea eax, [ebx + 1]
add dword [esp + 0x20], 1
mov dword [esp + edi + 0xb0], edx
jmp 0x42418c
test ebp, ebp
mov edx, 1
jne 0x424596
cmp byte [ebx - 1], 0x4c
mov edx, 2
je 0x424596
test esi, esi
mov edx, 1
je 0x424596
xor edx, edx
cmp esi, 1
setne dl
add edx, 2
jmp 0x424596
cmp esi, 1
sbb edx, edx
add edx, 5
jmp 0x424596
lea eax, [esi - 0x31]
lea ecx, [ebx + 3]
jmp 0x42439c
mov dword [esp + 8], str._bfd_doprnt_scan
mov dword [esp + 4], 0x44f
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov eax, dword [esp + 0x160]
movzx ebx, byte [eax + 1]
cmp bl, 0x25
je 0x424858
mov eax, dword [esp + 0x160]
cmp bl, 0x30
mov byte [esp + 0x30], 0x25
lea esi, [eax + 1]
je 0x424819
movzx eax, bl
movsx ebp, bl
mov dword [esp + 0x24], 0xffffffff
test byte [eax + eax + 0x4e2820], 4
je 0x424666
mov eax, dword [esp + 0x160]
cmp byte [eax + 2], 0x24
je 0x424a2a
lea edi, [esp + 0x31]
jmp 0x42467e
add esi, 1
movsx ebp, byte [esi]
add edi, 1
mov byte [edi - 1], bl
mov ebx, ebp
mov dword [esp + 4], ebp
mov dword [esp], str.__0I
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x424670
cmp bl, 0x2a
je 0x4247ad
mov eax, ebp
movzx ebp, al
test byte [ebp + ebp + 0x4e2820], 4
je 0x4246c8
lea esi, [esi]
add esi, 1
movzx eax, byte [esi]
add edi, 1
mov byte [edi - 1], bl
test byte [eax + eax + 0x4e2820], 4
mov ebx, eax
jne 0x4246b0
cmp bl, 0x2e
je 0x424767
mov dword [esp + 0x2c], 0
xor ebp, ebp
movsx eax, bl
mov dword [esp], 0x4bb009
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x424879
cmp bl, 0x68
je 0x424721
cmp bl, 0x6c
je 0x42473e
cmp bl, 0x4c
je 0x424737
mov dword [esp + 8], str._bfd_doprnt
mov dword [esp + 4], 0x307
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov dword [esp + 0x2c], 1
add edi, 1
add esi, 1
mov byte [edi - 1], bl
movzx ebx, byte [esi]
jmp 0x4246db
mov ebp, 2
jmp 0x424729
add ebp, 1
jmp 0x424729
mov eax, dword [esp + 0x160]
mov dword [esp + 4], 0x4bb01d
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4244dc
movzx ebx, byte [esi + 1]
lea ebp, [edi + 1]
mov byte [edi], 0x2e
cmp bl, 0x2a
je 0x424a46
movzx eax, bl
add esi, 1
mov edi, ebp
test byte [eax + eax + 0x4e2820], 4
je 0x4246d1
add esi, 1
movzx eax, byte [esi]
add edi, 1
mov byte [edi - 1], bl
test byte [eax + eax + 0x4e2820], 4
mov ebx, eax
jne 0x424790
jmp 0x4246d1
movzx ebx, byte [esi + 1]
mov ecx, dword [esp + 0x28]
lea ebp, [esi + 1]
mov eax, ecx
cmp bl, 0x30
je 0x4247d9
movsx edx, bl
movzx ebx, bl
test byte [ebx + ebx + 0x4e2820], 4
je 0x4247d9
cmp byte [esi + 2], 0x24
je 0x424abb
shl eax, 4
add dword [esp + 0x28], 1
mov ecx, dword [esp + eax + 0xb0]
mov esi, dword [esp + eax + 0xb0]
mov dword [esp], edi
mov dword [esp + 4], 0x4bb020
sar ecx, 0x1f
xor esi, ecx
mov eax, esi
mov esi, ebp
sub eax, ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
movzx ebx, byte [ebp]
add edi, eax
jmp 0x4246c8
mov dword [esp + 0x24], 0xffffffff
mov ebp, 0x30
jmp 0x424666
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 5
mov dword [esp + 4], 1
mov dword [esp], str.BFD:
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x42446e
mov eax, dword [esp + 0x20]
mov dword [esp], 0x25
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
add dword [esp + 0x160], 2
jmp 0x424482
lea eax, [esi + 1]
mov byte [edi], bl
mov byte [edi + 1], 0
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x24]
test eax, eax
cmovs eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
lea eax, [ebx - 0x41]
cmp al, 0x37
ja case.0x4248a6.2
movzx eax, al
jmp dword [eax*4 + 0x4bb130]
mov byte [edi - 1], 0x6c
mov edi, dword [esp + 0x24]
shl edi, 4
mov eax, dword [esp + edi + 0xb0]
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
add dword [esp + 0x28], 1
jmp 0x4244e3
mov eax, dword [esp + 0x2c]
test eax, eax
jne case.0x4248a6.47
cmp byte [esi - 1], 0x4c
je 0x4248ad
test ebp, ebp
je case.0x4248a6.47
cmp ebp, 1
je case.0x4248a6.47
mov byte [edi + 1], bl
mov byte [edi - 2], 0x49
mov byte [edi - 1], 0x36
mov byte [edi], 0x34
mov byte [edi + 2], 0
mov edi, dword [esp + 0x24]
shl edi, 4
mov eax, dword [esp + edi + 0xb0]
mov edx, dword [esp + edi + 0xb4]
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4248d7
mov edi, dword [esp + 0x24]
shl edi, 4
test ebp, ebp
jne 0x424bc1
lea eax, [esp + 0x30]
fld qword [esp + edi + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
fstp qword [esp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4248d7
mov edi, dword [esp + 0x24]
shl edi, 4
mov eax, dword [esp + edi + 0xb0]
test eax, eax
je 0x424b80
mov edx, dword [eax + 0x8c]
test edx, edx
je 0x42499d
test byte [edx + 0x2c], 1
je 0x424b9c
mov eax, dword [eax]
mov dword [esp + 4], 0x4bb01d
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4248d7
mov edi, dword [esp + 0x24]
shl edi, 4
mov eax, dword [esp + edi + 0xb0]
test eax, eax
je 0x424b05
mov edx, dword [eax + 0x94]
test edx, edx
je 0x42499d
mov edx, dword [edx + 4]
mov edx, dword [edx + 4]
cmp edx, 5
je 0x424ae2
cmp edx, 2
jne 0x42499d
mov edx, dword [eax + 0x8c]
test edx, edx
je 0x42499d
mov edx, dword [edx + 0x24]
test edx, edx
je 0x42499d
mov edx, dword [edx]
test edx, edx
je 0x42499d
mov dword [esp + 0xc], edx
mov eax, dword [eax]
mov dword [esp + 4], 0x4bb023
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4248d7
lea eax, [ebp - 0x31]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
movsx ebp, byte [eax + 3]
lea esi, [eax + 3]
mov ebx, ebp
jmp 0x424666
movzx edx, byte [esi + 2]
mov edi, dword [esp + 0x28]
lea ecx, [esi + 2]
mov eax, edi
cmp dl, 0x30
je 0x424a72
movsx ebx, dl
movzx edx, dl
test byte [edx + edx + 0x4e2820], 4
je 0x424a72
cmp byte [esi + 3], 0x24
je 0x424b21
shl eax, 4
mov dword [esp + 0x2c], ecx
add dword [esp + 0x28], 1
mov edx, dword [esp + eax + 0xb0]
mov ecx, dword [esp + eax + 0xb0]
mov dword [esp + 4], 0x4bb020
mov dword [esp], ebp
sar edx, 0x1f
xor ecx, edx
mov eax, ecx
sub eax, edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
mov ecx, dword [esp + 0x2c]
lea edi, [ebp + eax]
movzx ebx, byte [ecx]
mov esi, ecx
jmp 0x4246d1
lea eax, [edx - 0x31]
lea ebp, [esi + 3]
jmp 0x4247d9
mov dword [esp + 8], str._bfd_doprnt
mov dword [esp + 4], 0x396
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov edx, dword [eax + 0x8c]
mov ecx, dword [edx + 0x7c]
test ecx, ecx
je 0x42499d
test byte [eax + 0x17], 2
jne 0x42499d
mov edx, dword [edx + 0x74]
jmp 0x424a03
mov dword [esp + 8], str._bfd_doprnt
mov dword [esp + 4], 0x372
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
lea eax, [ebx - 0x31]
lea ecx, [esi + 4]
jmp 0x424a72
mov dword [esp + 8], str._bfd_doprnt_scan
mov dword [esp + 4], 0x3ed
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov dword [esp + 8], str._bfd_doprnt_scan
mov dword [esp + 4], 0x453
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov dword [esp + 8], str._bfd_doprnt_scan
mov dword [esp + 4], 0x3d4
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov dword [esp + 8], str._bfd_doprnt
mov dword [esp + 4], 0x38c
mov dword [esp], str._tmp_jenkins_jenkins_GCC_7_build_toolchain_docker_775_20180622_1529687456_src_binutils_bfd_bfd.c
call fcn.00424040
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [edx]
mov dword [esp + 4], str._s__s_
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4248d7
fld xword [esp + edi + 0xb0]
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
fstp xword [esp + 8]
call sub.msvcrt.dll_fprintf
jmp 0x4248d7