joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10263ba0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a11ff
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10597da4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0xd0]
sub ecx, dword [ebx + 0xcc]
sar ecx, 2
div ecx
mov eax, dword [ebx + 0xcc]
mov ebx, dword [eax + edx*4]
mov dword [ebp + 0x10], ebx
lea ecx, [ebx + 0x5c]
call fcn.1021fd90
mov ecx, dword [ebp + 0x20]
lea eax, [ebx + 0x20]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
push eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x30], edi
push eax
lea eax, [ebx + 0x10]
mov dword [ebx + 0x34], esi
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0xc], 0
push edi
push dword [edi + 0x10c]
call fcn.10263d30
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
push 0x10
call fcn.102693d0
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10263c89
push dword [ebp + 8]
mov ecx, esi
call fcn.1021f350
mov dword [esi], vtable.TileBufferTask.1.0
mov eax, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x102679c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov ecx, 0x40
push esi
mov esi, dword [esp + 0x14]
sub ecx, ebx
push edi
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.1026a600
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
or dword [ecx], eax
or dword [ecx + 4], edx
mov eax, dword [edi]
cmp eax, ebx
jge 0x10267b1f
sub ebx, eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x24]
push ebp
cmp dword [ebx], 0x40
jl 0x10267aa2
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp]
movzx eax, byte [ecx]
cdq
mov edi, eax
mov ebx, edx
movzx eax, byte [ecx + 1]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 2]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 3]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 4]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 5]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 6]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 7]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x28]
mov dword [esi], edi
mov edi, dword [esp + 0x20]
mov dword [edi], 0x40
add dword [ebp], 8
add dword [eax], 0xffffffc0
jmp 0x10267b00
mov dword [esi], 0
mov ebp, 0x38
mov dword [esi + 4], 0
mov dword [edi], 0x40
cmp dword [ebx], 0
mov dword [esp + 0x28], 0
jle 0x10267af8
mov edi, dword [esp + 0x24]
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, ebp
movzx eax, byte [eax]
cdq
call fcn.1026a570
or dword [esi], eax
or dword [esi + 4], edx
inc dword [edi]
add ebp, 0xfffffff8
adc dword [esp + 0x28], 0xffffffff
add dword [ebx], 0xfffffff8
cmp dword [ebx], 0
jg 0x10267ad0
mov edi, dword [esp + 0x20]
jge 0x10267b00
mov dword [ebx], 0
mov ebx, dword [esp + 0x18]
mov ecx, 0x40
mov eax, dword [esi]
sub ecx, ebx
mov edx, dword [esi + 4]
call fcn.1026a600
mov ecx, dword [esp + 0x14]
pop ebp
or dword [ecx], eax
or dword [ecx + 4], edx
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [esi + 4]
call fcn.1026a570
mov dword [esi], eax
mov dword [esi + 4], edx
sub dword [edi], ebx
jne 0x10267b41
mov dword [esi], 0
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
ret 0x18

Function at 0x1028981f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1028969e
Function at 0x10051ccf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x101ab970], 0
push esi
push edi
jne 0x10051c45
call fcn.10051bb1
test eax, eax
je 0x10051c8a
mov eax, dword [0x101ab970]
cmp eax, 1
jne 0x10051c66
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10051c8a
jmp 0x10051ccc
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10051ccc
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10051c8e
xor eax, eax
jmp 0x10051ccc
mov eax, dword [esi]
push dword [0x101ab970]
call edi
mov edi, eax
test edi, edi
je 0x10051cb0
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10051ccc
lea edi, [esi + 0xff0]
push esi
push dword [0x101ab970]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10051cb6
mov eax, esi
pop edi
pop esi
ret
jmp 0x10051c31
Function at 0x4024ed
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x402454
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x40600b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40602c
jl 0x406023
test edi, edi
jne 0x40602c
xor eax, eax
xor edx, edx
jmp 0x4060ed
cmp dword [ebx + 0x38], 0
je 0x406041
push eax
push edi
push dword [ebp + 8]
call fcn.004060f3
jmp 0x4060ed
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x406088
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x406088
cmp eax, edi
jb 0x406062
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00408fa0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40608e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4060e2
mov ecx, ebx
call fcn.004058a2
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4060cd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00411131
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4060e2
jmp 0x4060a0
test edx, edx
je 0x4060e2
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00411131
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x408d86
Capabilities:
Parse pe header

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

Function at 0x4167c7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x429bd0
push 0x429bc8
push str.FlsAlloc
push 0x1e
call fcn.00416634
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4167fb
push dword [ebp + 8]
mov ecx, esi
call dword [0x426148]
call esi
jmp 0x416801
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x416845
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x429be0
push 0x429bd8
push str.FlsGetValue
push 0x20
call fcn.00416634
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41687c
push dword [ebp + 8]
mov ecx, esi
call dword [0x426148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41a477
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a119

Function at 0x41a482
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a2a8

Function at 0x41a87c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408ef0
mov eax, dword [0x431040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004183b6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41a8be
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41aa1a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425120
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47de78]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041ba4c
mov ecx, dword [esi*4 + 0x47de78]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41aa13
cmp eax, dword [edi + ecx + 0x24]
jne 0x41aa13
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41aa13
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041ba4c
add esp, 0x14
test edx, edx
jl 0x41aa13
jg 0x41a989
test eax, eax
jb 0x41aa13
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41aa13
jl 0x41a9a3
cmp dword [ebp - 0x1008], eax
ja 0x41aa13
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41a9c1
test ebx, ebx
je 0x41a9fa
cmp ecx, edi
jae 0x41a9fa
mov al, byte [ecx]
cmp al, 0xd
jne 0x41a9db
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41a9e7
cmp byte [ecx + 1], 0xa
jne 0x41a9e7
inc ecx
jmp 0x41a9e7
movzx eax, al
movsx eax, byte [eax + 0x431310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41a9c1
cmp edx, ebx
jne 0x41a9c1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41aa18
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00408141
leave
ret
Function at 0x41aeea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47de78]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41af2a
cmp byte [ebx], 0xa
jne 0x41af2a
or byte [eax + edi + 0x28], 4
jmp 0x41af2f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41b02d
mov al, byte [edx]
cmp al, 0x1a
je 0x41b00f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41af5e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41af83
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41af8d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41af40
jmp 0x41b02d
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b00a
cmp dword [ebp - 0xc], 0
je 0x41b00a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47de78]
test byte [eax + edi + 0x28], 0x48
je 0x41afe4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41afcf
mov byte [esi], dl
jmp 0x41afe0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47de78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b02d
cmp byte [ebp - 1], 0xa
jne 0x41aff3
cmp esi, ebx
jne 0x41aff3
mov byte [esi], 0xa
jmp 0x41b02c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041ba6a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b02d
mov byte [esi], 0xd
jmp 0x41b02c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47de78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b029
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b02d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b036
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47de78]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b079
cmp word [esi], dx
jne 0x41b079
or byte [edi + eax + 0x28], 4
jmp 0x41b07e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41b1d1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41b1b1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b0c0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b0f6
cmp eax, edx
jae 0x41b102
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41b098
jmp 0x41b1d1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b1ad
cmp dword [ebp - 0x14], 0
je 0x41b1ad
mov eax, dword [ebx*4 + 0x47de78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b185
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b14e
mov word [esi], cx
jmp 0x41b181
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47de78]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47de78]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47de78]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b1d1
pop ebx
cmp word [ebp - 4], bx
jne 0x41b196
cmp esi, dword [ebp + 0xc]
jne 0x41b196
mov word [esi], bx
jmp 0x41b1ce
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041ba6a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b1d1
push 0xd
jmp 0x41b1ca
mov ecx, dword [ebx*4 + 0x47de78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b1c8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b1d1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
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
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4d7a7acd
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, str.9_
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
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
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x26d62e39
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x44154a
push 0x14
push 0x473a08
call fcn.004418e0
push 1
call fcn.00441102
pop ecx
test al, al
je 0x441534
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004410d0
mov byte [ebp - 0x24], al
mov eax, dword [0x479794]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x441534
test eax, eax
jne 0x441458
mov dword [0x479794], ecx
push 0x461310
push 0x4612f0
call fcn.0044c65c
pop ecx
pop ecx
test eax, eax
je 0x44143b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x441524
push 0x4612ec
push 0x461278
call fcn.0044c600
pop ecx
pop ecx
mov dword [0x479794], 2
jmp 0x44145d
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00441274
pop ecx
call fcn.00441ea7
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x44148e
push esi
call fcn.004411e0
pop ecx
test al, al
je 0x44148e
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x461274]
call esi
call fcn.00441ead
mov esi, eax
cmp dword [esi], edi
je 0x4414ac
push esi
call fcn.004411e0
pop ecx
test al, al
je 0x4414ac
push dword [esi]
call fcn.0044babc
pop ecx
call fcn.00441cdf
movzx eax, ax
push eax
call fcn.0044c5ad
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00441d15
test al, al
je 0x44153b
test bl, bl
jne 0x4414da
call fcn.0044ba97
push edi
push 1
call fcn.00441291
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x441524
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00441bc5
push esi
call fcn.0044baf4
push dword [ebp - 0x20]
call fcn.0044baa6
int3
call fcn.00441dfa
jmp 0x4413ce
Function at 0x403170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x4032df
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x4031a8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004051d0
jmp 0x4032f3
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x4031cc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x4031d3
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0x10], 0
jl 0x40328d
jg 0x4031f3
cmp dword [ebp + 0xc], 0
jbe 0x40328d
cmp dword [ebp - 0x14], 0
jl 0x40328d
jg 0x403209
cmp dword [ebp - 0x18], 0
jbe 0x40328d
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jg 0x403227
jl 0x40321b
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x18]
jae 0x403227
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004431a0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
jl 0x4032cf
jg 0x40329b
cmp dword [ebp + 0xc], 0
jbe 0x4032cf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x4032cf
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044aad6
add esp, 0x10
xor edx, edx
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov eax, dword [ebp + 0x10]
sbb eax, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
sbb edx, dword [ebp + 0x10]
jmp 0x4032f3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004051d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x403477
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x403338
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00405340
jmp 0x40348b
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 0
je 0x40335c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x403363
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0x10], 0
jl 0x40341d
jg 0x403383
cmp dword [ebp + 0xc], 0
jbe 0x40341d
cmp dword [ebp - 0x14], 0
jl 0x40341d
jg 0x403399
cmp dword [ebp - 0x18], 0
jbe 0x40341d
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jg 0x4033b7
jl 0x4033ab
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x18]
jae 0x4033b7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004431a0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
jl 0x403467
jg 0x40342b
cmp dword [ebp + 0xc], 0
jbe 0x403467
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x403467
mov ecx, dword [ebp - 4]
call fcn.004065c0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044b201
add esp, 0x10
xor edx, edx
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov eax, dword [ebp + 0x10]
sbb eax, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
sbb edx, dword [ebp + 0x10]
jmp 0x40348b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00405340
mov esp, ebp
pop ebp
ret 0xc