joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d16
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
inc eax
push edi
push 0x20
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
pop ebx
cmp eax, ebx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ecx
cmova eax, ebx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x58], ecx
cmp eax, dword [esi + 0x20]
je 0x407dbb
lea edi, [esi + 0xc8]
cmp dword [edi + 8], ecx
je 0x407d9c
mov ecx, edi
call fcn.00406c50
xor ecx, ecx
add edi, 0x28
sub ebx, 1
jne 0x407d8e
cmp dword [esi + 0x5c], ebx
je 0x407db6
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
and dword [esi + 0x5c], ebx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00406b5f
mov ecx, dword [esi + 0x58]
and dword [esi + 0x24], 0
and dword [esi + 0x28], 0
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.00406c05
mov edi, eax
test edi, edi
jne 0x407e22
lea ecx, [ebx + 0x20]
call fcn.00407f1a
mov edi, eax
test edi, edi
jne 0x407e22
lea ecx, [ebx + 0x1c]
call fcn.00407f1a
mov edi, eax
test edi, edi
jne 0x407e22
push ebx
call fcn.00407aa3
mov edi, eax
test edi, edi
je 0x407e22
and dword [esi + 0x44], 0
mov ecx, esi
call fcn.00406cab
mov ecx, edi
call fcn.00406b51
test eax, eax
je 0x407e30
mov dword [esi + 0x40], eax
cmp dword [esi + 0x38], 0
jne 0x407e46
cmp dword [esi + 0x40], 0
jne 0x407e46
cmp dword [esi + 0x3c], 0
jne 0x407e46
and dword [esi + 0x44], 0
xor ecx, ecx
cmp dword [esi + 0x44], ecx
pop edi
pop esi
cmovne eax, ecx
pop ebx
ret

Function at 0x407ec8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push edx
push eax
push eax
call fcn.00427d7a
add esp, 0x18
mov dword [esi], eax
mov ecx, eax
call fcn.00407e63
pop esi
leave
ret 4
Function at 0x423021
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0043c018]
test eax, eax
je 0x423060
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423060
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423060
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x423060
cmp dword [ecx + 0x74], 0xe
jbe 0x423060
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43ac4c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43ac79
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ac79
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x13001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
jmp 0x13001013
mov esi, dword [esp + 8]
test esi, esi
je 0x13001077
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x13001076
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x40
push edi
push esi
mov dword [esp + 0x24], 0x40
mov dword [0x13164f80], 1
call ebx
test eax, eax
je 0x1300106a
push edi
push ebp
push esi
call fcn.13030640
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
push esi
call ebx
pop edi
mov dword [0x13164f80], 0
pop ebx
pop ebp
jmp 0x13001089
pop esi
ret

Function at 0x13001180
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x13001215
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x40
sub eax, edi
add esi, 5
push esi
sub eax, 5
push edi
mov byte [esp + 0x1c], 0xe8
mov dword [esp + 0x1d], eax
mov dword [esp + 0x28], 0
mov dword [0x13164f80], 1
call ebx
test eax, eax
je 0x13001209
xor ecx, ecx
test esi, esi
jbe 0x130011fb
push ebp
lea ebp, [esp + 0x10]
mov eax, edi
sub ebp, edi
cmp ecx, 5
jae 0x130011ed
mov dl, byte [eax + ebp]
mov byte [eax], dl
jmp 0x130011f0
mov byte [eax], 0x90
add ecx, 1
add eax, 1
cmp ecx, esi
jb 0x130011e1
pop ebp
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push esi
push edi
call ebx
pop esi
mov dword [0x13164f80], 0
pop ebx
pop edi
add esp, 8
ret

Function at 0x13001220
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x130012b5
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x40
sub eax, edi
add esi, 5
push esi
sub eax, 5
push edi
mov byte [esp + 0x1c], 0xe9
mov dword [esp + 0x1d], eax
mov dword [esp + 0x28], 0
mov dword [0x13164f80], 1
call ebx
test eax, eax
je 0x130012a9
xor ecx, ecx
test esi, esi
jbe 0x1300129b
push ebp
lea ebp, [esp + 0x10]
mov eax, edi
sub ebp, edi
cmp ecx, 5
jae 0x1300128d
mov dl, byte [eax + ebp]
mov byte [eax], dl
jmp 0x13001290
mov byte [eax], 0x90
add ecx, 1
add eax, 1
cmp ecx, esi
jb 0x13001281
pop ebp
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push esi
push edi
call ebx
pop esi
mov dword [0x13164f80], 0
pop ebx
pop edi
add esp, 8
ret
Function at 0x13001360
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
push edi
jne 0x130013bf
mov edi, dword [esp + 0x10]
push edi
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
mov dword [esi], eax
jne 0x130013bf
push edi
mov edi, dword [esp + 0x18]
push edi
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
push 0
push 0
push 0xf001f
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x130013d6
push edi
push 0
push esi
call fcn.130309b0
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push eax
push 0
push 0
push 0xf001f
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
pop edi
pop esi
ret
Function at 0x13001400
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x10
push ebx
jmp 0x13001416
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
test eax, eax
je 0x1300158c
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1300158b
push esi
push 0x40
push 0x1000
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x1300158a
mov ebx, dword [esp + 0x2c]
test ebx, ebx
push ebp
jbe 0x1300147d
mov ebp, edi
sub ebp, esi
mov ecx, ebx
lea esp, [esp]
mov dl, byte [eax + ebp]
mov byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x13001470
mov al, byte [edi]
cmp al, 0xe8
je 0x13001516
cmp al, 0xe9
je 0x13001516
cmp al, 0x8d
je 0x13001566
cmp al, 0x6a
jne 0x130014da
cmp ebx, 7
jae 0x13001566
mov byte [esi], al
movzx eax, byte [edi + 1]
mov byte [esi + 1], al
movzx ecx, byte [edi + 2]
mov byte [esi + 2], cl
movzx edx, byte [edi + 3]
mov byte [esi + 3], dl
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx ecx, byte [edi + 5]
mov byte [esi + 5], cl
movzx edx, byte [edi + 6]
mov ebx, 7
mov byte [esi + 6], dl
jmp 0x13001566
cmp al, 0xff
jne 0x13001566
mov al, byte [edi + 1]
cmp al, 0x15
je 0x130014f1
cmp al, 0x25
jne 0x13001566
cmp ebx, 6
jae 0x130014fb
mov ebx, 6
test ebx, ebx
jbe 0x13001566
mov ebp, edi
mov eax, esi
sub ebp, esi
mov ecx, ebx
mov dl, byte [eax + ebp]
mov byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x13001507
jmp 0x13001566
xor ebp, ebp
test ebx, ebx
jbe 0x13001551
mov ecx, esi
sub ecx, edi
lea edx, [esp + 0x18]
sub edx, edi
mov eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
cmp ebp, 5
mov dl, byte [eax]
mov byte [ecx + eax], dl
jae 0x13001547
mov cl, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [edx + eax], cl
mov ecx, dword [esp + 0x14]
add ebp, 1
add eax, 1
cmp ebp, ebx
jb 0x13001530
mov eax, edi
sub eax, esi
add dword [esp + 0x19], eax
mov ecx, dword [esp + 0x18]
mov dl, byte [esp + 0x1c]
mov dword [esi], ecx
mov byte [esi + 4], dl
push 0
lea eax, [edi + ebx]
push eax
lea ecx, [esi + ebx]
push ecx
call fcn.13001220
mov edx, dword [esp + 0x38]
add ebx, 0xfffffffb
push ebx
push edx
push edi
call fcn.13001220
add esp, 0x18
mov ebx, esi
pop ebp
pop esi
pop edi
jmp 0x1300159e
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x130015b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x254
push ebx
push ebp
mov ebp, dword [esp + 0x260]
push esi
push edi
lea eax, [esp + 0x14]
push eax
push ebp
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x130015f4
mov ecx, dword [esp + 0x30]
push 1
push edi
push edi
push ecx
call fcn.13030a30
mov edi, edx
mov edx, dword [esp + 0x34]
mov esi, eax
xor eax, eax
add esi, edx
adc edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
ja 0x13001607
test esi, esi
jbe 0x13001687
push 0
push 0x80
push 4
push 0
push 1
push connect
push ebp
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x13001678
lea edi, [esi + 2]
push edi
call fcn.1302ea6c
mov ebp, dword [esp + 0x270]
push edi
push 0
push eax
mov dword [ebp], eax
call fcn.130309b0
mov edx, dword [ebp]
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x13001671
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x254
ret
Function at 0x13001840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x6c
mov eax, 0x72
mov word [esp + 0x2e], ax
mov word [esp + 0x32], ax
mov eax, 0x3a
mov word [esp + 0x34], ax
mov word [esp + 0x36], ax
mov eax, 0x20
mov word [esp + 0x66], ax
mov byte [esp + 0x23], al
mov edx, 0x1e
mov ecx, 0x1f
lea eax, [esp + 4]
push eax
mov dword [esp + 4], 0
mov word [esp + 0x2c], 0x6c
mov word [esp + 0x2e], 0x67
mov word [esp + 0x30], 0x75
mov word [esp + 0x34], 0x6a
mov word [esp + 0x3c], 9
mov word [esp + 0x3e], 0xa
mov word [esp + 0x40], 0xb
mov word [esp + 0x42], 0xc
mov word [esp + 0x44], 0xd
mov word [esp + 0x46], 0xe
mov word [esp + 0x48], 0xf
mov word [esp + 0x4a], 0x10
mov word [esp + 0x4c], 0x11
mov word [esp + 0x4e], 0x12
mov word [esp + 0x50], 0x13
mov word [esp + 0x52], 0x14
mov word [esp + 0x54], 0x15
mov word [esp + 0x56], 0x16
mov word [esp + 0x58], 0x17
mov word [esp + 0x5a], 0x18
mov word [esp + 0x5c], 0x19
mov word [esp + 0x5e], 0x1a
mov word [esp + 0x60], 0x1b
mov word [esp + 0x62], 0x1c
mov word [esp + 0x64], 0x1d
mov word [esp + 0x66], dx
mov word [esp + 0x68], cx
mov word [esp + 0x6c], 0
mov byte [esp + 8], 0x4a
mov byte [esp + 9], 0x75
mov byte [esp + 0xa], 0x5a
mov byte [esp + 0xb], 0x73
mov byte [esp + 0xc], 0x7c
mov byte [esp + 0xd], 0x3c
mov byte [esp + 0xe], 0x3b
mov byte [esp + 0xf], 0x58
mov byte [esp + 0x10], 0x7b
mov byte [esp + 0x11], 0x79
mov byte [esp + 0x12], 0x6e
mov byte [esp + 0x13], 0x71
mov byte [esp + 0x14], 0x80
mov byte [esp + 0x15], 0x81
mov byte [esp + 0x16], 0xf
mov byte [esp + 0x17], 0x10
mov byte [esp + 0x18], 0x11
mov byte [esp + 0x19], 0x12
mov byte [esp + 0x1a], 0x13
mov byte [esp + 0x1b], 0x14
mov byte [esp + 0x1c], 0x15
mov byte [esp + 0x1d], 0x16
mov byte [esp + 0x1e], 0x17
mov byte [esp + 0x1f], 0x18
mov byte [esp + 0x20], 0x19
mov byte [esp + 0x21], 0x1a
mov byte [esp + 0x22], 0x1b
mov byte [esp + 0x23], 0x1c
mov byte [esp + 0x24], 0x1d
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], cl
mov byte [esp + 0x28], 0
call fcn.13001760
add esp, 4
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.130017c0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x13164f84], eax
je 0x13001a22
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x13164f84]
mov eax, dword [esp]
add esp, 0x6c
ret
Function at 0x13001a30
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1310cf78
push eax
mov dword fs:[0], esp
push esi
push edi
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x2c]
or esi, 0xffffffff
xor edi, edi
test ecx, ecx
jbe 0x13001a97
cmp edi, ecx
jbe 0x13001a69
call fcn.130311e1
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x13001a78
lea eax, [esp + 0x1c]
movzx eax, byte [eax + edi*2]
mov edx, esi
and edx, 0xff
xor eax, edx
shr esi, 8
xor esi, dword [eax*4 + section..data]
add edi, 1
cmp edi, ecx
jb 0x13001a69
not esi
mov dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x13001ab5
mov eax, dword [esp + 0x1c]
push eax
call fcn.13030fdc
add esp, 4
mov ecx, dword [esp + 8]
pop edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], 0
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x1c
Function at 0x13009dc0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov byte [esi], al
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
call fcn.13009c00
mov ecx, esi
call fcn.13009cc0
mov eax, esi
pop esi
ret 8

Function at 0x13009f40
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x1310d524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x80], 1
cmp dword [esp + 0xa4], 0x10
mov eax, dword [esp + 0x90]
mov byte [esp + 0xc], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
jae 0x13009faf
lea eax, [esp + 0x90]
mov ecx, dword [esp + 0xa0]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.13009c00
lea ecx, [esp + 0xc]
call fcn.13009cc0
mov esi, dword [esp + 0x88]
push esi
lea ecx, [esp + 0x10]
call fcn.13009e70
mov dword [esp + 8], 1
mov byte [esp + 0x80], bl
cmp dword [esp + 0xa4], 0x10
jb 0x1300a004
mov edx, dword [esp + 0x90]
push edx
call fcn.13030fdc
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov dword [esp + 0xa4], 0xf
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret

Function at 0x1300a4c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x264]
push esi
push edi
lea eax, [esp + 0x18]
push eax
xor esi, esi
push ebx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1300a507
mov ecx, dword [esp + 0x34]
push 1
push esi
push esi
push ecx
call fcn.13030a30
mov esi, eax
mov eax, dword [esp + 0x38]
xor ecx, ecx
add esi, eax
adc edx, ecx
mov dword [esp + 0x14], edx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x80
push 4
push 0
push 1
push connect
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1300a573
push esi
call fcn.1302ea6c
mov ebx, dword [esp + 0x274]
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.130309b0
mov eax, dword [ebx]
add esp, 0x10
push 0
lea edx, [esp + 0x10]
push edx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1300a573
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x25c
ret 8
Function at 0x1300a590
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x1300a5df
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 1]
pop edi
pop esi
ret 0xc
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x1300a5f0
Capabilities:
Delete file

Disassembly:
cmp dword [ecx + 0x14], 0
jbe 0x1300a611
cmp dword [ecx + 0x18], 8
jb 0x1300a607
mov ecx, dword [ecx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret
Function at 0x13011da0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x100
cmp byte [esp + 0x10c], 0
mov eax, 0x13111a20
jne 0x13011dba
mov eax, str.false
mov edx, dword [esp + 0x108]
push esi
push edi
push str.._option.ini
push 0xff
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x11c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
push ecx
call fcn.13011d30
add esp, 4
xor edx, edx
lea edi, [esp + 8]
mov esi, str.true
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
pop edi
sete al
pop esi
add esp, 0x100
ret

Function at 0x13011f00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov ecx, dword [ebp + 0xc]
call dword [0x13165078]
mov dword [0x13165064], eax
cmp dword [0x13165088], 0
je 0x13011f32
mov eax, dword [0x13165088]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.13031372
add esp, 4
mov edx, dword [0x13165064]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x13111b70
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1302ea6c
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [0x13165088], eax
push str.___L2Arkham.com
mov ecx, dword [0x13165064]
push ecx
push 0x13111bb0
mov edx, dword [0x13165088]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x13011e60
call dword [sym.imp.USER32.dll_EnumWindows]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x13011fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x124]
mov dword [0x1316507c], ecx
lea edx, [ebp - 4]
push edx
push 0x40
push 4
mov eax, dword [ebp - 8]
add eax, 0x124
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x124], 0x13011fb0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
push 4
mov ecx, dword [ebp - 8]
add ecx, 0x124
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x13012810
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1310df30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push edi
mov dword [esp + 0x1c], esi
mov word [esi + 4], bx
call fcn.13004370
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esi + 0x1c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.13004980
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x38], ecx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
cmp dword [edi + 0x18], 8
lea ebp, [edi + 4]
jb 0x1301288e
mov eax, dword [ebp]
jmp 0x13012890
mov eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
jne 0x130128ab
cmp dword [edi + 0x18], 8
jb 0x130128a4
mov ebp, dword [ebp]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x18], 0x10
jb 0x130128ba
mov ecx, dword [ecx + 4]
jmp 0x130128bd
add ecx, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x3c], eax
push ebx
jne 0x130128d3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
lea edi, [esi + 0x42]
push edi
push eax
call ebp
push eax
call fcn.13012680
test eax, eax
jne 0x130128f3
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [esp + 0x30], bl
je 0x13012922
cmp byte [edi], 0xe9
jne 0x13012922
mov edx, dword [esi + 0x43]
push ebx
add edx, 5
add dword [esi + 0x3c], edx
mov eax, dword [esi + 0x3c]
push 5
push edi
push eax
call ebp
push eax
call fcn.13012680
test eax, eax
jne 0x13012922
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x2c]
sub eax, dword [esi + 0x3c]
mov byte [esi + 0x47], 0xe9
sub eax, 5
mov dword [esi + 0x48], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x13016540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1310e341
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xc], ebx
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.13004980
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.13006290
mov esi, dword [esp + 0x38]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.13004980
mov dword [esp + 8], 1
mov byte [esp + 0x30], bl
cmp dword [esp + 0x24], 0x10
jb 0x130165d6
mov edx, dword [esp + 0x10]
push edx
call fcn.13030fdc
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
pop esi
mov dword [esp + 0x20], 0xf
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret