joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495e10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3b98
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00490710
test eax, eax
je 0x495f18
lea ecx, [esp + 0xc]
call fcn.00462b70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00490710
mov ecx, eax
call fcn.0048dec0
test eax, eax
je 0x495eff
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x495eff
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x495eff
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00462d70
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x495ee1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x495eff
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x6226b8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x529ed8
call fcn.00462d70
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x495f60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00490710
test eax, eax
je 0x49604f
mov ecx, edi
call fcn.00490710
mov ecx, eax
call fcn.0048dd70
test eax, eax
jne 0x49604f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49604f
mov eax, dword [0x6226b8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x495fc2
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.00490710
mov ecx, eax
call fcn.0048dfa0
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 0x49604f
cmp ebx, eax
jne 0x49604f
cmp dword [esp + 0x10], eax
jne 0x496035
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 0x498bf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3e28
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 0x498c29
inc eax
mov dword [esi + 0x10], eax
jmp 0x498d3c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x498c3d
mov eax, 0xffffffc7
jmp 0x498d3e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x498c4e
cmp dword [esi + 8], eax
jne 0x498c3d
cmp dword [esi + 8], eax
jne 0x498c67
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x498c67
mov eax, 0xffffffc7
jmp 0x498d3e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x498c7b
push eax
mov ecx, ebx
call fcn.00498420
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.00462b70
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x498cac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00462b90
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00497b90
test eax, eax
mov dword [esp + 0x38], eax
je 0x498cdf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x529ed8
call fcn.00462d70
mov eax, dword [esp + 0x38]
jmp 0x498d3e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00498a50
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x498d23
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00498a70
mov esi, eax
test esi, esi
jne 0x498d53
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00498a50
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x498cf5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x529ed8
call fcn.00462d70
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], 0x529ed8
call fcn.00462d70
mov eax, esi
jmp 0x498d3e

Function at 0x49be50
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x4e4458
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.004dc741
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004a17a0
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.004dc66f
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.004d8f33
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.004d8f33
push 1
push 0
push 0
mov ecx, esi
call fcn.004d8edb
push 1
push 0
push 1
mov ecx, esi
call fcn.004d8edb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dc7b3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4a1f80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e4478
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.004dc741
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004a17a0
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.004dc66f
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 0x4a2044
cmp dword [esp + 0x40], 1
jne 0x4a2042
cmp ecx, eax
jge 0x4a2044
mov eax, ecx
cmp eax, 0xc8
jge 0x4a2050
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a1e00
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.004dc7b3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4a27c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e44e3
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.004d7351
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.004dc9e9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004ddf48
test eax, eax
je 0x4a28dc
mov ecx, dword [esp + 0x3c]
call fcn.004dca16
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 0x4a28a0
push edi
mov ecx, esi
call fcn.004da083
mov ecx, esi
call fcn.004a2a40
cmp dword [esp + 0x38], 1
jne 0x4a28d5
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.004da1be
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 0x4a52f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a5323
push esi
call fcn.004a8400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a531c
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 0x4a53a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a5392
mov eax, dword [esi + 8]
test eax, eax
je 0x4a5347
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 0x4a538e
cmp eax, 2
je 0x4a5392
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a533a
cmp eax, 3
je 0x4a536d
cmp eax, 1
jne 0x4a533a
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 0x4a533a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a533a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a53d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a53b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a53d0
add esp, 4
pop esi
ret

Function at 0x4b2690
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 0x4b2733
test eax, eax
jbe 0x4b2733
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4b2733
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 0x4b26de
xor esi, esi
jmp 0x4b26e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4b270f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004b6330
add esi, eax
push esi
mov ebx, esi
call fcn.004b6330
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4b26f0
pop ebp
test edi, edi
pop edi
jne 0x4b2733
test ebx, ebx
je 0x4b2733
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004c6410
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4b2875
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 0x4b298d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b298d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004d77a3
mov esi, eax
test esi, esi
je 0x4b298d
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 0x4b298d
mov ecx, esi
call fcn.004b27e0
cmp edi, eax
jge 0x4b298d
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 0x4b2913
mov dword [esp + 0x34], 1
jmp 0x4b296e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4b298d
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.004b0fd0
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 0x4d8146
Capabilities:
Get graphical window text

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

Function at 0x4d983b
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 0x4d987d
call fcn.004df333
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d987d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d9874
xor eax, eax
jmp 0x4d9885
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d988b
pop edi
pop esi
pop ebx
ret 4
Function at 0x4df863
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 0x4df891
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4df8af
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004df7c9
jmp 0x4df8af
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4df8af
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004df7c9
test edi, edi
mov eax, edi
jne 0x4df899
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x415720
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x18
test eax, eax
mov dword [esp], 0
push ebx
push esi
push edi
push ebp
jle 0x415849
mov ecx, dword [esp + 0x30]
xor edi, edi
mov eax, dword [0x4a5a70]
cmp eax, edi
jle 0x415834
mov eax, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
shl eax, 3
mov dword [esp + 0x20], eax
xor eax, eax
inc ecx
inc ecx
mov esi, dword [esp + 0x20]
inc ecx
mov ebx, 0x33
mov dword [esp + 0x24], 0x33
mov al, byte [ecx - 3]
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [ecx - 2]
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [ecx - 1]
mov dword [esp + 0x1c], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
add esi, eax
mov eax, dword [esp + 0x14]
cdq
idiv ebx
xor ebx, ebx
mov ebp, dword [esi*4 + 0x42f638]
mov eax, dword [esp + 0x14]
cmp edx, ebp
cdq
setg bl
idiv dword [esp + 0x24]
add ebx, eax
mov ebp, 0x33
mov eax, dword [esp + 0x18]
cdq
idiv ebp
lea ebx, [ebx + ebx*2]
xor eax, eax
cmp edx, dword [esi*4 + 0x42f638]
mov ebp, 0x33
setg al
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x18]
cdq
idiv ebp
add ebx, eax
mov eax, dword [esp + 0x1c]
cdq
idiv ebp
lea ebx, [ebx + ebx*2]
xor eax, eax
mov ebp, dword [esi*4 + 0x42f638]
mov esi, 0x33
cmp edx, ebp
setg al
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x1c]
cdq
idiv esi
add ebx, eax
inc edi
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
nop
mov byte [eax - 1], bl
mov eax, dword [0x4a5a70]
cmp eax, edi
jg 0x415765
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x41573f
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x423990
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov eax, dword [0x484950]
push edi
nop
mov edi, dword [eax*4 + 0x438740]
xor eax, eax
mov esi, edi
mov al, byte [edi]
sub eax, 0x10
cmp eax, 0xf
ja case.0x4239b5.20
xor ecx, ecx
mov cl, byte [eax + 0x423b1c]
jmp dword [ecx*4 + 0x423b08]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x43873c], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
xor eax, eax
mov ax, word [edi + 4]
push eax
call fcn.00420f60
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 6]
push eax
call fcn.00420f60
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 8]
push eax
call fcn.00420f60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov dword [edx], 0xffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
ret
xor eax, eax
mov ax, word [esi + 6]
push eax
call fcn.00420f60
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 8]
push eax
call fcn.00420f60
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 0xa]
push eax
call fcn.00420f60
mov ecx, dword [esp + 0x18]
add esp, 4
xor edx, edx
mov dword [ecx], eax
mov dl, byte [esi + 2]
test edx, edx
jne 0x423ab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
mov dword [ecx], 0xffff
ret
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov cl, byte [esi + 3]
mov dword [eax], ecx
add ecx, edx
dec ecx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x43873c], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret

Function at 0x4242c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
cdq
push esi
sub eax, edx
sar eax, 1
push edi
mov esi, eax
mov eax, dword [0x48aca8]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [0x48aca8], eax
mov eax, dword [0x48acac]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [0x48acac], eax
mov eax, dword [0x48aca8]
cdq
xor eax, edx
sub eax, edx
test esi, esi
jle 0x42432d
mov ebx, 0x48acac
mov edi, 0x48acb0
mov ecx, eax
add ebx, 0x10
sar eax, 3
add edi, 8
mov dword [ebx - 0x10], eax
mov eax, dword [edi - 8]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
sar ecx, 4
dec esi
mov dword [ebx - 8], ecx
jne 0x42430c
pop edi
pop esi
pop ebx
ret
Function at 0x1001a070
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
lea ebp, [esp - 0x604]
sub esp, 0x604
push 0xffffffffffffffff
push 0x1004a598
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1004f8f4]
xor eax, ebp
mov dword [ebp + 0x600], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x10050ff0], 0
mov esi, dword [ebp + 0x60c]
mov edi, dword [ebp + 0x618]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], edi
jne 0x1001a0d4
push 0
push 0x10018810
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x10050ff4
call fcn.10036970
test eax, eax
je 0x1001a2bc
inc dword [0x10050ff0]
lea eax, [ebp + 0x400]
push 0x100
push eax
push 0x1ff
lea eax, [ebp]
push eax
push 0
push 0
push 0
push 0
push esi
call fcn.1003bfc3
add esp, 0x24
lea eax, [ebp + 0x400]
push eax
push 0x1ff
lea eax, [ebp]
push eax
call fcn.10018de0
mov ecx, dword [0x10050ff4]
lea eax, [ebp]
push eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
call fcn.10036820
mov esi, eax
jmp 0x1001a190
mov ecx, 0x10050ff4
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xc], esi
call fcn.10036aa0
lea ecx, [ebp - 0x20]
mov dword [edi + 4], eax
call fcn.10035ad0
mov dword [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
call fcn.100371f0
mov esi, eax
lea ecx, [ebp - 0x20]
push esi
mov dword [ebp - 0x18], esi
call fcn.100366d0
test esi, esi
je 0x1001a1ea
mov ecx, esi
call fcn.10035b70
push esi
call fcn.10038f80
add esp, 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 4
call fcn.10036b60
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1001a23d
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10036b20
mov ebx, eax
push ebx
push edi
call fcn.100186e0
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1001a1da
push 0x14
call fcn.100322f0
mov esi, eax
test esi, esi
jne 0x1001a260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10035b50
mov eax, 0xfffffffe
jmp 0x1001a2c1
lea eax, [esi + 8]
push eax
push 0x10053320
push 0x100019c0
call fcn.1002c750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x1001a254
mov dword [esi + 4], eax
mov dword [edi + 0x4c], esi
call fcn.10035b50
xor eax, eax
jmp 0x1001a2c1
mov eax, 0xfffffffa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x600]
xor ecx, ebp
call fcn.1003a833
lea esp, [ebp + 0x604]
pop ebp
ret 0x10