joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023b0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x2c
movzx edx, byte [eax]
cmp dl, 0x22
sete cl
cmp dl, 0x27
sete al
or cl, al
mov byte [esp + 0x1f], cl
je 0x402488
movsx ebp, dl
mov dword [esp + 4], edi
add ebx, 1
mov dword [esp], ebp
lea esi, [ebx + esi - 2]
call sub.cygwin1.dll_putc
mov eax, dword [esp + 0x40]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.cygwin1.dll_fputs
cmp ebx, esi
jae 0x40245b
lea esi, [esi]
movzx eax, byte [ebx]
cmp al, 0x23
je 0x402438
mov ecx, ebx
add ebx, 1
cmp al, 0x26
jne 0x402478
cmp ebx, esi
jae 0x402454
movzx eax, byte [ebx]
cmp al, 0x23
jne 0x40240f
lea ebx, [ecx + 2]
cmp ebx, esi
jae 0x402454
movzx eax, byte [ecx + 2]
cmp al, 0x23
jne 0x40240f
lea esi, [esi]
mov eax, esi
mov dword [esp + 0xc], edi
sub eax, ebx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.cygwin1.dll_fwrite
cmp byte [esp + 0x1f], 0
je 0x40245e
add esi, 1
mov dword [esp + 4], edi
mov dword [esp], ebp
call sub.cygwin1.dll_putc
add esp, 0x2c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, esi
jb 0x402408
cmp byte [esp + 0x1f], 0
je 0x40245e
jmp 0x40245b
mov dword [esp + 4], edi
add esi, ebx
mov ebp, 0x22
mov dword [esp], 0x22
call sub.cygwin1.dll_putc
mov eax, dword [esp + 0x40]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.cygwin1.dll_fputs
cmp esi, ebx
ja 0x402408
jmp 0x40245e
Function at 0x402c50
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x42c
mov dword [esp + 4], 0x45129c
mov dword [esp], eax
call sub.cygwin1.dll_strpbrk
test eax, eax
je 0x402de0
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
lea eax, [eax + eax*2]
cmp eax, 0x3ff
ja 0x402d90
movzx eax, byte [ebx]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov edi, ecx
test al, al
je 0x402db1
movzx ebp, byte [0x4760b9]
mov edx, edi
jmp 0x402cd3
cmp al, 0x25
jne 0x402d40
mov eax, 0x3225
mov byte [edx + 2], 0x35
add edx, 3
mov word [edx - 3], ax
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x402d00
cmp al, 0x3b
je 0x402d50
jg 0x402d20
cmp al, 0x23
jne 0x402cb0
mov eax, 0x3225
add ebx, 1
mov byte [edx + 2], 0x33
add edx, 3
mov word [edx - 3], ax
movzx eax, byte [ebx]
test al, al
jne 0x402cd3
lea esi, [esi]
nop
mov byte [edx], 0
cmp edi, dword [esp + 0x1c]
je 0x402db6
mov eax, esi
test al, al
je 0x402d68
add esp, 0x42c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x3f
jne 0x402d40
mov ecx, ebp
test cl, cl
je 0x402d40
mov eax, 0x3325
mov byte [edx + 2], 0x46
add edx, 3
mov word [edx - 3], ax
jmp 0x402cc8
mov byte [edx], al
add edx, 1
jmp 0x402cc8
mov ecx, 0x3325
mov byte [edx + 2], 0x42
add edx, 3
mov word [edx - 3], cx
jmp 0x402cc8
mov dword [esp], edi
call fcn.00402b30
mov dword [esp], edi
mov ebx, eax
mov edi, ebx
call fcn.004376c0
add esp, 0x42c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, 1
mov dword [esp], eax
call fcn.00447900
mov edi, eax
movzx eax, byte [ebx]
test al, al
je 0x402dfd
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ecx
jmp 0x402ca1
mov byte [esp + 0x20], 0
mov eax, esi
test al, al
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
je 0x402de9
call sub.cygwin1.dll_strdup
add esp, 0x42c
mov edi, eax
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
ret
mov eax, esi
mov dword [esp], ebx
test al, al
jne 0x402dc3
call fcn.00402b30
add esp, 0x42c
mov edi, eax
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
ret
mov byte [edi], 0
jmp 0x402d0d
Function at 0x40a000
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x18
call sub.cygwin1.dll___getreent
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4521e0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 2
call sub.cygwin1.dll_exit
nop
Function at 0x4106a0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
test esi, esi
je 0x4106ca
mov eax, dword [edi]
mov dword [esp], eax
call fcn.0040f330
test eax, eax
jg 0x4106d8
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x45b72a
mov dword [esp], esi
call sub.cygwin1.dll__fopen64
mov ebx, eax
test eax, eax
je 0x4106ca
mov dword [esp], eax
call sub.cygwin1.dll_fileno
mov dword [esp + 4], 2
mov dword [esp], eax
mov ebp, eax
call sub.cygwin1.dll_flock
mov eax, dword [edi + 4]
test eax, eax
jne 0x410840
mov dword [esp + 8], 0
lea esi, [esp + 0x20]
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.cygwin1.dll_fseek
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], ebp
call sub.cygwin1.dll__ftruncate64
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 1
mov dword [esp], str._HSTS_1.0_Known_Hosts_database_for_GNU_Wget._n
call sub.cygwin1.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str._Edit_at_your_own_risk._n
call sub.cygwin1.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3b
mov dword [esp + 4], 1
mov dword [esp], str.__hostname__t_port__t_incl._subdomains__t_created__t_max_age__n
call sub.cygwin1.dll_fwrite
mov dword [esp + 4], esi
mov eax, dword [edi]
mov dword [esp], eax
call fcn.0040f2d0
jmp 0x4107fe
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [edx]
mov dword [esp + 4], str._s_t_d_t_d_t_lu_t_lu_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.cygwin1.dll_fprintf
test eax, eax
js 0x410820
mov dword [esp], esi
call fcn.0040f2f0
test eax, eax
jne 0x4107c0
mov dword [esp], ebx
call sub.cygwin1.dll_fclose
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Could_not_write_the_HSTS_database_correctly._n
mov dword [esp], 3
call fcn.0041d940
jmp 0x41080a
lea eax, [esp + 0x30]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.cygwin1.dll__stat64
test eax, eax
jne 0x410713
mov eax, dword [edi + 4]
cmp dword [esp + 0x68], eax
jle 0x410713
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.0040ffb0
jmp 0x410713
Function at 0x41c200
Capabilities:
Query environment variable

Disassembly:
push edi
mov edx, 0x475f20
xor eax, eax
mov ecx, 0x90
mov edi, edx
sub esp, 0x18
rep stosd dword es:[edi], eax
mov dword [esp], str.no_proxy
mov ecx, 0x101
mov edi, 0x101
mov byte [0x4760fc], 1
mov dword [0x475f20], 0xffffffff
mov dword [0x475f28], 0x14
mov dword [0x475f40], 5
mov byte [0x475f4c], 1
mov word [0x476000], cx
mov byte [0x47609f], 1
mov word [0x476010], di
call sub.cygwin1.dll_getenv
test eax, eax
je 0x41c27c
mov dword [esp], eax
call fcn.0042b4c0
mov dword [0x476020], eax
fld dword [0x45e1c0]
mov eax, 1
mov edx, 1
mov dword [0x476130], 2
mov byte [0x476012], 1
mov byte [0x47608d], 1
fstp qword [0x476040]
fld dword [0x45e194]
mov byte [0x476070], 1
mov byte [0x47609e], 1
mov dword [0x4760a8], 0x400
mov dword [0x4760ac], 0
mov dword [0x4760b4], 0xa
mov dword [0x4760b0], 0x32
mov byte [0x475fa4], 1
mov byte [0x476002], 1
mov byte [0x475fb1], 1
mov dword [0x4760c4], 1
mov dword [0x4760f1], 1
mov dword [0x476144], 2
mov dword [0x476120], 2
mov word [0x476124], ax
mov dword [0x476128], 0
mov dword [0x475f90], 0
mov dword [0x475f38], 0x14
mov byte [0x476136], 0
mov dword [0x47613c], 0
mov dword [0x476138], 0
mov word [0x476141], dx
mov dword [0x475fc0], 0
mov dword [0x475fbc], 0
mov dword [0x475fc8], 0
mov dword [0x475fcc], 0
fstp qword [0x476068]
mov dword [0x475fd0], 0x1000101
mov dword [0x475ff0], 0xffffffff
mov dword [0x475ff4], 0xffffffff
mov dword [0x47602c], 0xffffffff
mov byte [0x476030], 0
mov byte [0x47614c], 1
mov byte [0x475fd8], 0
add esp, 0x18
pop edi
ret

Function at 0x41c3e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x1c
mov eax, dword [0x475168]
test eax, eax
je 0x41c420
mov dword [esp], eax
call fcn.00447e10
mov dword [0x475164], eax
mov eax, dword [0x475160]
mov dword [esp], eax
call fcn.004376c0
mov eax, dword [0x475164]
mov dword [0x475160], 0
add esp, 0x1c
ret
mov dword [esp], str.HOME
call sub.cygwin1.dll_getenv
mov dword [0x475168], eax
test eax, eax
jne 0x41c3ec
call sub.cygwin1.dll__getuid32
mov dword [esp], eax
call sub.cygwin1.dll__getpwuid32
test eax, eax
je 0x41c415
mov eax, dword [eax + 0x18]
test eax, eax
je 0x41c415
mov dword [0x475168], eax
jmp 0x41c3ec
Function at 0x41c460
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp], str.WGETRC
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
je 0x41c49c
cmp byte [eax], 0
je 0x41c4b0
lea eax, [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042b8b0
test al, al
je 0x41c4bc
mov dword [esp], ebx
call fcn.00447e10
mov ebx, eax
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x4c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov dword [esp], str._s:_WGETRC_points_to__s__which_couldnt_be_accessed_because_of_error:__s._n
mov ebp, dword [0x475f18]
mov edi, eax
call sub.cygintl_8.dll_libintl_gettext
mov esi, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]
Function at 0x41c990
Capabilities:
Query environment variable

Disassembly:
push ebp
xor edx, edx
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x3c
lea esi, [esp + 0x18]
mov dword [esi + eax], edx
add eax, 4
cmp eax, 0x18
jb 0x41c99f
mov dword [esp], str.SYSTEM_WGETRC
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
je 0x41c9d0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0042b8b0
test al, al
jne 0x41cac0
mov dword [esp + 4], esi
mov dword [esp], 0x45d0a0
call fcn.0042b8b0
test al, al
jne 0x41cb18
call fcn.0041c460
mov ebx, eax
test eax, eax
je 0x41c9fc
cmp byte [eax], 0
jne 0x41cb08
call fcn.0041c540
xor edi, edi
mov dword [0x476158], eax
mov ebx, eax
test eax, eax
je 0x41ca51
mov dword [esp + 4], 0x45d0a0
mov dword [esp], ebx
call sub.cygwin1.dll_strcmp
mov edi, eax
test eax, eax
je 0x41ca60
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042b8b0
test al, al
jne 0x41cb68
mov eax, dword [0x476158]
xor edi, edi
mov dword [esp], eax
call fcn.004376c0
mov dword [0x476158], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call fcn.00439a30
mov dword [esp], str._s:_Warning:_Both_system_and_user_wgetrc_point_to__s._n
mov ebp, dword [0x475f18]
mov esi, eax
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x476158]
mov dword [esp], eax
call fcn.004376c0
mov eax, edi
mov dword [0x476158], 0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0041c5e0
test al, al
jne 0x41c9e8
mov dword [esp], str.Parsing_system_wgetrc_file__env_SYSTEM_WGETRC__failed.__Please_check_n_s__nor_specify_a_different_file_using___config._n
mov edi, 2
call sub.cygintl_8.dll_libintl_gettext
mov esi, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x41ca51
mov dword [0x476158], eax
jmp 0x41ca0e
mov dword [esp + 4], esi
mov dword [esp], 0x45d0a0
call fcn.0041c5e0
test al, al
jne 0x41c9e8
mov dword [esp], str.Parsing_system_wgetrc_file_failed.__Please_check_n_s__nor_specify_a_different_file_using___config._n
mov edi, 2
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 8], 0x45d0a0
mov dword [esp + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x41ca51
mov eax, dword [0x476158]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0041c5e0
mov edi, eax
mov eax, dword [0x476158]
xor edi, 1
mov dword [esp], eax
call fcn.004376c0
mov eax, edi
mov dword [0x476158], 0
add esp, 0x3c
movzx edi, al
pop ebx
pop esi
add edi, edi
mov eax, edi
pop edi
pop ebp
ret
Function at 0x41cbb0
Capabilities:
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov dword [esp + 8], str.___s
mov dword [esp + 4], 0x1d
mov dword [esp + 0xc], eax
lea eax, [esp + 0x13]
mov dword [esp], eax
call sub.cygwin1.dll_snprintf
cmp eax, 0x1d
ja 0x41cc39
mov ecx, 0x45cd18
mov edi, 0xa6
xor ebp, ebp
mov eax, 0xa6
jmp 0x41cc1e
je 0x41cc48
lea ebp, [ebx + 1]
cmp edi, ebp
jl 0x41cc39
lea eax, [edi + ebp]
mov ebx, eax
mov ecx, eax
sar ebx, 1
and ecx, 0xfffffffe
add ecx, ebx
mov ecx, dword [ecx*4 + 0x45d9c0]
mov dword [esp + 4], ecx
sar eax, 1
mov dword [esp], esi
mov ebx, eax
call fcn.00432fc0
test eax, eax
jns 0x41cc00
lea edi, [ebx - 1]
cmp edi, ebp
jge 0x41cc09
mov dword [esp], 2
call sub.cygwin1.dll_exit
lea esi, [esi]
lea eax, [ebx + ebx*2]
lea eax, [eax*4 + 0x45d9c0]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
lea edx, [esp + 0x13]
mov dword [esp], edx
call dword [eax + 8]
test al, al
je 0x41cc39
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x41cc80
Capabilities:
Terminate process

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
lea eax, [esp + 0x1c]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
mov dword [esp], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0041ac20
test eax, eax
jne 0x41cced
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp eax, 0xa6
ja 0x41cd30
lea eax, [eax + eax*2]
mov dword [esp + 4], ebx
lea eax, [eax*4 + 0x45d9c0]
mov dword [esp], esi
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
call dword [eax + 8]
test al, al
je 0x41cd30
mov dword [esp], esi
call fcn.004376c0
mov dword [esp + 0x30], ebx
add esp, 0x20
pop ebx
pop esi
pop edi
jmp fcn.004376c0
mov dword [esp], ebx
call fcn.00439a30
mov dword [esp], str._s:_Invalid___execute_command__s_n
mov edi, dword [0x475f18]
mov esi, eax
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
lea esi, [esi]
nop
mov dword [esp], 2
call sub.cygwin1.dll_exit
lea esi, [esi]
Function at 0x41dcc0
Capabilities:
Terminate process

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
test ebx, ebx
je 0x41dd40
cmp byte [ebx], 0x2d
je 0x41dd20
test al, al
mov edx, 0x45e242
mov eax, 0x45e240
mov dword [esp], ebx
cmove eax, edx
mov dword [esp + 4], eax
call sub.cygwin1.dll__fopen64
mov dword [0x475ef0], eax
test eax, eax
je 0x41dd6f
mov dword [0x475ef8], eax
mov dword [esp], 0
call sub.cygwin1.dll_isatty
mov dword [0x475ee8], eax
add esp, 0x20
pop ebx
pop esi
pop edi
ret
cmp byte [ebx + 1], 0
jne 0x41dcd7
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 8]
mov dword [0x475ef4], eax
mov dword [0x475ef8], eax
jmp 0x41dd00
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov dword [0x475ef4], eax
mov dword [0x475ef8], eax
call sub.cygwin1.dll_fileno
mov dword [esp], eax
call sub.cygwin1.dll_isatty
test eax, eax
je 0x41dd00
mov byte [0x475ee1], 1
jmp 0x41dd00
call sub.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov edi, dword [0x475f18]
mov esi, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], str._s:__s:__s_n
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]
lea esi, [esi]
Function at 0x41e570
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x490
lea eax, [esp + 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_pipe
cmp eax, 0xffffffff
je 0x41e683
lea esi, [esp + 0x44]
mov dword [esp], esi
call fcn.00437a10
mov ebx, eax
test eax, eax
jne 0x41e76a
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 1
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00437940
mov ebx, eax
test eax, eax
jne 0x41e738
mov eax, dword [0x475fe8]
mov edx, dword [0x479444]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp], eax
mov dword [esp + 0x3c], 0x4761a0
mov dword [esp + 0x40], 0
call fcn.00437a40
mov ebx, eax
test eax, eax
jne 0x41e706
mov eax, dword [esp + 0x34]
lea esi, [esp + 0x90]
mov dword [esp], eax
call sub.cygwin1.dll_close
mov eax, dword [esp + 0x30]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x3ff
mov dword [esp], eax
call sub.cygwin1.dll_read
mov ebx, eax
test eax, eax
jle 0x41e6b1
mov byte [esp + eax + 0x90], 0
mov dword [esp], esi
mov dword [esp + 4], 0x45e5f9
call sub.cygwin1.dll_strpbrk
mov dword [esp], esi
mov edx, eax
sub edx, esi
test eax, eax
cmovne ebx, edx
mov dword [esp + 4], ebx
call fcn.00447e80
mov dword [edi], eax
add esp, 0x490
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.Cannot_create_pipe_n
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
call sub.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov dword [esp], str.Error_reading_response_from_command___s__s_:__s_n
mov edi, dword [0x475fe8]
mov esi, eax
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x4761a0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov esi, dword [0x475fe8]
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str.Error_spawning__s:__d_n
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov dword [esp], str.Error_setting_spawn_file_actions_for_use_askpass:__d_n
call sub.cygintl_8.dll_libintl_gettext
mov esi, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov dword [esp], str.Error_initializing_spawn_file_actions_for_use_askpass:__d_n
jmp 0x41e73f
Function at 0x423b60
Capabilities:
Query environment variable

Disassembly:
cmp byte [0x476011], 0
je 0x423c40
push ebx
mov ebx, eax
sub esp, 0x18
mov eax, dword [0x476020]
mov edx, dword [ebx + 8]
test eax, eax
je 0x423b93
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040fde0
test al, al
jne 0x423c10
mov eax, dword [ebx + 4]
cmp eax, 2
je 0x423bf0
ja 0x423bc0
test eax, eax
je 0x423c20
mov ebx, dword [0x47601c]
test ebx, ebx
jne 0x423bcf
mov dword [esp], str.https_proxy
call sub.cygwin1.dll_getenv
mov ebx, eax
jmp 0x423c08
cmp eax, 3
jne 0x423c10
mov ebx, dword [0x476018]
test ebx, ebx
je 0x423c48
cmp byte [ebx], 0
je 0x423c10
mov dword [esp], ebx
call fcn.00426bc0
test eax, eax
jne 0x423c12
mov dword [esp], ebx
call sub.cygwin1.dll_strdup
add esp, 0x18
pop ebx
ret
mov ebx, dword [0x476018]
test ebx, ebx
jne 0x423bcf
mov dword [esp], str.ftp_proxy
call sub.cygwin1.dll_getenv
mov ebx, eax
test ebx, ebx
jne 0x423bcf
lea esi, [esi]
xor eax, eax
add esp, 0x18
pop ebx
ret
mov ebx, dword [0x476014]
test ebx, ebx
jne 0x423bcf
mov dword [esp], str.http_proxy
call sub.cygwin1.dll_getenv
mov ebx, eax
jmp 0x423c08
xor eax, eax
ret
mov dword [esp], str.ftps_proxy
call sub.cygwin1.dll_getenv
mov ebx, eax
jmp 0x423c08

Function at 0x423c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x2c
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
test edx, edx
je 0x423cc9
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, edi
mov dword [esp + 0x1c], edx
cdq
cmp edi, dword [esp + 0x18]
mov ecx, edx
sbb ecx, dword [esp + 0x1c]
jl 0x423d60
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
mov edx, ecx
or edx, eax
je 0x423cc9
mov ecx, dword [esp + 0x44]
mov edx, 1
mov dword [ecx], 0
mov dword [ecx + 4], 0
sub edi, eax
je 0x423d2d
add ebp, eax
test ebx, ebx
je 0x423ce5
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], ebp
call sub.cygwin1.dll_fwrite
test esi, esi
je 0x423d01
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], ebp
call sub.cygwin1.dll_fwrite
mov eax, dword [esp + 0x48]
test eax, eax
je 0x423d15
mov eax, edi
mov edi, dword [esp + 0x48]
cdq
add dword [edi], eax
adc dword [edi + 4], edx
test ebx, ebx
je 0x423d40
mov dword [esp], ebx
call sub.cygwin1.dll_fflush
test esi, esi
jne 0x423d88
test byte [ebx + 0xc], 0x40
jne 0x423d96
xor edx, edx
add esp, 0x2c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x423d2b
mov dword [esp], esi
call sub.cygwin1.dll_fflush
test byte [esi + 0xc], 0x40
je 0x423d2b
mov edx, 0xfffffffd
jmp 0x423d2d
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
sub ecx, edi
sbb ebx, edx
mov dword [eax], ecx
mov edx, 1
mov dword [eax + 4], ebx
add esp, 0x2c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call sub.cygwin1.dll_fflush
test byte [ebx + 0xc], 0x40
je 0x423d4c
mov edx, 0xfffffffe
jmp 0x423d2d