joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e931
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4ef588]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48e974
cmp word [esi], dx
jne 0x48e974
or byte [edi + eax + 0x28], 4
jmp 0x48e979
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x48eacc
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x48eaac
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x48e9bb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48e9f1
cmp eax, edx
jae 0x48e9fd
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x48e993
jmp 0x48eacc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48eaa8
cmp dword [ebp - 0x14], 0
je 0x48eaa8
mov eax, dword [ebx*4 + 0x4ef588]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x48ea80
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x48ea49
mov word [esi], cx
jmp 0x48ea7c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4ef588]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4ef588]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4ef588]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x48eacc
pop ebx
cmp word [ebp - 4], bx
jne 0x48ea91
cmp esi, dword [ebp + 0xc]
jne 0x48ea91
mov word [esi], bx
jmp 0x48eac9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0049416b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x48eacc
push 0xd
jmp 0x48eac5
mov ecx, dword [ebx*4 + 0x4ef588]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48eac3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48eacc
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b5910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4eb544]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x84], 0x420041
xor edx, edx
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x4b5a4f
nop word [eax + eax]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x4b5a4a
inc eax
cmp eax, 0x40
jb 0x4b5a26
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047be9b
mov esp, ebp
pop ebp
ret 4
inc edx
cmp edx, esi
jl 0x4b5a20
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0047be9b
mov esp, ebp
pop ebp
ret 4
Function at 0x4b5df0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4eb544]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0047d540
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b5ed7
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b5e8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b5e8f
mov ecx, dword [edi]
jmp 0x4b5ea1
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
push ecx
mov dword [ebp - 0x218], 0
call fcn.0047c0d3
mov ecx, dword [ebp - 0x214]
add esp, 4
push 0
mov dword [ecx], eax
lea ecx, [ebp - 0x218]
push ecx
push dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047be9b
mov esp, ebp
pop ebp
ret 8
Function at 0x10001c30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x1021c5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x11c], 0x5c
mov byte [ebp - 0x11b], 0x53
mov byte [ebp - 0x11a], 0x4b
mov byte [ebp - 0x119], 0x2e
mov byte [ebp - 0x118], 0x74
mov byte [ebp - 0x117], 0x78
mov byte [ebp - 0x116], 0x74
mov byte [ebp - 0x115], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.10110640
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x10001d59
push 0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
push eax
call fcn.1001cdf9
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], 0
push 0
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x120], 0
je 0x10001d59
mov eax, dword [ebp - 0x120]
push eax
call fcn.100010c0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10110728
mov esp, ebp
pop ebp
ret

Function at 0x1002f5d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1002f617
call fcn.100210ba
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002f617
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1002f633
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1002f0d0
mov esi, eax
test edi, edi
je 0x1002f631
test ebx, ebx
je 0x1002f631
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1002fa12
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10133193
call fcn.10111937
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x1002fa37
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1002fa89
call fcn.10024878
push eax
lea ecx, [ebp - 0x10]
call fcn.1001db6c
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1011403b
push eax
call fcn.1001cf41
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.1001d41c
mov eax, esi
call fcn.10111a0f
ret 8

Function at 0x1005a03f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.100210ba
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1005a078
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10059c7c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1005a0d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x1005a0fa
cmp dword [edi + 0x74], 0
jne 0x1005a0fa
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.100210ba
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1005a097
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1005c0d4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.1005bd78
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1005c11e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10024779
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1001f969
jmp 0x1005c129
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10023a8d
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1005c12f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.1002f6dc
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1005c16c
call fcn.1005bd78
mov dword [esi + 0xc], 1
jmp 0x1005c171
call fcn.1005bd78
cmp dword [esi], 0
je 0x1005c1ba
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1005c192
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10024779
jmp 0x1005c1a4
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.1001dd14
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1001f969
jmp 0x1005c1de
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1005c1de
push dword [esi]
push dword [ebp + 8]
call fcn.10023a8d
pop esi
pop ebp
ret 0xc

Function at 0x1008b7aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x1008b7c4
call fcn.100210ba
mov esi, dword [eax + 0xc]
push dword [0x1023bc40]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1008b7e2
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1008b7da
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x1008b80f
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x1008b7dc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1008b6d8
mov esi, eax
jmp 0x1008b801

Function at 0x100d6700
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.1010acd3
call fcn.10020aeb
cmp dword [eax + 0x14], 0
jne 0x100d671d
mov ecx, esi
pop esi
jmp fcn.100d6205
pop esi
ret

Function at 0x100d992a
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100f4e90
call fcn.10020aeb
cmp dword [eax + 0x14], 0
jne 0x100d9947
mov ecx, esi
pop esi
jmp fcn.100d92fd
pop esi
ret
Function at 0x100ebf7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100ebf95
mov edi, dword [esi + 0xc]
jmp 0x100ebfd5
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100ebfae
call fcn.100227a4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100ebfc3
call fcn.100227a4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100ebfd5
call fcn.100227a4
call fcn.100210ba
cmp dword [eax + 0x3c], 0
je 0x100ebfea
push edi
mov ecx, ebx
call fcn.100eae38
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100ebe96
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100ec008
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100ec014
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10110728
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1021c5b0]
jne 0x10110732
repz ret
jmp fcn.101169a8
Function at 0x10121f65
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1021c5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.101178bc
and dword [ebp - 0x14], 0
cmp dword [0x1023e408], 0
mov dword [ebp - 0x18], eax
jne 0x10122018
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x101220c0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101c77bc
push ebx
call edi
test eax, eax
je 0x101220c0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x101c77ac
push ebx
mov dword [0x1023e408], eax
call edi
push eax
call esi
push 0x101c7798
push ebx
mov dword [0x1023e40c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1023e410], eax
call edi
push eax
call esi
mov dword [0x1023e418], eax
test eax, eax
je 0x10122018
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1023e414], eax
mov eax, dword [0x1023e414]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10122071
cmp dword [0x1023e418], ecx
je 0x10122071
push eax
call esi
push dword [0x1023e418]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10122071
test ebx, ebx
je 0x10122071
call edi
test eax, eax
je 0x10122068
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10122068
test byte [ebp - 8], 1
jne 0x10122071
or dword [ebp + 0x10], 0x200000
jmp 0x101220a4
mov eax, dword [0x1023e40c]
cmp eax, dword [ebp - 0x18]
je 0x101220a4
push eax
call esi
test eax, eax
je 0x101220a4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x101220a4
mov eax, dword [0x1023e410]
cmp eax, dword [ebp - 0x18]
je 0x101220a4
push eax
call esi
test eax, eax
je 0x101220a4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1023e408]
call esi
test eax, eax
je 0x101220c0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x101220c2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10110728
leave
ret
Function at 0x401ca0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4f6440]
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 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.004865cf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x4ea290
push eax
call fcn.00486aa8
lea eax, [ebp - 0x3c]
push eax
call fcn.00486d64
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
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.00486af3
mov eax, dword [ebp - 0x44]
add esp, 0x10
test eax, eax
je 0x401d79
push eax
call fcn.004a4483
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
test eax, eax
je 0x401d90
push eax
call fcn.004a4483
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x401da7
push eax
call fcn.004a4483
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x401dbe
push eax
call fcn.004a4483
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x401dd5
push eax
call fcn.004a4483
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
test eax, eax
je 0x401dec
push eax
call fcn.004a4483
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.00486627
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 0x403840
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0x3c
push esi
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x3c]
movlpd qword [ebp - 0x10], xmm0
mov esi, ecx
movlpd qword [ebp - 8], xmm0
movaps xmm0, xmmword [0x4ec8f0]
push eax
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.runas
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4038ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Unable_to_execute__ls_as_admin:_Error__d_n
call fcn.0042c800
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4038c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
xor eax, eax
cmp dword [ebp + 8], 1
push esi
setne al
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], eax
mov esi, ecx
lea eax, [ebp - 0x3c]
movlpd qword [ebp - 0x18], xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x403942
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Unable_to_execute__ls_as_admin:_Error__d_n
call fcn.0042c800
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004aed37
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404030
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0049fde0
mov eax, dword [0x4f6440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x8000000
push 3
push 0
push 1
push closesocket
push ecx
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1008], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404093
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f18e
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x404182
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x404174
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x1010]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push esi
call edi
test eax, eax
je 0x40413d
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov eax, dword [ebp - 0x1010]
test eax, eax
je 0x40413d
push 0
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call ebx
test eax, eax
je 0x404168
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push esi
call edi
test eax, eax
jne 0x404101
push 0
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0x10
push eax
push dword [ebp - 0x1018]
push 2
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x40419c
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f18e
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0049f18e
mov esp, ebp
pop ebp
ret