joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb9e2e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x542000]
push edi
jmp 0xb9e2fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb9e301
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e2f0
mov eax, 1
add ebx, ebx
jne 0xb9e313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb9e324
jne 0xb9e343
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e343
dec eax
add ebx, ebx
jne 0xb9e330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb9e308
add ebx, ebx
jne 0xb9e33f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb9e395
xor ecx, ecx
sub eax, 3
jb 0xb9e35b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb9e3ca
sar eax, 1
mov ebp, eax
jmp 0xb9e366
add ebx, ebx
jne 0xb9e366
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e334
inc ecx
add ebx, ebx
jne 0xb9e374
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9e334
add ebx, ebx
jne 0xb9e381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb9e376
jne 0xb9e392
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb9e376
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb9e3b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb9e3a6
jmp 0xb9e2f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb9e3b4
add edi, ecx
jmp 0xb9e2f6
pop esi
mov edi, esi
mov ecx, 0x1a720
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb9e3d2
cmp byte [edi], 0x5e
jne 0xb9e3d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xb9e3d7
lea edi, [esi + 0x780000]
mov eax, dword [edi]
or eax, eax
je 0xb9e44f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7a8de8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7a8e24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb9e404
mov ecx, edi
jns 0xb9e433
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7a8e2c]
or eax, eax
je 0xb9e449
mov dword [ebx], eax
add ebx, 4
jmp 0xb9e421
call dword [esi + 0x7a8e28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xb9e480
cmp al, 0xef
ja 0xb9e473
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xb9e455
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xb9e462
mov ebp, dword [esi + 0x7a8e30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xb9e4b4
sub esp, 0xffffff80
jmp 0x696bd2
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x465030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x467b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x467b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x467b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x467b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x467b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x467b74], eax
mov eax, dword [0x467b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x467b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x467b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x467b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x467b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x467b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x465030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x864c3c]
push ebx
mov ebx, dword [0x864960]
push esi
mov esi, dword [0x465f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push 0x463af0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x864c3c]
mov dword [0x467d0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x864c3c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x408cb0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x40c
mov eax, dword [0x48a07c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x496e94]
push ebx
mov ebx, dword [0x496bbc]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x408cfc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x496e94]
push esi
mov esi, dword [0x48ae60]
cmp eax, 0x930
jne 0x408d17
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x496e94]
mov dword [0x496bb8], esi
pop esi
cmp eax, 0x114e
jne 0x408d3e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x496e94]
cmp eax, 0x2f
jne 0x408d5d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push edi
push ebx
call fcn.00408b70
mov ecx, dword [esp + 0x418]
add esp, 8
pop edi
pop ebx
xor ecx, esp
call fcn.0040160d
add esp, 0x40c
ret
Function at 0x4239f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x423a05
pop dword [ebp - 0x4c]
mov eax, 0xf9596824
sub eax, 0xf9172e1f
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3a06d
push 0
mov eax, 0x7bb0234d
sub eax, 0x7b6ca31d
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x456b
mov esi, eax
mov edx, 0xcf2d36c7
sub edx, 0xcee870c7
add edx, dword [ebp - 0x4c]
mov edi, 0x76840669
sub edi, 0x4a2881fe
xor dword [ebp - 8], esi
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0xc17b32fb
sub ebx, edi
sub dword [ebp - 0x3c], ecx
mov dword [esi], ebx
sub dword [ebp - 0x48], edi
add esi, 4
add edx, 4
loop 0x423a5e
add eax, 0x3f5fdb92
sub eax, 0x3f5ed313
xor ebx, ebx
add ebx, eax
add eax, 0x5c690ac
add eax, 0xfa396f59
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4281f2
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x436de3
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43a908
mov dword [esi + 4], 0x43a8f4
mov dword [esi + 8], 0x438e70
mov dword [esi + 0xc], 0x43a8d8
mov dword [esi + 0x10], 0x43a8c4
mov dword [esi + 0x14], 0x43a8b4
mov dword [esi + 0x18], 0x438e60
mov dword [esi + 0x1c], 0x438e50
mov dword [esi + 0x20], 0x43a8ac
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.004028e9
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004028e9
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
or dword [esi + 0x9c], 0xffffffff
mov byte [ebp - 4], 7
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], bl
mov byte [esi + 0xa6], bl
mov byte [esi + 0xa7], bl
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
mov dword [esi + 0xac], ebx
mov dword [esi], 0x43a880
mov dword [esi + 4], 0x43a86c
mov dword [esi + 8], 0x43a854
mov dword [esi + 0xc], 0x43a838
mov dword [esi + 0x10], 0x43a824
mov dword [esi + 0x14], 0x43a814
mov dword [esi + 0x18], 0x43a804
mov dword [esi + 0x1c], 0x43a7f4
mov dword [esi + 0x20], 0x43a7ec
call fcn.0040d4f9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40cdf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, str._s:__s_n
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov eax, dword [str.flex]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edx, dword [0x4490a0]
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call sub.msys_intl_8.dll_libintl_fprintf
mov dword [ebp + 8], 1
leave
jmp fcn.0040a0a0

