joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48eab0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4eaaf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004daff4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004e076c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004e1d07
test eax, eax
je 0x48ebcc
mov ecx, dword [esp + 0x3c]
call fcn.004e0799
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x48eb90
push edi
mov ecx, esi
call fcn.004ddd58
mov ecx, esi
call fcn.0048ed70
cmp dword [esp + 0x38], 1
jne 0x48ebc5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004ddec2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x490db0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x490de3
push esi
call fcn.0049f160
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x490ddc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x490e69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x490e52
mov eax, dword [esi + 8]
test eax, eax
je 0x490e07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x490e4e
cmp eax, 2
je 0x490e52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x490dfa
cmp eax, 3
je 0x490e2d
cmp eax, 1
jne 0x490dfa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x490dfa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x490dfa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00490e90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x490e78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00490e90
add esp, 4
pop esi
ret

Function at 0x491700
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x491721
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x491721
mov eax, dword [eax + 0x44]
test eax, eax
je 0x491721
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4ad6d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4ad736
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4ad736
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4ad717
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4adac0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4adaf8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4ae820
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4ae869
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4aece0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004ae890
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004ae910
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004ae910
lea ecx, [esi + 0xc]
call fcn.004d98ba
lea ecx, [esi + 0x10]
call fcn.004d98ba
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004afea0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004afea0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004afea0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d992f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d992f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b6d70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4b6dbc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4b6dbc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4b6da6
push eax
call ebp
test ax, ax
jl 0x4b6db4
inc esi
add edi, 4
cmp esi, 6
jb 0x4b6d98
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004b6a70
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4ba930
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4ba990
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4ba990
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4ba990
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4ba990
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4ba9a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4bbd40
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4bbde3
test eax, eax
jbe 0x4bbde3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4bbde3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4bbd8e
xor esi, esi
jmp 0x4bbd94
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4bbdbf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004bdcb0
add esi, eax
push esi
mov ebx, esi
call fcn.004bdcb0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4bbda0
pop ebp
test edi, edi
pop edi
jne 0x4bbde3
test ebx, ebx
je 0x4bbde3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004c9370
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4bbf05
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4bc01d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bc01d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004db446
mov esi, eax
test esi, esi
je 0x4bc01d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4bc01d
mov ecx, esi
call fcn.004bbe90
cmp edi, eax
jge 0x4bc01d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4bbfa3
mov dword [esp + 0x34], 1
jmp 0x4bbffe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4bc01d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004bb490
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4dbde9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4dbe21
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d9dd6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d9dae
jmp 0x4dbe2d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4dd4de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4dd520
call fcn.004e364f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4dd520
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4dd517
xor eax, eax
jmp 0x4dd528
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004dd52e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e3b7f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e3bad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e3bcb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e3ae5
jmp 0x4e3bcb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e3bcb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e3ae5
test edi, edi
mov eax, edi
jne 0x4e3bb5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1017fa0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov cl, byte [eax]
push esi
push edi
xor edi, edi
xor esi, esi
cmp cl, 6
je 0x1017feb
cmp cl, 7
je 0x1017feb
jbe 0x1017fce
cmp cl, 0xa
jbe 0x1017feb
cmp cl, 0xb
je 0x1017feb
sub cl, 0xc
cmp cl, 1
jbe 0x1017feb
push edi
push 0x1001d10
push edi
push edi
push edi
push 0x1001c60
push dword [0x102e5ac]
push 4
call fcn.0102c428
jmp 0x1017fee
mov esi, dword [eax + 0x18]
cmp esi, edi
setne al
movzx eax, al
push eax
push 0x1001c34
push edi
push edi
push edi
push 0x1001b88
push dword [0x102e5ac]
push 4
call fcn.0102c428
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x101801e
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov al, byte [eax]
push esi
push edi
xor edi, edi
xor esi, esi
cmp al, 6
je 0x1018067
cmp al, 7
je 0x1018067
jbe 0x101804a
cmp al, 0xa
jbe 0x1018046
cmp al, 0xb
je 0x1018046
sub al, 0xc
cmp al, 1
ja 0x101804a
push 8
jmp 0x1018069
push edi
push 0x1001ee4
push edi
push edi
push edi
push 0x1001e38
push dword [0x102e5ac]
push 4
call fcn.0102c428
jmp 0x101806a
push 4
pop esi
cmp esi, edi
setne al
movzx eax, al
push eax
push 0x1001e0c
push edi
push edi
push edi
push 0x1001d60
push dword [0x102e5ac]
push 4
call fcn.0102c428
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1018b67
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
xor eax, eax
mov esi, ecx
cmp dword [esi + 0xac], eax
setne cl
movzx ecx, cl
push ecx
push 0x10023bc
push eax
push eax
push eax
push 0x10022d8
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [esi + 0xac]
pop esi
ret

Function at 0x1018e4e
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x60]
xor eax, eax
cmp esi, eax
setne cl
movzx ecx, cl
push ecx
push 0x10024bc
push eax
push eax
push eax
push 0x10023f0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, esi
pop esi
ret

Function at 0x1018e50
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x60]
xor eax, eax
cmp esi, eax
setne cl
movzx ecx, cl
push ecx
push 0x10024bc
push eax
push eax
push eax
push 0x10023f0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, esi
pop esi
ret
Function at 0x1018ec3
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, dword [esi]
push edi
sete al
movzx eax, al
push eax
push 0x1002688
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x10025d0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov edi, dword [ebp + 8]
cmp dword [esi + 8], edi
sbb al, al
inc al
movzx eax, al
push eax
push 0x1002590
push ebx
push ebx
push ebx
push 0x10024d8
push dword [0x102e5ac]
push 4
call fcn.0102c428
lea eax, [edi + 1]
pop edi
mov dword [esi], eax
mov dword [esi + 0xc], eax
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1018fc1
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
sete al
movzx eax, al
push eax
push 0x100297c
push 0
push 4
push 3
push 0x10028b0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
pop esi
pop ebp
ret 4

Function at 0x1019001
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x1019016
cmp dword [ecx + 4], 0
je 0x1019016
cmp dword [ecx + 0xc], eax
jae 0x1019016
mov al, 1
jmp 0x1019018
xor al, al
push eax
push 0x100280c
push 0x333
push 0
push 3
push 0x10029a8
push dword [0x102e5ac]
push 4
call fcn.0102c428
ret

Function at 0x101903f
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, dword [esi]
setb al
movzx eax, al
push eax
push 0x100280c
xor eax, eax
push eax
push eax
push eax
push 0x1002a58
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, edi
imul eax, eax, 0x38
add eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret 4
Function at 0x1019083
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x40], eax
mov al, byte [ebp + 8]
mov byte [esi + 0x68], al
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], ebx
mov dword [esi], 0x1002838
mov byte [esi + 0x60], bl
mov dword [esi + 0x64], ebx
or dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x7c], eax
lea eax, [esi + 0x34]
mov byte [esi + 0x88], 1
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [eax + 4], eax
mov dword [eax], eax
cmp dword [esi + 0x7c], ebx
push edi
setne al
movzx eax, al
push eax
push 0x100280c
push ebx
push ebx
push ebx
push 0x1002b20
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x2c
lea eax, [esi + 0xb0]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 6
pop ecx
xor eax, eax
lea edi, [esi + 0x48]
rep stosd dword es:[edi], eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x1019458
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
je 0x101949d
push edi
push 1
add esi, 0x15c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, edi
sete al
movzx eax, al
push eax
push 0x1003114
push edi
push edi
push edi
push 0x1003060
push dword [0x102e5ac]
push 4
call fcn.0102c428
jmp 0x10194e6
push 1
push edi
lea eax, [esi + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
sete al
movzx eax, al
push eax
push 0x1003114
push edi
push edi
push edi
push 0x1002fa8
push dword [0x102e5ac]
push 4
call fcn.0102c428
push 0x58
mov dword [esi + 0x40], edi
push edi
add esi, 0x100
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
pop edi
pop esi
pop ebp
ret 4

Function at 0x1019531
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
xor eax, eax
mov esi, ecx
cmp dword [esi + 0x8c], eax
setne cl
movzx ecx, cl
push ecx
push 0x100330c
push eax
push eax
push eax
push 0x1003250
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [esi + 0x8c]
pop esi
ret
Function at 0x10197f3
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [eax + 0x24]
push esi
push edi
mov edi, dword [eax + 0x20]
push ebx
mov esi, 0x102e080
push edi
mov ecx, esi
call fcn.01026463
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
neg eax
sbb eax, eax
and eax, 0x3ffffdd3
push 4
lea edx, [ebp - 8]
add eax, 0xc000022d
push edx
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp + 0x10], 0
je 0x10198b9
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
mov ecx, esi
call fcn.01026507
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x10198ac
mov eax, dword [ebp - 4]
lea edx, [ebp + 0x10]
push edx
push 0x1003454
mov dword [ebp + 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x101987c
cmp dword [ebp + 0x10], esi
je 0x101987c
mov al, 1
jmp 0x101987e
xor al, al
push eax
push 0x100342c
push esi
push esi
push esi
push 0x1003360
push dword [0x102e5ac]
push 4
call fcn.0102c428
push dword [ebp + 0x10]
push esi
call edi
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x10198ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x10198b9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10199bf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], 7
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x1019a95
cmp dword [ebp - 4], 7
je 0x1019a05
cmp dword [ebp - 4], 1
jne 0x1019a54
mov eax, dword [ebp - 8]
shr eax, 1
xor ecx, ecx
test esi, esi
jne 0x1019ae2
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102af97
mov esi, eax
pop ecx
test esi, esi
je 0x1019aa4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jb 0x10199d8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
mov ebx, 0x64a
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x1019a95
test dword [eax + 0x9c], 0x800
je 0x1019a95
cmp byte [eax + 0x99], 2
jb 0x1019a95
push dword [ebp - 4]
push 0x1001b34
push 0x28
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
test esi, esi
je 0x1019a47
push esi
call fcn.0102afb2
pop ecx
xor esi, esi
jmp 0x1019a47
push 8
pop ebx
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x1019a95
test dword [eax + 0x9c], 0x800
je 0x1019a95
cmp byte [eax + 0x99], 2
jb 0x1019a95
push 0x1001b34
push 0x29
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010165d0
jmp 0x1019a95
mov word [esi + eax*2 - 2], cx
jmp 0x1019a37