joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449ef0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49a3a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x449f29
inc eax
mov dword [esi + 0x10], eax
jmp 0x44a03c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x449f3d
mov eax, 0xffffffc7
jmp 0x44a03e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x449f4e
cmp dword [esi + 8], eax
jne 0x449f3d
cmp dword [esi + 8], eax
jne 0x449f67
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x449f67
mov eax, 0xffffffc7
jmp 0x44a03e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x449f7b
push eax
mov ecx, ebx
call fcn.00449720
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004189a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x449fac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004189c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00448e90
test eax, eax
mov dword [esp + 0x38], eax
je 0x449fdf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5a5f98
call fcn.00418ba0
mov eax, dword [esp + 0x38]
jmp 0x44a03e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00449d50
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44a023
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00449d70
mov esi, eax
test esi, esi
jne 0x44a053
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00449d50
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x449ff5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5a5f98
call fcn.00418ba0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5a5f98
call fcn.00418ba0
mov eax, esi
jmp 0x44a03e

Function at 0x44cfe0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x44d040
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x44d040
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x44d040
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x44d040
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 0x44d080
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 0x452f90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49a9d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0049126e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00452930
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0049119c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0048d986
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0048d986
push 1
push 0
push 0
mov ecx, esi
call fcn.0048d92e
push 1
push 0
push 1
mov ecx, esi
call fcn.0048d92e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004912e0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x453110
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49a9f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0049126e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00452930
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0049119c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4531d4
cmp dword [esp + 0x40], 1
jne 0x4531d2
cmp ecx, eax
jge 0x4531d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4531e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00452f90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004912e0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x453960
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49aa63
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.0048bda6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.00491516
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00492b68
test eax, eax
je 0x453a7c
mov ecx, dword [esp + 0x3c]
call fcn.00491543
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 0x453a40
push edi
mov ecx, esi
call fcn.0048eb08
mov ecx, esi
call fcn.00453be0
cmp dword [esp + 0x38], 1
jne 0x453a75
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.0048ec72
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 0x4564a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4564d3
push esi
call fcn.00459590
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4564cc
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 0x456559
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x456542
mov eax, dword [esi + 8]
test eax, eax
je 0x4564f7
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 0x45653e
cmp eax, 2
je 0x456542
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4564ea
cmp eax, 3
je 0x45651d
cmp eax, 1
jne 0x4564ea
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 0x4564ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4564ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00456580
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x456568
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00456580
add esp, 4
pop esi
ret
Function at 0x4684e0
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 0x46852c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x46852c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x468516
push eax
call ebp
test ax, ax
jl 0x468524
inc esi
add edi, 4
cmp esi, 6
jb 0x468508
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004681e0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x46c2b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x46c310
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x46c310
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x46c310
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x46c310
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 0x46c320
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 0x46f0f0
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 0x46f193
test eax, eax
jbe 0x46f193
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46f193
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 0x46f13e
xor esi, esi
jmp 0x46f144
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46f16f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00470fc0
add esi, eax
push esi
mov ebx, esi
call fcn.00470fc0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46f150
pop ebp
test edi, edi
pop edi
jne 0x46f193
test ebx, ebx
je 0x46f193
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047b070
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46f2b5
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 0x46f3cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f3cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048c1f8
mov esi, eax
test esi, esi
je 0x46f3cd
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 0x46f3cd
mov ecx, esi
call fcn.0046f240
cmp edi, eax
jge 0x46f3cd
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 0x46f353
mov dword [esp + 0x34], 1
jmp 0x46f3ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46f3cd
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.0046e820
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 0x48cb9c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48cbd4
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.0048ac50
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048ac28
jmp 0x48cbe0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48e28e
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 0x48e2d0
call fcn.00494205
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48e2d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48e2c7
xor eax, eax
jmp 0x48e2d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048e2de
pop edi
pop esi
pop ebx
ret 4

Function at 0x494735
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 0x494763
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x494781
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049469b
jmp 0x494781
mov eax, dword [esi + 0x14]
test eax, eax
je 0x494781
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049469b
test edi, edi
mov eax, edi
jne 0x49476b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10012dc
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.ulib.dll_public:_void___thiscall_FSTRING::constructor_void_]
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x34]
call esi
lea ecx, [ebp - 0x20]
call esi
mov eax, dword [ebp + 8]
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100139c
push 0xffffffffffffffff
push 0x10011a0
lea ecx, [ebp - 0x34]
call dword [sym.imp.ulib.dll_public:_class_WSTRING____thiscall_FSTRING::Initialize_unsigned_short_int___unsigned_long_int_]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.ulib.dll_public:_class_WSTRING____thiscall_FSTRING::Initialize_unsigned_short_int___unsigned_long_int_]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.ulib.dll_public:_unsigned_long_int___thiscall_WSTRING::Strstr_class_WSTRING_const__const]
test eax, eax
jne 0x1001392
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
push eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_WSTRING::DeleteChAt_unsigned_long_int__unsigned_long_int_]
and dword [edi], 0
mov bl, 1
mov esi, dword [sym.imp.ulib.dll_public_virtual:_void___thiscall_OBJECT::destructor_void_]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x34]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.010022be
leave
ret 0x10
mov dword [edi], 0x57
xor bl, bl
jmp 0x100136f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x1001398
Function at 0x10022af
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002728
call fcn.01002454
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10020c4
cmp eax, esi
jne 0x10020b7
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10020c7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100209e
xor esi, esi
inc esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x10020da
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002115
mov eax, dword [0x100436c]
test eax, eax
jne 0x100210f
mov dword [0x100436c], esi
push 0x1001170
push 0x1001164
call fcn.0100201b
pop ecx
pop ecx
test eax, eax
je 0x1002115
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10021df
mov dword [0x1004034], esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x1002139
push 0x1001160
push 0x1001158
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100436c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1002146
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1004374], ebx
je 0x1002167
push 0x1004374
call fcn.010023c9
pop ecx
test eax, eax
je 0x1002167
push ebx
push 2
push ebx
call dword [0x1004374]
push dword [0x100401c]
push dword [0x1004020]
push dword [0x1004018]
call fcn.010017b1
add esp, 0xc
mov dword [0x1004030], eax
cmp dword [0x1004024], ebx
jne 0x10021c5
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004034], ebx
jne 0x10021d3
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004030]
call fcn.01002499
ret
call fcn.010025a1
jmp 0x100207c
Function at 0x1a358d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1480000]
push edi
or ebp, 0xffffffff
jmp 0x1a358f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a358f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a358e8
mov eax, 1
add ebx, ebx
jne 0x1a3590b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a3591c
jne 0x1a3593b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3593b
dec eax
add ebx, ebx
jne 0x1a35928
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a35900
add ebx, ebx
jne 0x1a35937
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a3598d
xor ecx, ecx
sub eax, 3
jb 0x1a35953
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a359c2
sar eax, 1
mov ebp, eax
jmp 0x1a3595e
add ebx, ebx
jne 0x1a3595e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3592c
inc ecx
add ebx, ebx
jne 0x1a3596c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3592c
add ebx, ebx
jne 0x1a35979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a3596e
jne 0x1a3598a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a3596e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a359ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a3599e
jmp 0x1a358ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a359ac
add edi, ecx
jmp 0x1a358ee
pop esi
mov edi, esi
mov ecx, 0x4ca7fd
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1a359e7
cmp byte [edi], 0x65
jne 0x1a359cc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1a359ca
lea edi, [esi + 0x15f9000]
mov eax, dword [edi]
or eax, eax
je 0x1a35a2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25cdf48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25ce078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a359ed
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25ce080]
or eax, eax
je 0x1a35a29
mov dword [ebx], eax
add ebx, 4
jmp 0x1a35a0a
call dword [esi + 0x25ce07c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a35a60
cmp al, 0xef
ja 0x1a35a53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a35a35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a35a42
mov ebp, dword [esi + 0x25ce084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1a35a94
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x1001596
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
cmp dword [esi], ebx
jne 0x10016bb
push edi
lea eax, [ebp - 0x218]
push eax
xor edi, edi
inc edi
push edi
push ebx
push 0x10011c0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10016ba
push 4
call dword [sym.imp.COMCTL32.dll_DPA_Create]
mov dword [esi], eax
cmp eax, ebx
je 0x10016ae
mov dword [ebp - 0x210], edi
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x224], 0x104
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x1001689
push dword [ebp - 0x21c]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x10016a8
lea eax, [ebp - 0x21c]
push eax
push edi
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10016a1
push edi
push 0x7fffffff
push dword [esi]
call dword [sym.imp.COMCTL32.dll_DPA_InsertPtr]
cmp eax, 0xffffffff
je 0x10016a1
inc dword [ebp - 0x214]
cmp dword [ebp - 0x220], 0x103
jne 0x1001603
jmp 0x10016ae
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x210], ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop esi
xor ecx, ebp
pop ebx
call fcn.01002703
leave
ret 4