Function at 0x40f200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov ebx, dword [ebp + 8]
jmp 0x40f21f
mov ecx, dword [0x44a258]
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x40f269
mov ebx, eax
mov edx, dword [0x44a208]
mov eax, dword [edx + ebx*4]
cmp eax, 1
je 0x40f269
cmp eax, 2
jne 0x40f26d
mov dword [edx + ebx*4], 1
mov eax, dword [0x449768]
cmp dword [eax + ebx*4], 0x101
jne 0x40f269
mov edx, dword [0x449fd8]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x40f210
mov dword [esp], eax
call fcn.0040f200
mov ecx, dword [0x44a258]
mov eax, dword [ecx + ebx*4]
test eax, eax
jne 0x40f21d
pop eax
pop ebx
pop ebp
ret
mov dword [esp], str.bad_state_type_in_mark_beginning_as_normal__
call sub.msys_intl_8.dll_libintl_gettext
mov dword [ebp + 8], eax
pop eax
pop ebx
pop ebp
jmp fcn.0040cdf0
Function at 0x418ab0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ecx, 0x4301c0
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp + 4], ecx
mov edx, dword [0x4490a0]
mov dword [esp + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call sub.msys_intl_8.dll_libintl_fprintf
mov dword [esp], 2
call sub.msys_1.0.dll_exit
lea esi, [esi]
lea edi, [edi]
push ebp
mov eax, dword [0x41f0c4]
mov ebp, esp
pop ebp
ret
Function at 0x41c9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov edx, 1
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call sub.msys_1.0.dll_fwrite
cmp eax, ebx
mov edx, 0xffffffff
jne 0x41c9ee
add dword [esi + 4], eax
mov edx, eax
mov ebx, dword [ebp - 8]
mov eax, edx
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41ca00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xchg dh, dl
ror edx, 0x10
xchg dh, dl
mov dword [ebp - 8], edx
mov eax, dword [ebx]
mov edx, 4
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 8]
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msys_1.0.dll_fwrite
dec eax
mov edx, 0xffffffff
jne 0x41ca4b
add dword [ebx + 4], 4
mov edx, 4
add esp, 0x14
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x41ca60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
movzx edx, word [ebp + 0xc]
xchg dh, dl
mov word [ebp - 6], dx
mov eax, dword [ebx]
mov edx, 2
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 6]
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msys_1.0.dll_fwrite
dec eax
mov edx, 0xffffffff
jne 0x41caa8
add dword [ebx + 4], 2
mov edx, 2
add esp, 0x14
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x41cab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push ebx
sub esp, 0x14
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov byte [ebp - 5], dl
mov eax, dword [ebx]
mov edx, 1
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [ebp - 5]
mov dword [esp], eax
call sub.msys_1.0.dll_fwrite
dec eax
mov edx, 0xffffffff
jne 0x41caf3
inc dword [ebx + 4]
mov edx, 1
add esp, 0x14
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x41cf90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
test esi, esi
je 0x41d050
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.0041cf90
mov ebx, dword [0x4490a0]
mov ecx, dword [ebx + 8]
lea ebx, [ebp - 0x10]
mov dword [esp], ecx
call sub.msys_1.0.dll_fflush
mov edx, dword [0x4490a0]
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call sub.msys_1.0.dll_fflush
mov dword [esp], ebx
call sub.msys_1.0.dll_pipe
inc eax
je 0x41d0f4
call sub.msys_1.0.dll_fork
cmp eax, 0xffffffff
je 0x41d0db
test eax, eax
je 0x41d060
mov ecx, dword [ebp - 0x10]
mov dword [esp], ecx
call sub.msys_1.0.dll_close
mov esi, dword [0x4490a0]
mov edx, dword [esi + 8]
mov dword [esp], edx
call sub.msys_1.0.dll_fileno
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msys_1.0.dll_dup2
inc eax
je 0x41d10d
mov ecx, dword [ebx + 4]
mov esi, 1
mov dword [esp], ecx
call sub.msys_1.0.dll_close
mov dword [esp + 8], esi
mov eax, dword [0x4490a0]
xor edx, edx
mov dword [esp + 4], edx
mov ebx, dword [eax + 8]
mov dword [esp], ebx
call sub.msys_1.0.dll_fseek
add esp, 0x20
mov eax, 1
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msys_1.0.dll_close
mov ebx, dword [0x4490a0]
mov ecx, dword [ebx + 4]
mov dword [esp], ecx
call sub.msys_1.0.dll_fileno
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
call sub.msys_1.0.dll_dup2
inc eax
je 0x41d126
mov edx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [esp], edx
call sub.msys_1.0.dll_close
mov dword [esp + 4], ebx
mov ecx, dword [0x4490a0]
mov eax, 1
mov dword [esp + 8], eax
mov edx, dword [ecx + 4]
mov dword [esp], edx
call sub.msys_1.0.dll_fseek
mov eax, dword [esi]
test eax, eax
je 0x41d158
mov dword [esp], esi
call eax
inc eax
je 0x41d13f
mov dword [esp], 0
call sub.msys_1.0.dll_exit
mov dword [esp], str.fork_failed
call sub.msys_intl_8.dll_libintl_gettext
mov dword [esp], eax
call fcn.0040cdf0
jmp 0x41cff4
mov dword [esp], str.pipe_failed
call sub.msys_intl_8.dll_libintl_gettext
mov dword [esp], eax
call fcn.0040cdf0
jmp 0x41cfe2
mov dword [esp], str.dup2_pipes_1__1_
call sub.msys_intl_8.dll_libintl_gettext
mov dword [esp], eax
call fcn.0040ce30
jmp 0x41d026
mov dword [esp], str.dup2_pipes_0__0_
call sub.msys_intl_8.dll_libintl_gettext
mov dword [esp], eax
call fcn.0040ce30
jmp 0x41d092
mov dword [esp], str.filter_func_failed
call sub.msys_intl_8.dll_libintl_gettext
mov dword [esp], eax
call fcn.0040ce30
jmp 0x41d0cf
mov ecx, dword [esi + 0xc]
mov dword [esp + 4], ecx
mov esi, dword [ecx]
mov dword [esp], esi
call sub.msys_1.0.dll_execvp
mov dword [esp], str.exec_failed
call sub.msys_intl_8.dll_libintl_gettext
mov dword [esp], eax
call fcn.0040ce30
mov dword [esp], 1
call sub.msys_1.0.dll_exit
lea esi, [esi]
Function at 0x41e4c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x1a8]
push esi
push ebx
sub esp, 0x2dc
mov dword [esp], 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
mov esi, eax
mov eax, 0x104
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
cmp esi, 0xffffffff
mov ebx, eax
je 0x41e6f1
test ebx, ebx
jle 0x41e530
mov dword [esp], edi
lea ebx, [ebp - 0x2b8]
mov dword [esp + 4], ebx
call sub.msys_1.0.dll_cygwin_conv_to_posix_path
test eax, eax
je 0x41e624
nop
lea esi, [esi]
mov eax, dword [ebp + 8]
mov edi, pe_nt_image_headers32
lea ecx, [ebp + 0xc]
mov dword [esp + 4], edi
lea edi, [ebp - 0x98]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], edi
call sub.msys_1.0.dll_vsnprintf
cmp byte [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x19], 0
je 0x41e630
mov dword [esp], esi
xor ecx, ecx
lea eax, [ebp - 0x2bc]
mov dword [esp + 0x10], ecx
mov ebx, 0x18
mov edx, str.Cygwin_runtime_failure:
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x2b8]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov ecx, ebx
jmp 0x41e5b0
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x41e5b0
and edx, 0x8080
jne 0x41e5d6
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], ebx
add al, al
lea eax, [ebp - 0x2bc]
sbb ecx, 3
sub ecx, ebx
xor edx, edx
mov dword [esp + 0x10], edx
xor ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp], esi
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov ecx, 2
mov edx, 0x446320
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x2bc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
jmp 0x41e679
mov byte [ebp - 0x2b8], 0
jmp 0x41e530
mov dword [esp], esi
xor ebx, ebx
mov ecx, str.Cygwin_runtime_failure:
mov dword [esp + 0x10], ebx
mov eax, 0x18
lea ebx, [ebp - 0x2bc]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
xor edx, edx
mov eax, 0x12
mov dword [esp + 0x10], edx
mov ecx, 0x4462e8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sub.KERNEL32.dll_WriteFile
mov edx, dword [ebp - 0x2c0]
sub esp, 0x14
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 0xc], ebx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov ecx, 1
mov edx, 0x446323
mov dword [esp + 8], ecx
xor eax, eax
mov dword [esp + 4], edx
mov dword [esp], esi
mov esi, 0xe0000269
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0xe
call sub.msys_1.0.dll_cygwin_internal
call sub.msys_1.0.dll_abort
mov dword [esp], 0xe
mov edx, 1
mov ecx, 0xe0000269
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.msys_1.0.dll_cygwin_internal
jmp 0x41e50a
Function at 0x1e7a1cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
in al, 0x2b
call fcn.1e7a1872
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a1827
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e7a1862
dec edx
sbb byte [ebx - 7], al
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1e7a1862
xchg ebp, eax
adc al, 0xb2
sbb ecx, dword [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x1e7a1f30
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e7a1f39
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e7a1f57
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1e7a1fb5
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e7a1f9c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e7a1fa5
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e7a1faf
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1e7a1f91
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
dec ebp
or al, 0x66
cmp ecx, dword [eax + 6]
jbe 0x1e7a1f1b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1e7a2002
dec eax
je 0x1e7a1ff9
sub eax, 3
je 0x1e7a1ff0
mov dword [ebp - 4], 0x40
jmp 0x1e7a201f
mov dword [ebp - 4], 4
jmp 0x1e7a2005
mov dword [ebp - 4], 0x20
jmp 0x1e7a2005
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1e7a2051
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1e7a1fd1
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1e7a1862
xchg edx, eax
push ss
pop edx
int 0xff
jne 0x1e7a205c
push 1
push esi
call edi
mov eax, esi
jmp 0x1e7a205d
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret