joyce8/EMBER2024-capa huggingface dataset:
Function at 0x748660a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x748660ec
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 0xc], eax
jge 0x7486616e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x74866169
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
push eax
call fcn.74865f30
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.748647a0
add esp, 0x18
movzx edx, al
test edx, edx
jne 0x74866169
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
jmp 0x748660da
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
call ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x74867c80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.74862346
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x74867cb4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 4], eax
jge 0x74867cff
imul ecx, dword [ebp - 4], 0x28
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx], 0x7865742e
jne 0x74867cfd
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
imul ecx, dword [ebp - 4], 0x28
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + ecx + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov al, 1
jmp 0x74867d01
jmp 0x74867cab
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x74867f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
call fcn.74862346
mov dword [ebp - 0xc], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
add ecx, dword [eax + edx + 0x78]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x20]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x1c]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x24]
mov dword [ebp - 0x14], edx
mov ecx, 1
test ecx, ecx
je 0x74867fdb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.74867c60
add esp, 0xc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov edx, dword [ebp - 0x18]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.74867ee0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
add edx, 0x3c
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.74867da0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x74867fd9
mov eax, dword [ebp - 8]
jmp 0x74867fdd
jmp 0x74867f69
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x748a5f90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x748a5fce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x748a5fc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x748a5fd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x748a5fb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x748a60a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x748a60d1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x748a60d1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x748a60d1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x748b720c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
mov dword [ebp - 8], edx
push edi
mov edi, ecx
cmp word [edx], ax
jne 0x748b7227
mov eax, edi
jmp 0x748b72ad
movzx eax, word [edi]
push ebx
push esi
test ax, ax
je 0x748b72a9
mov esi, edi
mov ebx, edx
test ax, ax
je 0x748b728c
movzx eax, word [ebx]
test ax, ax
je 0x748b72b0
movzx ecx, word [esi]
sub ecx, eax
jne 0x748b728c
push esi
call dword [0x7494a214]
push ebx
mov dword [ebp - 4], eax
call dword [0x7494a214]
mov edx, dword [ebp - 4]
mov ecx, eax
mov eax, edx
sub ecx, ebx
sub eax, esi
xor ecx, eax
test ecx, 0xfffffffe
jne 0x748b728c
jmp 0x748b7281
add esi, 2
add ebx, 2
movzx eax, word [ebx]
movzx ecx, word [esi]
sub ecx, eax
je 0x748b7285
cmp esi, edx
jb 0x748b7271
xor eax, eax
cmp word [esi], ax
jne 0x748b723a
xor edx, edx
cmp word [ebx], dx
je 0x748b72b0
push edi
call dword [0x7494a214]
mov edx, dword [ebp - 8]
mov edi, eax
movzx ecx, word [edi]
mov eax, ecx
test cx, cx
jne 0x748b7231
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
mov eax, edi
jmp 0x748b72ab
Function at 0x748fb479
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748a6e8f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x749481c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
xor ebx, ebx
inc ebx
push ebx
call fcn.749004aa
test eax, eax
je 0x748fb4b8
mov ecx, dword [eax + 0x14]
jmp 0x748fb4ba
xor ecx, ecx
test eax, eax
je 0x748fb4c1
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x10]
sub esp, 0x10
mov edi, esp
lea esi, [eax + 0xc]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [eax]
push ebx
push dword [eax + 8]
movsd dword es:[edi], dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.7490aaaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403611
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push esi
xor esi, esi
and dword [ebp - 4], esi
push edi
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push 2
call sub.iphlpapi.dll_GetAdaptersAddresses
mov edi, eax
cmp edi, 0x6f
jne 0x40365c
test esi, esi
je 0x403644
push esi
call fcn.0046647a
pop ecx
push dword [ebp - 8]
call fcn.004667bd
mov esi, eax
test esi, esi
pop ecx
je 0x403694
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jl 0x403622
test edi, edi
jne 0x403689
test esi, esi
je 0x403694
push dword [ebp + 8]
mov ecx, esi
call fcn.0040369c
mov edi, eax
test edi, edi
je 0x40367e
push dword [ebp + 8]
call fcn.00403fba
mov edi, eax
push esi
call fcn.0046647a
pop ecx
mov eax, edi
jmp 0x403696
test esi, esi
je 0x403694
push esi
call fcn.0046647a
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x40650e
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x406579
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x406570
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.004648e8
leave
ret
Function at 0x44e12a
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esi + 0x18], 1
je 0x44e166
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44e15f
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0044e0af
pop esi
ret 4

Function at 0x44e29b
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
mov dword [esi], fcn.0040a41d
je 0x44e2c2
cmp dword [esi + 0xc], 0
je 0x44e2bb
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0044e0af
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x14]
call edi
add esi, 0x1c
mov ecx, esi
call fcn.0043967a
pop edi
mov ecx, esi
pop esi
jmp fcn.0041ec7b

Function at 0x45099e
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x4996bc
call fcn.004648f7
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov dword [esi], 0x4a40bc
mov dword [esi + 8], eax
call fcn.004386a1
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x4a89c8
push edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.0044f9e0
push edi
push edi
push edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.0044d456
push edi
push edi
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.0044d456
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x45069c
push edi
push edi
mov byte [ebp - 4], 4
call fcn.00466e8b
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x450a54
push str.create_thread_failed
lea ecx, [ebp - 0x2c]
call fcn.00403ffe
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.004070af
push eax
mov byte [ebp - 4], 6
call fcn.0044f9c0
mov eax, esi
call fcn.004649cf
ret 0xc

Function at 0x450a5e
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x48]
mov dword [esi], 0x4a40bc
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x450a8d
push 0xff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x50]
call fcn.0044d4b1
lea ecx, [esi + 0x44]
call fcn.0044d4b1
lea ecx, [esi + 0x3c]
call fcn.0044d4b1
lea ecx, [esi + 0x28]
call fcn.0044ee40
lea ecx, [esi + 0xc]
pop esi
jmp fcn.004386b8
Function at 0x4820a2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c0104], 0
push esi
jne 0x482015
call fcn.00481f40
test eax, eax
je 0x482058
mov eax, dword [0x4c0104]
cmp eax, 1
jne 0x482036
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x482058
pop esi
ret
push eax
call dword [0x4c010c]
test eax, eax
jne 0x4820a0
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 0x48205c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c0104]
call dword [0x4c010c]
mov edi, eax
test edi, edi
je 0x482083
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x48209f
lea edi, [esi + 0xff0]
push esi
push dword [0x4c0104]
call dword [0x4c0108]
add esi, 0x10
cmp esi, edi
jb 0x482089
mov eax, esi
pop edi
pop esi
ret
jmp 0x482002

Function at 0x4821f3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00482188
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00466400
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x482242
cmp dword [ebp - 0x1c], 5
jb 0x48225a
jmp 0x482256
cmp dword [ebp - 0x10], 1
jne 0x48225a
cmp dword [ebp - 0x1c], 4
ja 0x482256
jne 0x48225a
cmp dword [ebp - 0x18], 0
jbe 0x48225a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4a7824
call fcn.0040d9cf
test eax, eax
jge 0x48227b
mov byte [0x4beae0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004648e8
add ebp, 0x78
leave
ret
Function at 0x53af40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd9000]
push edi
jmp 0x53af5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53af61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53af50
mov eax, 1
add ebx, ebx
jne 0x53af73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53af84
jne 0x53afa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53afa3
dec eax
add ebx, ebx
jne 0x53af90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53af68
add ebx, ebx
jne 0x53af9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53aff5
xor ecx, ecx
sub eax, 3
jb 0x53afbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53b02a
sar eax, 1
mov ebp, eax
jmp 0x53afc6
add ebx, ebx
jne 0x53afc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53af94
inc ecx
add ebx, ebx
jne 0x53afd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53af94
add ebx, ebx
jne 0x53afe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53afd6
jne 0x53aff2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53afd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53b014
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53b006
jmp 0x53af56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53b014
add edi, ecx
jmp 0x53af56
pop esi
mov edi, esi
mov ecx, 0x4e1b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53b032
cmp byte [edi], 0x12
jne 0x53b032
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 0x53b037
lea edi, [esi + 0x132000]
mov eax, dword [edi]
or eax, eax
je 0x53b0af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x141d98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x141ed8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53b064
mov ecx, edi
jns 0x53b093
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 + 0x141edc]
or eax, eax
je 0x53b0a9
mov dword [ebx], eax
add ebx, 4
jmp 0x53b081
call dword [esi + 0x141eec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53b0e0
cmp al, 0xef
ja 0x53b0d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53b0b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53b0c2
mov ebp, dword [esi + 0x141ee0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x53b114
sub esp, 0xffffff80
jmp 0x46e0b7
Function at 0x1000396a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10003a1d
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x10007f0b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10007f2d
mov eax, 0xfffffffd
jmp 0x1000800a
mov ebx, dword [0x100a900c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10007fd8
mov ebx, dword [0x100a900c]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10007f7c
mov ebx, dword [0x100a900c]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10007f7c
mov eax, 1
jmp 0x10007f7e
xor eax, eax
test eax, eax
je 0x10007faa
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10007f93
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x100a900c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10008000
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x1000800a
mov esp, ebp
pop ebp
ret 4

Function at 0x10008b09
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1000396a
test eax, eax
je 0x10008b4c
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10008b4c
cmp word [eax], 0x5a4d
jne 0x10008b4c
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10008b4c
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10003a3c
mov eax, dword [ebp + 8]
jmp 0x10008b65
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007ee80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100744e1
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1001d8c0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1001c6a4
jmp dword [ecx*4 + 0x1001c80c]
mov al, byte [esi]
test al, al
je 0x1001c6d2
cmp al, 0x20
je 0x1001c6be
cmp al, 0xa1
jne 0x1001c6d2
cmp byte [esi + 1], al
jne 0x1001c6d2
test al, 0x80
je 0x1001c6ca
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1001c6d2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001c6b1
test ecx, ecx
je case.default.0x1001c6a4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1001c6a4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1001c718
cmp dl, 0xa1
jne 0x1001c70c
cmp byte [eax + 1], 0xa1
jne 0x1001c70c
test ecx, ecx
jne 0x1001c704
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1001c72c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1001c746
jmp 0x1001c72c
cmp dl, 0x20
jne 0x1001c72a
test ecx, ecx
jne 0x1001c723
mov edi, eax
mov ecx, 1
jmp 0x1001c72c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1001c6ec
cmp ecx, 1
jne case.default.0x1001c6a4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1001c6a4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1001c6a4
mov al, byte [esi]
test al, al
je 0x1001c79e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1001c784
mov cl, byte [esi + 1]
test cl, cl
je 0x1001c79e
cmp al, 0xa1
jne 0x1001c774
cmp cl, al
je 0x1001c781
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1001db50
inc esi
jmp 0x1001c796
cmp al, 0x20
je 0x1001c796
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1001db90
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001c75d
push 0
lea ecx, [esp + 0x14]
call fcn.1001db90
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10026f10
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1001c7d1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10085ec8
call fcn.1001dac0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10074473
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1001d420
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x10098258
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1001d3e0
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001d4ca
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x1001d52b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1001d4ac
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x1001d4b4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.10065510
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1001d51f
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x1001d4fd
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret