joyce8/EMBER2024-capa huggingface dataset:
Function at 0x566a04
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x566a1b
add esp, 0xfffffff0
call fcn.0040645c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0049c6ec
mov eax, dword [0x57f9cc]
cmp byte [eax], 0
jne 0x566a48
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x57fc8c]
cmp word [eax + 2], 0
jne 0x566a62
mov eax, dword [0x57fc8c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00568dbc
mov eax, dword [0x57fd98]
cmp word [eax + 2], 0
jne 0x566a7c
mov eax, dword [0x57fd98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00568fc0
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4b75ac]
call fcn.004bc3c0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x56943c
mov dl, 1
mov eax, dword [0x46ad00]
call fcn.00405e98
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x46ad00]
call fcn.00405e98
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4bb14c]
call fcn.004c32b4
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x566c6c
mov eax, dword [0x57fb58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004c373c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5696fc
mov dl, 1
mov eax, dword [0x46ad00]
call fcn.00405e98
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x57fb58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041e38c
test eax, eax
je 0x566b96
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041e1e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041e370
test eax, eax
je 0x566bae
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040876c
push ebx
push 0x568798
call fcn.0055c248
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x57f9cc]
cmp byte [eax], 0
jne 0x566bff
mov eax, ebx
call fcn.00566e50
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00569934
mov eax, ebx
call fcn.0056a5d4
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x566c63
call fcn.004064b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x567194
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x567236
cmp dword [ebx + 0xac], 0
jne 0x567230
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5670d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x567230
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5671f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x567230
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0048c0a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x567205
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5674f0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x586120]
cmp dword [eax + 0x188], 0
je 0x56766a
test bl, bl
jne 0x5675b5
cmp dword [esi + 0xb4], 0
jne 0x5675aa
mov eax, esi
call fcn.0056a424
push eax
push 0x5673e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x56757b
mov eax, dword [0x586120]
cmp byte [eax + 0xeb], 0
je 0x56757b
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x56755c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x56757b
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x567564
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5675aa
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0048c0a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x56758a
inc dword [esi + 0xb4]
jmp 0x56766a
cmp dword [esi + 0xb4], 0
jle 0x56766a
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x56766a
cmp dword [esi + 0x58], 0
je 0x56761f
mov eax, dword [0x586120]
cmp byte [eax + 0xeb], 0
je 0x56761f
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x567600
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x56761f
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x567608
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x56764e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0048c0a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x56762e
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x559084]
call fcn.00409f4c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5682cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x568329
cmp byte [ebx + 0xeb], 0
jne 0x568329
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407dac
mov eax, dword [esi]
test eax, eax
je 0x568316
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x568336
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408004
jmp 0x568336
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408004
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x569b48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x569bb9
mov eax, esi
call fcn.004e3e84
test al, al
je 0x569bb9
mov eax, dword [ebx + 0x98]
call fcn.004e3ab0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x569bb9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x569baa
push 0
mov eax, dword [ebx + 0x98]
call fcn.004e3ab0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.004da884
jmp 0x569bb9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00569954
pop esi
pop ebx
ret
Function at 0x56e44c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x56e4ca
mov eax, dword [ebx + 8]
call fcn.004e3ab0
mov ecx, eax
mov dl, 1
mov eax, dword [0x4efea0]
call fcn.004ddca0
mov dword [ebx + 0x8c], eax
mov esi, dword [ebx + 0x8c]
xor edx, edx
mov eax, esi
call fcn.004f4a94
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x56dd1c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004e3ab0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004e3ab0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x56e544
mov eax, dword [ebx + 8]
call fcn.004e3ab0
mov ecx, eax
mov dl, 1
mov eax, dword [0x4efea0]
call fcn.004ddca0
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov dl, 1
mov eax, esi
call fcn.004f4a94
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x56dd68
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004e3ab0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004e3ab0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x56e5b2
mov eax, dword [ebx + 8]
call fcn.004e3ab0
mov ecx, eax
mov dl, 1
mov eax, dword [0x4f093c]
call fcn.004ddca0
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x94]
mov byte [eax + 0x2a0], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.004e3ab0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.004e3ab0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x571b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push 0
call sub.kernel32.dll_GetModuleHandleW
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x68
mov eax, 0x571b0c
mov edx, dword [ebp - 0x10]
inc edx
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
inc eax
add eax, 4
mov byte [eax], 0xc3
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov esp, ebp
pop ebp
ret

Function at 0x571ea8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x571f7f
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x571f7f
cmp dword [ebp - 8], 0
je 0x571f7f
cmp dword [ebp - 0xc], 0
je 0x571f7f
push 0x40
push 0x3000
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x571f7f
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.004059e0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
dec eax
test eax, eax
jb 0x571f7f
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
jne 0x571f51
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
xor al, byte [edx]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov byte [edx], al
jmp 0x571f67
mov al, byte [ebp - 0xc]
sub al, byte [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
xor al, byte [edx]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
xor byte [edx], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x571f27
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x572440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x572517
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x572517
cmp dword [ebp - 8], 0
je 0x572517
cmp dword [ebp - 0xc], 0
je 0x572517
push 0x40
push 0x3000
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x572517
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.004059e0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
dec eax
test eax, eax
jb 0x572517
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
jne 0x5724e9
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
xor al, byte [edx]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov byte [edx], al
jmp 0x5724ff
mov al, byte [ebp - 0xc]
sub al, byte [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
xor al, byte [edx]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
xor byte [edx], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x5724bf
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x572914
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
sub eax, 5
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 4]
mov byte [eax], 0xe9
mov eax, dword [ebp - 4]
inc eax
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x572ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57fd64]
mov eax, dword [eax]
call fcn.00568a90
mov eax, dword [0x57fd64]
mov eax, dword [eax]
mov dl, 1
call fcn.0056a6f8
mov ecx, dword [0x57fee4]
mov eax, dword [0x57fd64]
mov eax, dword [eax]
mov edx, dword [0x571bb4]
call fcn.00568aa8
mov cl, 1
mov dl, 1
mov eax, dword [0x5723a8]
call fcn.0049bd90
mov dword [0x586158], eax
mov dl, 1
mov eax, dword [0x586158]
call fcn.0049c198
mov eax, dword [0x586158]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x57fd64]
mov eax, dword [eax]
call fcn.00568c04
mov eax, dword [0x57fd64]
mov eax, dword [eax]
call fcn.00568c04
xor eax, eax
push ebp
push 0x572b8d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00571b40
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x57272c
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x572baa
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x10001000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040d8
push 0x10003a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x10005080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x128], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x10001183
cmp dword [ebp + 0xc], esi
je 0x10001183
xor eax, eax
mov dword [ebp - 0x124], eax
cmp eax, 0x100
jge 0x10001073
mov byte [ebp + eax - 0x11c], al
inc eax
jmp 0x1000105c
mov byte [ebp - 0x11e], 0
mov byte [ebp - 0x11d], 0
mov dword [ebp - 0x124], esi
cmp edx, 0x100
mov eax, edx
jg 0x10001096
mov eax, 0x100
cmp esi, eax
jge 0x100010f1
mov al, byte [ebp - 0x11d]
inc al
mov byte [ebp - 0x11d], al
movzx ecx, al
lea ecx, [ebp + ecx - 0x11c]
xor ebx, ebx
mov bl, byte [ecx]
mov eax, esi
cdq
idiv dword [ebp - 0x128]
xor eax, eax
mov al, byte [edx + edi]
add eax, ebx
add eax, dword [ebp - 0x11e]
mov byte [ebp - 0x11e], al
mov byte [ebp - 0x11f], bl
movzx eax, al
lea eax, [ebp + eax - 0x11c]
mov dl, byte [eax]
mov byte [ecx], dl
mov byte [eax], bl
inc esi
mov edx, dword [ebp - 0x128]
jmp 0x10001081
xor dl, dl
mov byte [ebp - 0x11e], dl
mov byte [ebp - 0x11d], dl
mov esi, dword [ebp + 0x10]
neg esi
mov dword [ebp - 0x124], esi
cmp esi, dword [ebp + 0xc]
jge 0x10001183
mov al, byte [ebp - 0x11d]
inc al
mov byte [ebp - 0x11d], al
movzx eax, al
lea eax, [ebp + eax - 0x11c]
mov cl, byte [eax]
xor ebx, ebx
mov bl, cl
add ebx, edx
mov dl, bl
mov byte [ebp - 0x11e], dl
mov byte [ebp - 0x11f], cl
movzx ecx, dl
lea ecx, [ebp + ecx - 0x11c]
mov bl, byte [ecx]
mov byte [eax], bl
mov bl, byte [ebp - 0x11f]
mov byte [ecx], bl
test esi, esi
jl 0x10001177
mov al, byte [eax]
add al, bl
movzx ecx, al
xor eax, eax
mov al, byte [ebp + ecx - 0x11c]
mov edi, dword [ebp - 0x12c]
xor ecx, ecx
mov cl, byte [edi + esi]
xor eax, ecx
mov byte [edi + esi], al
inc esi
jmp 0x10001104
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10003b49
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100016e0
Capabilities:
Inspect section memory permissions

Disassembly:
xor eax, eax
test ecx, 0x4000000
je 0x100016ef
mov eax, 0x200
test ecx, 0x20000000
je 0x10001719
test ecx, 0x40000000
je 0x1000170b
test ecx, ecx
jns 0x10001707
or eax, 0x40
ret
or eax, 0x20
ret
test ecx, ecx
jns 0x10001715
or eax, 0x80
ret
or eax, 0x10
ret
test ecx, 0x40000000
je 0x1000172d
test ecx, ecx
jns 0x10001729
or eax, 4
ret
or eax, 2
ret
test ecx, ecx
jns 0x10001735
or eax, 8
ret
or eax, 1
ret
Function at 0x100030f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004328
push 0x10003a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x10005080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov edx, ecx
lea ecx, [ebp - 0x120]
call fcn.10003000
lea eax, [ebp - 0x120]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [ebp - 0x124], esi
test esi, esi
je 0x1000316a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000316a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003183
xor eax, eax
test esi, esi
setne al
mov dword [ebp - 4], 0xffffffff
jmp 0x1000318c
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10003b49
mov esp, ebp
pop ebp
ret
Function at 0x10003230
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004348
push 0x10003a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x10005080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x34]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000333c
mov edx, 2
mov ecx, dword [ebp - 0x34]
call fcn.10002430
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, ebx
je 0x10003332
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], 5
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push 1
lea edx, [ebp - 0x24]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
call esi
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 6
push 1
lea ecx, [ebp - 0x24]
push ecx
call esi
mov dword [ebp - 0x2c], 1
xor esi, esi
mov dword [ebp - 0x38], esi
cmp esi, dword [edi]
jae 0x1000330c
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [edi + esi*8 + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x10003348
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x1000331a
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10003328
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
jmp 0x10003370
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [edi + esi*8 + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1000330c
inc esi
jmp 0x100032ef
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10003b49
mov esp, ebp
pop ebp
ret
Function at 0x10003490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004368
push 0x10003a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, edx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
push 0x20019
mov edx, ecx
lea ecx, [ebp - 0x2c]
call fcn.10003390
test eax, eax
je 0x10003549
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push ebx
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10003549
mov dword [esi], eax
push esi
push eax
push eax
push eax
mov edi, dword [ebp + 8]
push edi
mov edx, dword [ebp - 0x1c]
push edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10003546
mov eax, dword [esi]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
test eax, eax
je 0x10003546
cmp dword [esi], 0
je 0x1000357d
push esi
push eax
push 0
push 0
push edi
mov edx, dword [ebp - 0x1c]
push edx
call ebx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1000357d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10003557
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.100031b0
mov eax, dword [edi]
test eax, eax
je 0x10003575
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [edi], 0
mov dword [esi], 0
jmp 0x100035b7
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.100031b0
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10003930
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 0xc]
call fcn.10002f90
call fcn.100038a0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4132c0
Capabilities:
Check internet connectivity via wininet
Create http request
Create thread

Disassembly:
sub esp, 0x10
push esi
xor esi, esi
push edi
push esi
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x413336
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_4.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
je 0x413336
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push esi
push edx
push 0x412bc0
push 0xfa0
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret