joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024b00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov edi, edx
mov esi, ecx
push edi
call fcn.1000c090
add esp, 4
test al, al
je 0x10024b2c
cmp dword [edi + 0x14], 8
jb 0x10024b21
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push esi
call fcn.1000bf00
add esp, 4
test al, al
je 0x10024b4c
cmp dword [esi + 0x14], 8
jb 0x10024b41
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10025790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcf3b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x22c], 0
push eax
push 0x100db8d8
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.10002eb0
mov dword [ebp - 4], 0
call fcn.1000eeb0
lea ecx, [ebp - 0x23c]
test al, al
je 0x1002580e
push 0x21
push str.SOFTWAREWow6432Node2345Explorer
jmp 0x10025815
push 0x15
push 0x100db4d4
call fcn.10002eb0
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x240]
push ecx
push 0x20019
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x240], 0
cmovae eax, dword [ebp - 0x23c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10025867
mov dword [ebp - 0x240], 0
xor bl, bl
jmp 0x10025930
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.1008bb90
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x220], 0
push eax
push 0
push 0
push 0
push 0x100db834
push dword [ebp - 0x240]
call esi
test eax, eax
je 0x100258bb
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x10025930
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0x100db834
push dword [ebp - 0x240]
call esi
push dword [ebp - 0x240]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x100258ff
xor bl, bl
jmp 0x10025930
lea edx, [ebp - 0x21c]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10025910
sub edx, esi
lea eax, [ebp - 0x21c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10002eb0
mov bl, 1
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x1002596c
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002598c
push edx
push ecx
call fcn.10088fde
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 4
call fcn.100907c4
int3
Function at 0x100259a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcf7b
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x670], ebx
push eax
push 0x100db8d8
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
call fcn.10002eb0
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1008bb90
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push 0
push eax
call fcn.1008bb90
add esp, 0xc
mov dword [ebp - 0x66c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10025a5a
or eax, eax
jmp 0x10025b18
lea eax, [ebp - 0x66c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10025abc
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax + eax]
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x424]
push 0x100df720
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x424]
push str.2345Explorer.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10025b08
lea eax, [ebp - 0x66c]
push eax
push esi
call edi
test eax, eax
jne 0x10025a80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x10025bed
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025be3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025c0d
jmp 0x10025be3
mov eax, dword [ebp - 0x664]
test eax, eax
je 0x10025ac3
mov ebx, dword [ebp - 0x670]
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.10025c20
test al, al
je 0x10025ac3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025b32
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.10002eb0
lea eax, [ebp - 0x43c]
push eax
call fcn.1000c090
add esp, 4
test al, al
je 0x10025ac3
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x43c]
call fcn.1000ce40
cmp eax, 0xffffffff
je 0x10025ac3
push eax
push 0
lea eax, [ebp - 0x688]
push eax
lea ecx, [ebp - 0x43c]
call fcn.1000cc10
push eax
mov ecx, ebx
call fcn.10005ef0
mov edx, dword [ebp - 0x674]
cmp edx, 8
jb 0x10025bdc
mov ecx, dword [ebp - 0x688]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025bd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025c12
push edx
push ecx
call fcn.10088fde
add esp, 8
mov bl, 1
jmp 0x10025ac5
push edx
push ecx
call fcn.10088fde
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 4
call fcn.100907c4
call fcn.100907c4
int3
Function at 0x10025c20
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c8], eax
push ebx
test eax, eax
je 0x10025c7c
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x6cc], ebx
test ebx, ebx
je 0x10025c7c
push 0x104
lea eax, [ebp - 0x2dc]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x10025c8f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 8
push esi
push edi
push 0x3e8
lea eax, [ebp - 0x6c4]
push 0
push eax
call fcn.1008bb90
xor eax, eax
push 0xc8
push eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push eax
call fcn.1008bb90
add esp, 0x18
lea eax, [ebp - 0x6c4]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10025d85
xor edi, edi
cmp word [ebp - 0x6c4], di
je 0x10025d85
lea esi, [ebp - 0x6c4]
xor ebx, ebx
push 0x100dfec0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10025d6d
push 0x100dfec8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10025d6d
movzx eax, word [esi]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ebx - 0x6c2]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10025d99
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [ebp - 0xd4]
push esi
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.10092b5e
add esp, 0xc
test eax, eax
je 0x10025dbc
add edi, 4
lea esi, [ebp - 0x6c4]
lea ebx, [edi + edi]
add esi, ebx
cmp word [esi], 0
jne 0x10025cf3
mov edi, dword [ebp - 0x6c8]
lea eax, [ebp - 0x2dc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor bl, bl
push dword [ebp - 0x6cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10088f98
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x6c8]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2dc]
lea eax, [eax + esi*2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov bl, 1
jmp 0x10025d9b
Function at 0x10025df0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcfc3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10002dc0
mov ecx, 0x100dc09c
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025e50
sub ecx, edx
sar ecx, 1
push ecx
push 0x100dc09c
lea ecx, [ebp - 0x8c]
call fcn.10002ff0
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x10025ee3
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026003
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x78], 7
call fcn.1000c090
add esp, 4
test al, al
je 0x10025fa6
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.1008bb90
add esp, 0xc
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
push 0x20
lea eax, [ebp - 0x58]
push eax
push 0x100db8d8
push str.Version
push str.AppLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x100db8d8
lea eax, [ebp - 0x58]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10025f76
test dx, dx
je 0x10025f72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10025f76
add eax, 4
add ecx, 4
test dx, dx
jne 0x10025f50
xor eax, eax
jmp 0x10025f7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10025fa6
lea edx, [ebp - 0x58]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10025f85
sub edx, esi
lea eax, [ebp - 0x58]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10002eb0
mov byte [ebp - 0x71], 1
jmp 0x10025faa
mov byte [ebp - 0x71], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10025fe0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025fd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026008
push edx
push ecx
call fcn.10088fde
add esp, 8
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100907c4
call fcn.100907c4
int3
Function at 0x1002ce50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be2c6
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xc0]
call fcn.1001dba0
push 0x100dc1a0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10005ff0
add esp, 0xc
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 1
push eax
call fcn.1000c090
add esp, 4
test al, al
jne 0x1002cf66
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x1002cf06
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002cefc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d0d8
push edx
push ecx
call fcn.10088fde
add esp, 8
mov edx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp edx, 8
jb 0x1002d0d4
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d0ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d0dd
jmp 0x1002d0ca
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.1008bb90
add esp, 0xc
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
cmovae eax, dword [ebp - 0xa8]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x100db8d8
push str.ServiceTime
push 0x100dc180
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x100db8d8
lea eax, [ebp - 0x90]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002cfe6
test dx, dx
je 0x1002cfe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002cfe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002cfc0
xor eax, eax
jmp 0x1002cfeb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002cec6
lea eax, [ebp - 0x90]
push eax
call fcn.10091b5b
mov esi, dword [ebp - 0x94]
add esp, 4
mov edi, eax
mov ebx, edx
cmp esi, 8
jb 0x1002d046
mov ecx, dword [ebp - 0xa8]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x1002d03c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d0d8
push esi
push ecx
call fcn.10088fde
add esp, 8
mov edx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp edx, 8
jb 0x1002d09f
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d095
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d0d8
push edx
push ecx
call fcn.10088fde
add esp, 8
push ebx
push edi
call fcn.1003bef0
add esp, 8
test al, al
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret
push edx
push ecx
call fcn.10088fde
add esp, 8
mov al, 1
jmp 0x1002d0ae
call fcn.100907c4
call fcn.100907c4
int3
Function at 0x1002d2d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be338
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.100ad410
add esp, 4
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x680053
lea edx, [eax + 2]
mov dword [ebp - 0x3c], 0x650069
mov dword [ebp - 0x38], 0x64006c
mov dword [ebp - 0x34], 0x32005f
mov dword [ebp - 0x30], 0x340033
mov dword [ebp - 0x2c], 0x450035
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002d382
sub eax, edx
lea ecx, [ebp - 0x58]
sar eax, 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10002eb0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10002ea0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x1002d3b6
mov esi, dword [esi]
lea ecx, [ebp - 0x58]
call fcn.1000ffa0
xor ecx, ecx
test al, al
setne cl
add ecx, 0x32
mov word [esi + 0xa], cx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1002d409
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d3ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d441
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 4
call fcn.100907c4
int3

Function at 0x1002d450
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x144]
push eax
call fcn.1000ef40
add esp, 4
test al, al
jne 0x1002d48b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 4
push esi
xor esi, esi
cmp dword [ebp - 0x140], 5
jne 0x1002d4c9
mov eax, dword [ebp - 0x13c]
cmp eax, 2
jne 0x1002d4c0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [ebp - 0x2a], 1
jne 0x1002d4b9
cmp word [ebp - 0x28], 9
je 0x1002d4c5
mov esi, 1
jmp 0x1002d4d4
cmp eax, 1
ja 0x1002d4c9
xor esi, esi
jmp 0x1002d4d4
mov eax, 1
cmp byte [ebp - 0x2a], al
cmovne esi, eax
call fcn.1000eeb0
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push esi
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push str._d._d._d._d
push edi
call fcn.1000f8c0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
mov al, 1
pop esi
pop edi
call fcn.10088f98
mov esp, ebp
pop ebp
ret 4
Function at 0x10032b10
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bec2d
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], ecx
push 8
lea eax, [ebp - 0x98]
mov dword [ebp - 0xac], ecx
push eax
mov dword [ebp - 0xa8], 0
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov esi, dword [ebp - 0x98]
xor ecx, ecx
and esi, 0xf
mov dword [ebp - 0xa0], 0
add esi, 5
mov edx, 2
mov dword [ebp - 0x9c], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10088fec
mov ebx, eax
add esp, 4
mov dword [ebp - 0xa0], ebx
lea eax, [esi*2 + 2]
mov dword [ebp - 4], 1
push eax
push 0
push ebx
call fcn.1008bb90
mov ecx, 0x1f
lea edi, [ebp - 0x90]
mov esi, 0x100e0518
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp dword [ebp - 0x9c], edi
jbe 0x10032c38
lea esi, [ebp - 0x90]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10032bf0
sub esi, ecx
sar esi, 1
nop
push 8
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
push 0
push esi
push dword [ebp - 0x94]
push dword [ebp - 0x98]
call fcn.10089930
mov ax, word [ebp + eax*2 - 0x90]
mov word [ebx + edi*2], ax
inc edi
cmp edi, dword [ebp - 0x9c]
jl 0x10032c00
mov esi, dword [ebp - 0xa4]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10032c56
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
push ebx
call fcn.10002eb0
mov dword [ebp - 0xa8], 1
mov byte [ebp - 4], 0
test ebx, ebx
je 0x10032c89
push ebx
call fcn.10088fa9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret
Function at 0x10035190
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bef60
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
call fcn.1000ba60
push 0x80
push 4
push 1
push 0x80000000
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.10019850
test al, al
je 0x10035342
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
test esi, esi
je 0x10035231
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10035231
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003522b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10035231
xor edi, edi
mov edi, ebx
jmp 0x10035234
mov edi, dword [ebp - 0x40]
lea eax, [edi + 1]
push eax
call fcn.10088fec
push edi
mov ebx, eax
push 0
push ebx
call fcn.1008bb90
add esp, 0x10
mov dword [ebp - 0x30], 0
test esi, esi
je 0x1003531d
test ebx, ebx
je 0x1003531d
cmp dword [esi], 0xffffffff
je 0x1003531d
push 0
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003531d
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1003529b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003529b
mov dword [esi], 0xffffffff
push dword [ebp - 0x30]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.1001af50
push ebx
mov byte [ebp - 4], 1
call fcn.10088fa9
mov eax, dword [ebp - 0x38]
add eax, 0x48
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000f2b0
add esp, 0x10
test eax, eax
sete bl
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10035304
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100352fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035373
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
jmp 0x10035344
push ebx
call fcn.10088fa9
add esp, 4
test esi, esi
je 0x10035342
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10035342
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10035342
mov dword [esi], 0xffffffff
xor bl, bl
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10019810
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 8
call fcn.100907c4
int3