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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468c28
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042abd0
test eax, eax
je 0x4303d8
lea ecx, [esp + 0xc]
call fcn.00407740
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.0042abd0
mov ecx, eax
call fcn.00428390
test eax, eax
je 0x4303bf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4303bf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4303bf
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.00407940
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4303a1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4303bf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x800cc0]
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], 0x7d6d30
call fcn.00407940
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x430420
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042abd0
test eax, eax
je 0x43050f
mov ecx, edi
call fcn.0042abd0
mov ecx, eax
call fcn.00428240
test eax, eax
jne 0x43050f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43050f
mov eax, dword [0x800cc0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x430482
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.0042abd0
mov ecx, eax
call fcn.00428470
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 0x43050f
cmp ebx, eax
jne 0x43050f
cmp dword [esp + 0x10], eax
jne 0x4304f5
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 0x433130
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468eb8
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 0x433169
inc eax
mov dword [esi + 0x10], eax
jmp 0x43327c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43317d
mov eax, 0xffffffc7
jmp 0x43327e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43318e
cmp dword [esi + 8], eax
jne 0x43317d
cmp dword [esi + 8], eax
jne 0x4331a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4331a7
mov eax, 0xffffffc7
jmp 0x43327e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4331bb
push eax
mov ecx, ebx
call fcn.00432960
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.00407740
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4331ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00407760
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004320d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43321f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7d6d30
call fcn.00407940
mov eax, dword [esp + 0x38]
jmp 0x43327e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432f90
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433263
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432fb0
mov esi, eax
test esi, esi
jne 0x433293
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432f90
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433235
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7d6d30
call fcn.00407940
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], 0x7d6d30
call fcn.00407940
mov eax, esi
jmp 0x43327e

Function at 0x436350
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x4694e8
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.004627f2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043bea0
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.00462720
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.0045efe1
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.0045efe1
push 1
push 0
push 0
mov ecx, esi
call fcn.0045ef89
push 1
push 0
push 1
mov ecx, esi
call fcn.0045ef89
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462864
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43c680
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469508
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.004627f2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043bea0
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.00462720
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 0x43c744
cmp dword [esp + 0x40], 1
jne 0x43c742
cmp ecx, eax
jge 0x43c744
mov eax, ecx
cmp eax, 0xc8
jge 0x43c750
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043c500
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.00462864
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ced0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469573
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.0045d401
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.00462a9a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463fb6
test eax, eax
je 0x43cfec
mov ecx, dword [esp + 0x3c]
call fcn.00462ac7
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 0x43cfb0
push edi
mov ecx, esi
call fcn.0046012f
mov ecx, esi
call fcn.0043d150
cmp dword [esp + 0x38], 1
jne 0x43cfe5
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.0046026a
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 0x43fa20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43fa53
push esi
call fcn.00442b10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43fa4c
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 0x43fad9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43fac2
mov eax, dword [esi + 8]
test eax, eax
je 0x43fa77
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 0x43fabe
cmp eax, 2
je 0x43fac2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43fa6a
cmp eax, 3
je 0x43fa9d
cmp eax, 1
jne 0x43fa6a
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 0x43fa6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43fa6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043fb00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43fae8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043fb00
add esp, 4
pop esi
ret

Function at 0x45e1f7
Capabilities:
Get graphical window text

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

Function at 0x45f8e9
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 0x45f92b
call fcn.004653a6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45f92b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f922
xor eax, eax
jmp 0x45f933
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f939
pop edi
pop esi
pop ebx
ret 4

Function at 0x4658d6
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 0x465904
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465922
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046583c
jmp 0x465922
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465922
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046583c
test edi, edi
mov eax, edi
jne 0x46590c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402840
Capabilities:
Check http status code

