joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43acb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00435390
test eax, eax
je 0x43ad9f
mov ecx, edi
call fcn.00435390
mov ecx, eax
call fcn.00432950
test eax, eax
jne 0x43ad9f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43ad9f
mov eax, dword [0x4dbca0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x43ad12
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00435390
mov ecx, eax
call fcn.00432b80
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43ad9f
cmp ebx, eax
jne 0x43ad9f
cmp dword [esp + 0x10], eax
jne 0x43ad85
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43da70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a0ec8
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 0x43daa9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43dbbc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43dabd
mov eax, 0xffffffc7
jmp 0x43dbbe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43dace
cmp dword [esi + 8], eax
jne 0x43dabd
cmp dword [esi + 8], eax
jne 0x43dae7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43dae7
mov eax, 0xffffffc7
jmp 0x43dbbe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43dafb
push eax
mov ecx, ebx
call fcn.0043d2a0
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.004126e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43db2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00412700
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043ca10
test eax, eax
mov dword [esp + 0x38], eax
je 0x43db5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a7bb8
call fcn.004128e0
mov eax, dword [esp + 0x38]
jmp 0x43dbbe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043d8d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43dba3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043d8f0
mov esi, eax
test esi, esi
jne 0x43dbd3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043d8d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43db75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a7bb8
call fcn.004128e0
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], 0x4a7bb8
call fcn.004128e0
mov eax, esi
jmp 0x43dbbe

Function at 0x442580
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x4a17b8
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.0049a6ef
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044d990
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.0049a61d
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.00496f12
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.00496f12
push 1
push 0
push 0
mov ecx, esi
call fcn.00496eba
push 1
push 0
push 1
mov ecx, esi
call fcn.00496eba
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049a761
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44e1b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a17d8
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.0049a6ef
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044d990
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.0049a61d
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 0x44e274
cmp dword [esp + 0x40], 1
jne 0x44e272
cmp ecx, eax
jge 0x44e274
mov eax, ecx
cmp eax, 0xc8
jge 0x44e280
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044e030
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.0049a761
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44ea80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a1883
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.00495349
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.0049a997
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0049beb3
test eax, eax
je 0x44eb9c
mov ecx, dword [esp + 0x3c]
call fcn.0049a9c4
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 0x44eb60
push edi
mov ecx, esi
call fcn.00498028
mov ecx, esi
call fcn.0044ed40
cmp dword [esp + 0x38], 1
jne 0x44eb95
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.00498163
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 0x450da0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x450dd3
push esi
call fcn.0045f160
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x450dcc
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 0x450e59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x450e42
mov eax, dword [esi + 8]
test eax, eax
je 0x450df7
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 0x450e3e
cmp eax, 2
je 0x450e42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x450dea
cmp eax, 3
je 0x450e1d
cmp eax, 1
jne 0x450dea
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 0x450dea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x450dea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00450e80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x450e68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00450e80
add esp, 4
pop esi
ret

Function at 0x451700
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x451721
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x451721
mov eax, dword [eax + 0x44]
test eax, eax
je 0x451721
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 0x46ee70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e4efc]
xor edx, edx
cmp eax, edx
jne 0x46ee96
xor eax, eax
mov byte [eax + 0x4e4dfc], al
inc eax
cmp eax, 0x100
jl 0x46ee7e
mov dword [0x4e4efc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e4dfc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46ef27
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46eefa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46eec8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x46efa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46eff3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46efda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4759a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004762c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ab784
call fcn.00493ab2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x475a33
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00493ab2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x475a2c
push 0
mov ecx, eax
call fcn.0046caa0
mov dword [esi + 0xc], eax
jmp 0x475a35
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x475a35
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x496125
Capabilities:
Get graphical window text

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

Function at 0x497816
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 0x497858
call fcn.0049d19d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x497858
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49784f
xor eax, eax
jmp 0x497860
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00497866
pop edi
pop esi
pop ebx
ret 4
Function at 0x49d6cd
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 0x49d6fb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49d719
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049d633
jmp 0x49d719
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49d719
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049d633
test edi, edi
mov eax, edi
jne 0x49d703
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x402000
Capabilities:
Encode data using xor

Disassembly:
call dword [sym.imp.kernel32.dll_GetACP]
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
call fcn.0040142a
push 0x7eff
push 0
call fcn.00401451
call dword [0x40652a]
adc eax, 0x40652a
mov dword [0x403071], eax
mov ebx, 0x7f00
push ebx
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov ebx, 0x403059
mov dword [0x403069], 0x400000
mov dword [0x40306d], 0
push ebx
call dword [sym.imp.user32.dll_RegisterClassA]
call fcn.0040100f
push edi
sbb byte [eax], al
xor bh, byte [ecx - 0x19]
xchg esi, eax
push es
add byte [ebp + ebp + 0x7d9e3], cl
mov eax, 0xd29a9e8
add bh, dl
and cl, byte [eax]
daa
adc dword [eax], eax
in al, dx
dec edx
or eax, 0x9f00120d
jno 0x40201e
or dword [edi], ecx
add byte [edx + 0x50], ch
stosd dword es:[edi], eax
push cs
verw word [esi + 0x1040c48c]
add byte [ebx], ah
hlt
Function at 0x10006e49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100afb7b
call fcn.10096468
sub esp, 0x420
mov eax, dword [0x100f2810]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x100ef0d0]
xor edi, edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [0x100f3964]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x420], ebx
jne 0x10006eb4
call fcn.1000476f
mov esi, eax
jmp 0x10006f70
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [0x100f3924]
mov esi, eax
cmp esi, edi
je 0x10006f3d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp - 0x424], eax
je 0x10006f3d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + esi + 2]
push eax
lea ecx, [ebp - 0x418]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
call fcn.10005289
jmp 0x10006f07
cmp dword [ebp - 0x418], edi
mov dword [ebp - 4], 1
jne 0x10006f1d
mov esi, 0x8007000e
jmp 0x10006f64
call dword [0x100ef0d0]
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x424]
push edi
push eax
call dword [0x100f3970]
test eax, eax
jne 0x10006f44
call fcn.1000476f
jmp 0x10006f62
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
mov word [eax + esi*2], di
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.10006663
mov esi, eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10006f89
lea ecx, [ebp - 0x418]
call fcn.10004e72
lea ecx, [ebp - 0x41c]
call fcn.1000152a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.10095c5f
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10008acf
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x100afd80
call fcn.10096468
sub esp, 0xa8
mov eax, dword [0x100f2810]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x90]
xor ebx, ebx
push edi
lea ecx, [eax + 4]
mov dword [ebp - 0xb4], esi
mov dword [eax], ebx
call fcn.10004744
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], 0x100bd4d4
mov eax, dword [0x100f39c4]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x58], ebx
lea ecx, [esi + 0x64]
call fcn.10007cc9
mov eax, dword [ebp + 8]
mov dword [esi + 0xac], eax
lea eax, [esi + 0xbc]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [esi + 0xcc], ebx
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 5
mov dword [esi + 0xd0], ebx
call fcn.10035ce4
lea edi, [esi + 0xe8]
mov byte [esi + 0xe0], bl
mov dword [esi + 0xe4], ebx
mov dword [edi], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov byte [esi + 0x10c], 1
mov dword [esi + 0x110], ebx
push 0xa0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 0x10
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0xb0]
push eax
mov ecx, edi
call fcn.100085a4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10095c5f
leave
ret 8
Function at 0x1000b23e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100aff5a
call fcn.10096468
sub esp, 0x14
and dword [ebp - 0x20], 0
push ebx
push esi
push edi
sub esp, 0x10
mov edi, esp
mov esi, 0x100bff50
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c]
push eax
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.1002192a
mov ecx, eax
call fcn.100212cd
xor esi, esi
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.1000b13e
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x1000b291
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], esi
jne 0x1000b2a0
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x1000b37b
lea ecx, [ebp - 0x10]
call fcn.1000ab99
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [eax]
mov dword [ebp - 0x20], eax
call esi
push eax
push dword [ebp - 0x20]
call dword [edi + 0x3c]
lea ecx, [ebp - 0x10]
call fcn.1000ab99
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x10]
call fcn.1000ab99
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000ab99
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x10]
call fcn.1000ab99
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
lea ecx, [ebp - 0x10]
call fcn.1000ab99
mov edi, eax
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
call esi
push eax
mov eax, dword [ebp + 0xc]
push edi
call dword [eax + 0x54]
lea ecx, [ebx + 0x1c]
mov dword [ebp - 0x14], 1
call fcn.10001134
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push str.ClientRequestReport
push eax
call dword [ecx + 0x60]
lea ecx, [ebp - 0x10]
call fcn.1000ab99
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.1000ace8
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
or dword [ebp - 4], 0xffffffff
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc

Function at 0x1000dc2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000dc44
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1000dc56
xor eax, eax
jmp 0x1000dc88
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1000dc7a
cmp esi, eax
jae 0x1000dc52
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1000dc6c
cmp esi, eax
jae 0x1000dc52
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret