joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006edc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x1001c9bc
call fcn.1001c65a
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x20], esi
push 2
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10006f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1000707a
movzx esi, si
or esi, 0x80070000
jmp 0x1000707a
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x10006f5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10007071
movzx esi, si
or esi, 0x80070000
jmp 0x10007071
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10006f3d
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edi, eax
cmp byte [ecx + eax], 0
je 0x10006fed
lea edi, [ecx + 1]
cmp edi, 0x400
ja 0x10006fa7
mov ecx, edi
call fcn.10006158
test al, al
je 0x10006fa7
mov eax, edi
call fcn.1001c700
mov edi, esp
jmp 0x10006fc8
lea eax, [edi + 8]
cmp eax, edi
jae 0x10006fb2
mov edi, ebx
jmp 0x10006fc8
push eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x10006fae
mov esi, eax
mov dword [eax], ebx
mov dword [ebp - 0x20], esi
lea edi, [eax + 8]
test edi, edi
jne 0x10006fd6
mov esi, 0x8007000e
jmp 0x10007071
mov eax, dword [ebp - 0x14]
inc eax
push eax
push dword [ebp - 0x18]
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [edi + eax], bl
test edi, edi
je 0x10007063
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ff6
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
add eax, eax
mov dword [ebp - 0x14], eax
cmp eax, 0x400
ja 0x10007028
mov ecx, eax
call fcn.10006158
test al, al
mov eax, dword [ebp - 0x14]
je 0x10007028
call fcn.1001c700
mov esi, esp
jmp 0x10007043
lea ecx, [eax + 8]
cmp ecx, eax
jb 0x10007063
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x10007063
mov dword [eax], esi
lea esi, [eax + 8]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x10007063
push dword [ebp - 0x18]
xor eax, eax
push esi
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push ebx
call fcn.10006dba
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x20]
call fcn.10005b68
mov eax, esi
lea esp, [ebp - 0x38]
call fcn.1001c618
ret 0x10
Function at 0x10007ce0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
push 0x10002538
push SysReAllocString
mov bl, 1
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10007d54
push esi
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push 4
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
pop edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1000258c
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], edi
jne 0x10007d48
test eax, eax
jne 0x10007d48
cmp dword [ebp - 0xc], eax
setne bl
test esi, esi
je 0x10007d53
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012374
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10021f74]
push esi
push edi
test eax, eax
jne 0x1001238d
call fcn.10012449
test eax, eax
je 0x100123d9
mov eax, dword [0x10021f74]
cmp eax, 1
jne 0x100123a9
push 0xd
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100123d9
jmp 0x1001241f
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x100123c2
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x1001241f
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 0x100123dd
xor eax, eax
jmp 0x1001241f
mov eax, dword [esi]
push dword [0x10021f74]
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x10012403
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1001241f
lea edi, [esi + 0xff0]
push esi
push dword [0x10021f74]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10012409
mov eax, esi
pop edi
pop esi
ret

Function at 0x10013053
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
call fcn.10012d25
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x1001307b
mov eax, dword [0x1001fb48]
mov esi, dword [eax + 8]
test esi, esi
jne 0x1001307b
mov eax, 0x80070057
jmp 0x100130f1
push edi
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100130a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100130ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100130b6
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x100130f0
jmp 0x100130c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x100130ce
mov eax, 0x8000ffff
jmp 0x100130f0
and edi, 0xf
je 0x100130e1
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
lea ecx, [ecx + 2]
sub edi, 1
jne 0x100130d3
movzx eax, word [ecx]
push eax
lea eax, [ecx + 2]
mov ecx, ebx
push eax
call fcn.10012c7e
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10019eb7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x2000000
xor edi, edi
push edi
push 0x100033c4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019f22
push esi
lea eax, [ebp - 8]
push eax
push 0x1001e804
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10003408
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10019f1e
cmp dword [ebp - 0xc], 4
jne 0x10019f1e
inc edi
mov eax, edi
jmp 0x10019f24
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x1001a143
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x2000000
xor edi, edi
mov esi, edx
push edi
push 0x100033c4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001a1a9
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001a1a5
cmp dword [ebp - 0xc], 4
jne 0x1001a1a5
inc edi
mov eax, edi
jmp 0x1001a1ab
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b401
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push edi
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edx
mov edi, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1001b425
push 0x19
pop ecx
int 0x29
test byte [ebp - 0xc], 0x44
je 0x1001b46f
push ebx
push esi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x40]
xor edx, edx
lea ecx, [ebx - 1]
mov eax, ecx
lea esi, [ebx - 1]
and ecx, dword [ebp - 4]
and eax, edi
add eax, ebx
dec ecx
add eax, ecx
not esi
div ebx
xor edx, edx
and esi, edi
mov ecx, eax
mov eax, dword [ebp - 4]
div ebx
add ecx, eax
je 0x1001b46d
xor eax, eax
lock or dword [esi], eax
add esi, ebx
sub ecx, 1
jne 0x1001b461
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1001c260
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 0x1001c29e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1001c296
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1001c2a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1001c286
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001c370
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1001c386
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1001c3a1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x4f9120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
jmp 0x4f913a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f9141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9130
mov eax, 1
add ebx, ebx
jne 0x4f9153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f9164
jne 0x4f9183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9183
dec eax
add ebx, ebx
jne 0x4f9170
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f9148
add ebx, ebx
jne 0x4f917f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f91d5
xor ecx, ecx
sub eax, 3
jb 0x4f919b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f920a
sar eax, 1
mov ebp, eax
jmp 0x4f91a6
add ebx, ebx
jne 0x4f91a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9174
inc ecx
add ebx, ebx
jne 0x4f91b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f9174
add ebx, ebx
jne 0x4f91c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f91b6
jne 0x4f91d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f91b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f91f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f91e6
jmp 0x4f9136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f91f4
add edi, ecx
jmp 0x4f9136
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f9212
cmp byte [edi], 0x11
jne 0x4f9212
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 0x4f9217
lea edi, [esi + 0xf2000]
mov eax, dword [edi]
or eax, eax
je 0x4f928f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1164dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x116658]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f9244
mov ecx, edi
jns 0x4f9273
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 + 0x11665c]
or eax, eax
je 0x4f9289
mov dword [ebx], eax
add ebx, 4
jmp 0x4f9261
call dword [esi + 0x11666c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f92c0
cmp al, 0xef
ja 0x4f92b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f9295
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f92a2
mov ebp, dword [esi + 0x116660]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4f92f4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x40afb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6121d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
push 0
push 0x14
mov dword [ebp - 8], eax
mov dword [eax], 0
call fcn.00407d80
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aff6
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00540c56
mov esp, ebp
pop ebp
ret
cmp byte [0x613a34], 0
je 0x40b048
mov edi, dword [0x613b30]
test edi, edi
je 0x40b01f
push 0xc8
mov ecx, edi
call dword [0x5aa43c]
call edi
add esp, 4
test eax, eax
jne 0x40b048
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x40af60
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.00572c4c
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x40b058
jmp 0x40b04b
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x40b078
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov ecx, ebx
mov dword [esi + 4], eax
call dword [0x5aa43c]
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
call fcn.00540c56
mov esp, ebp
pop ebp
ret
Function at 0x44f410
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x10]
mov edi, edx
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebx + 0x10], 1
push edi
push edi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push ebx
call fcn.00455790
add esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x44f451
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push ebx
call fcn.00455790
add esp, 0x14
pop edi
pop ebx
pop ebp
ret
Function at 0x463f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00463b2c
push eax
push esi
push dword [ebp + 8]
call fcn.00463ae1
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00463b2c
push eax
push esi
push dword [ebp + 8]
call fcn.00463ae1
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00463b1c
wait
pop esi
loop 0x464004
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00463b1c
or bh, byte [edi - 0x7a7212fc]
jl 0x464007
lea eax, [ebp - 0x84]
push eax
call fcn.00463b2c
invalid
invalid
Function at 0x4ac4a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597648
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x6121d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0x5e10a0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.004ac170
lea eax, [ebp - 0x3c]
push eax
call fcn.00545db0
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.004ac230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4bccc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597d36
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6121d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00540e66
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00545576
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x4c89c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6121d4]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4c8b1b
cmp byte [ebx + 0x3e], 0
je 0x4c8b1b
mov eax, dword [ebx]
push 0xffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, ebx
call esi
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x4c8a30
xor al, al
jmp 0x4c8b1d
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004bfb40
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x14]
nop dword [eax + eax]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
mov edi, dword [ebx + 0x38]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov esi, dword [edi]
add eax, ecx
push eax
push edx
lea eax, [ebx + 0x40]
mov esi, dword [esi + 0x20]
mov ecx, esi
push eax
call dword [0x5aa43c]
mov ecx, edi
call esi
sub eax, 0
je 0x4c8aaa
sub eax, 1
je 0x4c8aae
mov edi, dword [ebp - 0x14]
sub eax, 2
je 0x4c8b01
xor bl, bl
jmp 0x4c8b03
mov byte [ebx + 0x3e], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, ecx
sub esi, eax
je 0x4c8ae3
push dword [ebx + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.0057ca89
mov edi, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4c8aa6
cmp byte [ebx + 0x3e], 0
je 0x4c8b01
test esi, esi
jne 0x4c8a60
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004bcab0
jmp 0x4c8a55
mov bl, 1
cmp edi, 0x10
jb 0x4c8b17
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004b3ec0
mov al, bl
jmp 0x4c8b1d
mov al, 1
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.00540c56
mov esp, ebp
pop ebp
ret
Function at 0x4cf210
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aa71
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6121d4]
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 edi, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, 2
mov dword [ebp - 4], 1
xor eax, eax
mov esi, ebx
sub ecx, ebx
mov edi, ecx
nop
cmp word [esi], 0
jne 0x4cf2e4
lea ecx, [eax + ebx]
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, esi
je 0x4cf2b1
mov eax, esi
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004ab820
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x38]
call fcn.004d1b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4cf2da
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004abec0
lea eax, [edi + esi]
cmp word [eax + ebx], 0
je 0x4cf2e9
add esi, 2
jmp 0x4cf280
mov edi, dword [ebp - 0x3c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4cf312
mov eax, dword [edi]
jmp 0x4cf314
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x5e91b4
call fcn.004ab820
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
sub ecx, esi
imul ecx
mov dword [ebp - 0x40], 1
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x4cf396
nop dword [eax + eax]
push 0x5e95dc
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004c9400
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004b4030
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4cf38b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004abec0
add esi, 0x18
sub ebx, 1
jne 0x4cf350
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x4cf3c8
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
push ecx
mov ecx, esi
call fcn.004b7770
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
call fcn.004b4b90
mov eax, edi
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.00540c56
mov esp, ebp
pop ebp
ret