Disassembly:
sub esp, 0x88
mov eax, dword [0x40e090]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [0x40b120]
push 0
mov esi, ecx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x13
push edx
mov dword [esp + 0x1c], 0x20
call edi
test eax, eax
jne 0x40289a
call fcn.00402760
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00403387
add esp, 0x88
ret
lea eax, [esp + 0xc]
push eax
call fcn.0040366e
add esp, 4
cmp eax, 0xc8
je 0x4028b5
cmp eax, 0xce
jne 0x40287e
mov eax, dword [esi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x54]
push edx
push 5
push eax
mov dword [esp + 0x1c], 0x20
call edi
cmp eax, 1
jne 0x4028fa
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040366e
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00403387
add esp, 0x88
ret
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00403387
add esp, 0x88
ret
Function at 0x401c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x401c14
shr eax, 1
xor eax, 0xedb88320
jmp 0x401c16
shr eax, 1
dec edx
jne 0x401c07
mov dword [ecx*4 + str.SetWindowTextW], eax
mov dword [ecx*4 + 0x41a1a0], eax
inc ecx
cmp ecx, 0x100
jb 0x401c02
push ebx
push esi
push edi
mov ecx, 0x4185a0
mov edi, 0x101
mov eax, dword [ecx - 0x400]
push 7
mov edx, ecx
pop esi
movzx ebx, al
shr eax, 8
xor eax, dword [ebx*4 + str.SetWindowTextW]
mov dword [edx], eax
add edx, 0x400
dec esi
jne 0x401c48
add ecx, 4
dec edi
jne 0x401c3d
pop edi
pop esi
pop ebx
ret

Function at 0x401c6a
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x41a1a4], 0
jne 0x401c78
call fcn.00401c00
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x401ca5
test cl, 7
je 0x401ca5
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + str.SetWindowTextW]
dec esi
inc ecx
jmp 0x401c86
cmp esi, 8
jb 0x401d38
mov edi, esi
shr edi, 3
push ebx
xor eax, dword [ecx]
sub esi, 8
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x4191a0]
xor edx, dword [ebx*4 + 0x4195a0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x4199a0]
movzx ebx, byte [ecx + 6]
xor edx, dword [ebx*4 + 0x4185a0]
movzx ebx, byte [ecx + 5]
xor edx, dword [ebx*4 + 0x4189a0]
movzx ebx, byte [ecx + 4]
xor edx, dword [ebx*4 + 0x418da0]
movzx ebx, byte [ecx + 7]
xor edx, dword [ebx*4 + str.SetWindowTextW]
movzx eax, al
xor edx, dword [eax*4 + 0x419da0]
add ecx, 8
dec edi
mov eax, edx
jne 0x401cb4
pop ebx
jmp 0x401d38
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + str.SetWindowTextW]
dec esi
inc ecx
test esi, esi
ja 0x401d24
pop edi
pop esi
ret 0xc
Function at 0x405fe5
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push dword [esp + 0x10]
call fcn.004078e5
mov esi, eax
inc esi
lea eax, [esi + esi + 2]
push eax
call fcn.00407393
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40602d
push esi
push edi
push dword [esp + 0x18]
call fcn.00405ad1
push dword [esp + 0xc]
push edi
call fcn.004074f0
pop ecx
push eax
push 1
push edi
call fcn.00408601
push edi
call fcn.0040745d
add esp, 0x14
pop edi
pop esi
ret 8

Function at 0x5bf607
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005bf686
jae 0x5bf613
xor ecx, ecx
call fcn.005bf686
jae 0x5bf63d
xor eax, eax
call fcn.005bf686
jae 0x5bf64e
mov al, 0x10
call fcn.005bf686
adc al, al
jae 0x5bf62f
jne 0x5bf67b
stosb byte es:[edi], al
jmp 0x5bf614
call fcn.005bf692
dec ecx
loop 0x5bf65a
mov eax, ebp
call fcn.005bf690
jmp 0x5bf67c
lodsb al, byte [esi]
shr eax, 1
je 0x5bf6a2
adc ecx, 2
mov ebp, eax
jmp 0x5bf67c
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005bf690
cmp eax, 0x7d00
jae 0x5bf67a
cmp eax, 0x500
jae 0x5bf67b
cmp eax, 0x7f
ja 0x5bf67c
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5bf614
pop ebp
ret 8
Function at 0x100022fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov byte [ebp - 0x20], 0x30
mov byte [ebp - 0x1f], 0x31
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x34
mov byte [ebp - 0x1b], 0x35
mov byte [ebp - 0x1a], 0x36
mov byte [ebp - 0x19], 0x37
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0x39
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x62
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x66
mov byte [ebp - 0x10], 0x30
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x35
mov byte [ebp - 0xa], 0x36
mov byte [ebp - 9], 0x37
mov byte [ebp - 8], 0x38
mov byte [ebp - 7], 0x39
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0x42
mov byte [ebp - 4], 0x43
mov byte [ebp - 3], 0x44
mov byte [ebp - 2], 0x45
mov byte [ebp - 1], 0x46
lea esi, [ebp - 0x10]
jne 0x10002393
lea esi, [ebp - 0x20]
mov ebx, dword [ebp + 0xc]
xor edi, edi
push edi
push edi
lea eax, [ebx + ebx + 1]
push eax
call fcn.10002639
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x10], eax
je 0x100023e7
test ebx, ebx
jbe 0x100023e2
mov edx, eax
mov eax, dword [ebp + 8]
lea ecx, [edi + eax]
movzx eax, byte [edi + eax]
shr eax, 4
movsx ax, byte [eax + esi]
mov word [edx], ax
mov al, byte [ecx]
and eax, 0xf
inc edi
add edx, 4
cmp edi, ebx
movsx ax, byte [eax + esi]
mov word [edx - 2], ax
jb 0x100023b4
mov eax, dword [ebp + 0x10]
and word [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004aba
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 3
cdq
pop ecx
idiv ecx
mov esi, eax
lea edi, [esi*4 + 8]
push edi
call 0x10007372
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp - 8], ebx
je 0x10004be6
push edi
push 0
push ebx
call fcn.10007684
add esp, 0xc
mov ecx, ebx
test esi, esi
push 0x3f
pop edi
jle 0x10004b62
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
movzx edx, byte [esi + 2]
xor eax, eax
mov ebx, dword [0x1000a79c]
mov ah, byte [esi]
mov al, byte [esi + 1]
add esi, 3
shl eax, 8
or eax, edx
mov edx, eax
sar edx, 0x12
mov dl, byte [edx + ebx]
mov byte [ecx], dl
mov ebx, dword [0x1000a79c]
mov edx, eax
inc ecx
sar edx, 0xc
and edx, edi
mov dl, byte [edx + ebx]
mov byte [ecx], dl
mov ebx, dword [0x1000a79c]
mov edx, eax
inc ecx
sar edx, 6
and edx, edi
and eax, edi
mov dl, byte [edx + ebx]
mov byte [ecx], dl
mov edx, dword [0x1000a79c]
inc ecx
mov al, byte [eax + edx]
mov byte [ecx], al
inc ecx
dec dword [ebp - 4]
jne 0x10004b03
jmp 0x10004b65
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 3
cdq
pop ebx
idiv ebx
cmp edx, 1
jne 0x10004b9d
movzx eax, byte [esi]
mov edx, dword [0x1000a79c]
shr eax, 2
mov al, byte [eax + edx]
mov byte [ecx], al
mov al, byte [esi]
mov edx, dword [0x1000a79c]
and eax, ebx
shl eax, 4
inc ecx
mov al, byte [eax + edx]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
jmp 0x10004bdb
cmp edx, 2
jne 0x10004be0
xor eax, eax
mov ah, byte [esi]
mov al, byte [esi + 1]
mov esi, dword [0x1000a79c]
mov edx, eax
sar edx, 0xa
mov dl, byte [edx + esi]
mov byte [ecx], dl
mov esi, dword [0x1000a79c]
mov edx, eax
inc ecx
sar edx, 4
and edx, edi
mov dl, byte [edx + esi]
mov byte [ecx], dl
mov edx, dword [0x1000a79c]
inc ecx
and eax, 0xf
mov al, byte [edx + eax*4]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
and byte [ecx], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10005c24
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.100066dd
mov byte [esi], 0x80
pop esi
ret
Function at 0x10006c3c
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x10007103
call fcn.10007620
push ecx
push ecx
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x10]
push edi
mov dword [ebp - 0x14], esi
mov byte [ecx], al
call dword [0x10008220]
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x20]
push edi
mov dword [ebp - 4], edi
mov byte [ecx], al
call dword [0x10008220]
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x44]
push edi
mov byte [ebp - 4], 1
mov byte [ecx], al
call dword [0x10008220]
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x54]
push edi
mov byte [ebp - 4], 2
mov byte [ecx], al
call dword [0x10008220]
mov al, byte [ebp - 0xd]
lea ebx, [esi + 0x64]
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
mov byte [ebx], al
call dword [0x10008220]
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x74]
push edi
mov byte [ebp - 4], 4
mov byte [ecx], al
call dword [0x10008220]
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x84]
push edi
mov byte [ebp - 4], 5
mov byte [ecx], al
call dword [0x10008220]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x3c], edi
mov edi, 0x1000b5a0
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x10008434
mov word [esi + 0x30], 0x1bb
call fcn.1000768a
pop ecx
push eax
push edi
mov ecx, ebx
call dword [0x10008224]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], 0x84c01000
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret