joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076810
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10076908
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10076901
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x100768e8
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100768e8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100768e8
mov edx, dword [esi]
test edx, edx
jne 0x100768b1
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c6b920]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10076901
jmp 0x100768dc
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100768dc
shl eax, 3
push eax
push edx
push 0
push dword [0x10c6b920]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10076901
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10076870
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1007694c
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1007694c
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10076946
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10076fe0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10076914
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ada0d
mov esp, ebp
pop ebp
ret

Function at 0x10077250
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x100772a2
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10077292
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10077289
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10077266
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10c6b920]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop ebp
ret
Function at 0x100772b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x132ec978]
test eax, eax
je 0x100772cc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10077324
mov eax, dword [eax]
test eax, eax
jne 0x100772c0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10077336
push esi
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop dword [eax + eax]
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x10077300
mov ecx, dword [0x132ec978]
mov dword [eax], ecx
mov dword [0x132ec978], eax
pop esi
test eax, eax
je 0x10077336
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x1007b1c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c6c4a0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c6be34]
cmp eax, dword [ecx + 4]
jg 0x1007b209
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c6b980
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x1007b204
add esi, 4
cmp esi, 0x10c6be30
jne 0x1007b1f0
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c6be34
call fcn.100adbe9
add esp, 4
cmp dword [0x10c6be34], 0xffffffff
jne 0x1007b1df
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100f30a8
push 0x4b0
push 0x10c6b980
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10c6be34
mov dword [0x10c6be30], eax
call fcn.100adb9f
add esp, 4
jmp 0x1007b1df

Function at 0x1007b250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1007b290
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1007b290
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1007b290
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1007b292
add eax, 4
cmp eax, ecx
jb 0x1007b285
xor eax, eax
pop ebp
ret

Function at 0x1007b2a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1007b2f7
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x1007b2f7
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x1007b2d9
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x1007b2d0
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x1007b5b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c37c1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100edfa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x1007b696
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1007b639
add esi, dword [ebp - 0x70]
jmp 0x1007b689
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x1007b687
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x1007b687
test eax, 0x100
jne 0x1007b687
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x10], edi
je 0x1007b66e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1007b684
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1007ac50
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x1007b610
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x1007b698
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x1007b737
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x1007b727
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.1007b4c0
mov esi, eax
add esp, 0x18
mov ecx, esi
test esi, esi
je 0x1007b724
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], esi
inc esi
cmp dword [edi + 8], eax
je 0x1007b710
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1007b71c
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10008ba0
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x1007b6e0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x1007b6c2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1007b767
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1007b75d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007b77a
push ecx
push esi
call fcn.100ad9ff
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100af180
int3
Function at 0x1007b780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1007b803
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1007b803
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1007b803
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.1007e460
add esp, 0xc
test eax, eax
je 0x1007b803
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b7d2
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.1007e4b0
add esp, 0x10
pop esi
test eax, eax
je 0x1007b803
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1007b860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1007b8ae
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1007b8ae
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1007b8ae
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1007b8bf
add eax, 4
cmp eax, ecx
jb 0x1007b8a3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1007b92a
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1007b915
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1007b8f6
cmp dl, 0x11
jne 0x1007b90f
inc eax
cmp eax, 6
jl 0x1007b8e5
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1007b8e3
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.1007cc10
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100ada0d
mov esp, ebp
pop ebp
ret

Function at 0x1007ccf0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1007cc40
add esp, 0x18
test eax, eax
je 0x1007cd19
inc eax
cmp byte [eax], 0xcc
je 0x1007cd13
pop ebp
ret

Function at 0x1007cf20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1007ce60
add esp, 0x18
test eax, eax
je 0x1007cf49
inc eax
cmp byte [eax], 0xcc
je 0x1007cf43
pop ebp
ret
Function at 0x1007ea30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1007ebe0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1007eafd
mov edx, dword [ebp - 4]
cmp edx, dword [0x100ede70]
jb 0x1007ea7a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100ede74]
ja 0x1007ea7a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007ea4a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1007eaa0
jmp 0x1007eafd
cmp dword [ebp - 0x14], 0x10000
jne 0x1007eae3
cmp dword [ebp - 0x18], 0x10000
jb 0x1007eae3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007ead6
mov eax, dword [ebp - 8]
jmp 0x1007eaff
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007eaf8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1007ebe0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007ea4a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1007eb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1007ec10
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1007ebd5
mov edx, dword [ebp - 4]
cmp edx, dword [0x100ede70]
jb 0x1007eb55
mov eax, dword [ebp - 4]
cmp eax, dword [0x100ede74]
ja 0x1007eb55
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007eb25
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1007eb7b
jmp 0x1007ebd5
cmp dword [ebp - 0x14], 0x10000
jne 0x1007ebbe
cmp dword [ebp - 0x18], 0x10000
jb 0x1007ebbe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007ebb1
mov eax, dword [ebp - 8]
jmp 0x1007ebd7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007ebd0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1007ec10
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007eb25
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10099608
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100af1b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100af1d7
mov ecx, 5
int 0x29
push 2
call fcn.100aea88
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x100af2e2
test esi, esi
jne 0x100af2e2
push 2
call fcn.100aea88
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100ada0d
mov esp, ebp
pop ebp
ret
Function at 0x100b94a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1001b270
mov esi, dword [ebp + 8]
test al, al
je 0x100b94be
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100b94d0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100be1f0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100b81a0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x100be21a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x100be226
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x100be230
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100b81a0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x100be25a
sub eax, 0xffffff80
ret
add eax, 0x90
ret
Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x100129b
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x108
mov ebx, 2
mov eax, 0x10
mov ecx, 2
xor edx, edx
test eax, eax
setl dl
add eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
mov eax, 0x10
mov ecx, 2
xor edx, edx
test eax, eax
setl dl
add eax, edx
sar eax, 1
mov esi, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x4c], 0x48bc
mov eax, 0x385
mul dword [ebp - 0x4c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0x3e332e0e
mov dword [ebp - 0x14], 0x16dd
add dword [ebp - 0x14], 0x733a
dec dword [ebp - 0x34]
mov eax, esi
sub eax, 8
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x14], 0x321e9
mov dword [ebp - 0x38], 0x11a4
add dword [ebp - 0x10], 0x3961
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
mov eax, 0x20
mov ecx, dword [ebp - 0x40]
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x84]
xor edx, edx
div ecx
mov dword [ebp - 0x88], eax
mov edi, eax
mov dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x38]
mov edx, esi
add edx, ebx
sub edx, 7
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x50]
and edx, 0xff
xor eax, edx
mov byte [ebp - 5], al
inc dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
mov eax, 8
cdq
idiv esi
sub edi, eax
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 5]
mov byte [edx + edi], cl
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jb 0x1001366
mov dword [ebp - 0x54], 0x1003b0d
mov dword [ebp - 0x44], 0x1094000
inc dword [ebp - 0x2c]
mov edi, ebx
shl edi, 1
cmp dword [ebp - 0x2c], edi
jbe 0x100132c
mov dword [ebp - 0x58], 0x102cf0d
mov dword [ebp - 0x5c], 0x11a9000
mov eax, dword [ebp - 0xc]
add eax, esi
sub eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
mov al, byte [edx + eax]
mov byte [ebp - 5], al
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
sub edx, 7
sub eax, edx
mov edx, dword [ebp - 0x44]
mov cl, byte [ebp - 5]
mov byte [edx + eax], cl
cmp dword [ebp - 0x1c], 0x29274
jb 0x10013e2
mov dword [ebp - 4], 0x103a90d
mov dword [ebp - 0x60], 0x10000000
mov eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x58]
mov al, byte [edx + eax]
mov byte [ebp - 5], al
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, esi
sub edx, 7
sub eax, edx
mov edx, dword [ebp - 0x5c]
mov cl, byte [ebp - 5]
mov byte [edx + eax], cl
mov eax, 0xd5f8
cmp eax, dword [ebp - 0x20]
ja 0x1001425
mov dword [ebp - 0x64], 0x103e0d1