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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482308
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 0x435559
inc eax
mov dword [esi + 0x10], eax
jmp 0x43566c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43556d
mov eax, 0xffffffc7
jmp 0x43566e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43557e
cmp dword [esi + 8], eax
jne 0x43556d
cmp dword [esi + 8], eax
jne 0x435597
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435597
mov eax, 0xffffffc7
jmp 0x43566e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4355ab
push eax
mov ecx, ebx
call fcn.00434d50
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.00404770
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4355dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404790
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004344c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43560f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4867c0
call fcn.00404970
mov eax, dword [esp + 0x38]
jmp 0x43566e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435380
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435653
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004353a0
mov esi, eax
test esi, esi
jne 0x435683
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435380
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435625
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4867c0
call fcn.00404970
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], 0x4867c0
call fcn.00404970
mov eax, esi
jmp 0x43566e

Function at 0x438780
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x482938
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.0047b4b3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00444780
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.0047b3e1
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.00477ca2
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.00477ca2
push 1
push 0
push 0
mov ecx, esi
call fcn.00477c4a
push 1
push 0
push 1
mov ecx, esi
call fcn.00477c4a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b525
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444f60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482958
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.0047b4b3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00444780
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.0047b3e1
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 0x445024
cmp dword [esp + 0x40], 1
jne 0x445022
cmp ecx, eax
jge 0x445024
mov eax, ecx
cmp eax, 0xc8
jge 0x445030
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444de0
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.0047b525
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4457a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4829c3
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.004760c2
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.0047b75b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047cd71
test eax, eax
je 0x4458bc
mov ecx, dword [esp + 0x3c]
call fcn.0047b788
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 0x445880
push edi
mov ecx, esi
call fcn.00478ded
mov ecx, esi
call fcn.00445a20
cmp dword [esp + 0x38], 1
jne 0x4458b5
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.00478f28
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 0x4482f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448323
push esi
call fcn.00456650
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44831c
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 0x4483a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448392
mov eax, dword [esi + 8]
test eax, eax
je 0x448347
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 0x44838e
cmp eax, 2
je 0x448392
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44833a
cmp eax, 3
je 0x44836d
cmp eax, 1
jne 0x44833a
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 0x44833a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44833a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004483d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4483b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004483d0
add esp, 4
pop esi
ret

Function at 0x448c50
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x448c71
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x448c71
mov eax, dword [eax + 0x44]
test eax, eax
je 0x448c71
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 0x476eb8
Capabilities:
Get graphical window text

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

Function at 0x4785aa
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 0x4785ec
call fcn.0047e162
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4785ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4785e3
xor eax, eax
jmp 0x4785f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004785fa
pop edi
pop esi
pop ebx
ret 4
Function at 0x47e692
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 0x47e6c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e6de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e5f8
jmp 0x47e6de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e6de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e5f8
test edi, edi
mov eax, edi
jne 0x47e6c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x417df8
Capabilities:
Get common file path

Disassembly:
push 8
mov ecx, 0x491200
call 0x90d20ed0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417e36
mov eax, dword [0x6377e0]
test eax, eax
je 0x417e2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6377e0], eax
test eax, eax
pop ebx
je 0x417ed1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov ecx, dword [0x6377e0]
push str.DirectSoundEnumerateA
push ecx
mov dword [0x6377dc], eax
call esi
mov ecx, dword [0x6377dc]
mov dword [0x6377e4], eax
test ecx, ecx
je 0x417ec7
test eax, eax
je 0x417ec7
mov eax, 1
pop esi
add esp, 0x50
ret
mov dword [0x6377e0], 0
xor eax, eax
pop esi
add esp, 0x50
ret

Function at 0x472abd
Capabilities:
Encode data using xor

Disassembly:
pop esi
xchg ebp, eax
push cs
inc edx
and ebp, dword [eax]
push esp
in al, dx
sub eax, 0x300e3aea
cmp dword [eax], 0x6c
or dword [edi], ecx
push ebp
in al, dx
sub eax, 0xd7473e13
push esi
xchg ebp, eax
or bh, byte [ebp + 0x7f7a8ec7]
dec esp
imul eax, dword [eax + 0xd153398], 0x76
pop ss
dec ebx
arpl word [ecx - 0x7f8eb9c0], cx
pop ds
in eax, 0xfe
or byte [edi + 0x5b788b35], 0x21
popal
mov dl, 0x81
out 0xee, eax
mov edi, cs
shl byte [edx], cl
sbb dword [esi], edi
adc edx, ecx
mov ebx, 0x6a278311
xor eax, 0x7ce83f92
test dword [edx], edi
inc edx
invalid
Function at 0x473d3a
Capabilities:
Encode data using xor

Disassembly:
dec edi
mov ch, al
inc edx
test eax, 0x65ea1e62
idiv dword [edx - 0x16]
push ecx
xchg ebx, eax
outsb dx, byte [esi]
cmp edi, dword [ebp - 0x74199e75]
jb 0x473d1c
dec ebp
pop edi
rcl ecx, 0xba
jnp 0x473cb2
ficomp word ds:[edi + 0x17f6de13]
ficomp word [edi + 0x17f6de13]
cmpsb byte [esi], byte es:[edi]
fcompi st(0)
or dh, byte [edi]
and dh, bh
loope 0x473cb3
adc dh, byte [edx - 0x36]
retf 0x346f
out 0x1f, al
push esi
sti
ret 0x6f7b
inc ebp
pop esi
outsb dx, byte [esi]
into
int1
sbb edx, dword [ecx]
int1
pop edx
fisub word [ebx + 0x2c403ad1]
push ecx
jbe 0x473c94
jg 0x473cd6
int 0x76
outsd dx, dword [esi]
jbe 0x473d7a
dec esp
or ah, byte [esi + 0x75c72fd]
pop ss
jnp 0x473d73
aaa
dec esi
xor byte [edx - 0x78], 0xa8
add eax, 0x691e48bf
insb byte es:[edi], dx
mov edi, 0x6c691e48
cdq
mov esp, 0x504ddd87
add eax, eax
out 0xad, al
rcr dword ds:[ebp - 0x6a], cl
xchg edi, eax
mov cl, 0x3c
push cs
cld
sbb esi, ebx
test byte [0xc3e535d9], bh
xor eax, 0x32d9c3e5
xor eax, 0x32d9c3e5
or byte [esp + esi + 0x36df364a], bl
pop ds
sbb al, 0xf7
mov esp, cr7
mov bl, 0x81
pop edx
minps xmm2, xmm3
imul edi, dword [ebx], 0x345e97d5
popal
ja 0x473cf5
push 0x776f2a01
scasd eax, dword es:[edi]
push eax
aas
inc eax
jecxz 0x473d93
dec esp
and dword [esi + 0x5e3c0973], esp
push es
insd dword es:[edi], dx
pop ebx
lcall 0xc26b, 0x8418a95
inc ecx
or byte [ebx - 0x3e], ch
xor ebp, ecx
pushal
into
cli
jecxz 0x473d08
fstp qword [ebp + 0x7052c773]
fistp word [esi]
and dword [edi + 0x1bf2dfc3], 0x99e6f212
mov ebx, 0x2da61d6a
test eax, 0x5775d821
cmpsb byte [esi], byte es:[edi]
sub eax, 0x75d821a9
push edi
ficom dword [edx - 0x7d15f280]
sub esp, 0x8eaa2a2b
jmp 0x473e0f
dec edi
mov dword [edi - 0x4211242e], ecx
fisub word [edi]
or ebx, 0x211bda92
xor al, 0xb6
cmp esi, ebp
nop
adc eax, 0xc5ac6e32
adc edi, 0x41
jnp 0x473e0f
push esi
pushfd
cmp al, 0x1a
jmp [ebx - 0x7c9d5c98]
Function at 0x497fa9
Capabilities:
Encode data using xor

Disassembly:
sbb byte [edx + edi*2], dh
adc eax, 0x53cdb593
jne 0x497f56
salc
mov ebp, 0xb585c2e2
push ebx
push esp
jmp 0x497fc5
fld dword [edi]
sti
inc edx
imul dword [ebx + 0x18]
and byte [edx], al
pop ds
or dword [ecx], edx
aaa
dec edx
sub ah, byte [ebp + 0x24]
jae 0x497f9e
or dword [0xde212035], edi
mov cl, 0x65
std
invalid
lcall 0x201d, 0x2718a09
hlt
in eax, dx
insd dword es:[edi], dx
inc ebx
and ecx, dword [0xa0cd2c21]
ja 0x497f5e
insb byte es:[edi], dx
dec eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
shr dword [ecx], 3
adc al, 0x30
js 0x498002
mov dh, 0x62
push esp
mov ebx, 0xc3d1b355
rol ebx, 1
jge 0x497ff4
out dx, al
add ebx, ecx
add al, 0xb9
adc eax, dword [eax]
pop ebp
lds edx, [esi]
adc ecx, esi
pop edx
and dword [edi], edi
inc ebx
jb 0x497fb5
push eax
jo 0x497f75
nop
mov dl, 0x95
pop ss
or eax, 0x85ee6426
fadd dword [ebp - 0x4a950569]
jae 0x49801b
jecxz 0x498055
add ch, byte [ebx]
in eax, dx
in al, 0xc7
pop ebx
and dword [esi + 0x23f51518], edi
stosd dword es:[edi], eax
fistp dword [ecx]
mov al, 0x35
xchg byte [edi - 0xbd0f8e8], al
sbb ecx, dword [eax - 0x26]
das
sub ch, 0x61
stc
cli
add byte [edx], ah
adc cl, dl
pop eax
and al, 0x82
inc ecx
mov dword [0xe978b36], eax
stc
cwde
invalid
mov edi, 0x7579300f
leave
adc ch, 0xf1
aaa
adc eax, 0x389077bb
sbb byte [ebx + 0xf], ch
mov ch, 0xf9
inc esp

Function at 0x49942f
Capabilities:
Encode data using xor

Disassembly:
scasd eax, dword es:[edi]
mov ecx, 0x3d246d27
pushfd
movsb byte es:[edi], byte [esi]
cmp bh, ah
xchg ebp, eax
inc ebx
lahf
dec esp
imul ebp, dword [edx + ecx*2 + 0x22a10400], 0x218d0a40
imul esp, dword [eax], 0xffffffbb
xchg esp, eax
jns 0x4994cd
int3
out 0xc, eax
mov ch, 0x8d
fild qword [ebx]
out dx, eax
xor bl, byte [edx - 0x63]
das
pop ss
lodsd eax, dword [esi]
inc edi
and al, bh
dec esp
pop edx
rcr byte [edi + 0x31], cl
shl byte cs:[eax], cl
inc ebx
jmp 0x499437
fisubr word [edi - 0x70ff4a9d]
in eax, 0xc1
dec esi
fcom qword [ecx + 0x2bdda63b]
dec esp
pop es
jno 0x499533
adc edx, dword [ebp - 0x2b]
loopne 0x499491
push edi
push ebx
mov al, byte [0x9d3ba1f8]
cmp eax, 0x40bd8ee9
inc ebp
jbe 0x49951b
cmp dword [eax], edx
shr byte [esi], 0x22
invalid
sub eax, 0x6fc50c23
pop edi
popfd
pushal
cmp al, 1
sub dword [edi + 0x607c1942], 0x57
xor byte [edi + 0x5737a228], ch
xchg edx, eax
push edx
and byte [esi + 0x1b], cl
pushal
invalid
sbb esp, dword [eax - 0x10]
cmc
cli
xlatb
sbb eax, dword [esi + ebp*4]
outsb dx, byte [esi]
push 0x46
loop 0x499500
fistp qword [ecx + 0x32deecac]
inc edx
aam 0x9e
dec ecx
movsd dword es:[edi], dword [esi]
add eax, 0x118888de
mov dl, 0x33
lcall 0xb923, 0x1d807e58
das
jg 0x499556
ret 0xca27
dec ebp
sub byte [ebp + 0x1ea8e12a], 0x12
jnp 0x4994e6
retf 0xd610
Function at 0x403894
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x481020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40392c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40390c
xor eax, eax
push ebp
push 0x403905
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403964
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40390c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x481020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x481020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404a70
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x483050], 0
je 0x404ad1
cmp word [0x48332c], 0xd7b2
jne 0x404a99
cmp dword [0x483334], 0
jbe 0x404a99
mov eax, 0x483328
call dword [0x483344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404afc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48102c], 0
jne 0x404aed
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x481030], 0
je 0x404c76
mov edx, esi
mov eax, ebx
call dword [0x481030]
jmp 0x404c85
mov eax, 8
call fcn.00402f9c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x483051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c18
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408b68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x485b2c
push 0xa
push 0x408bfc
mov eax, dword [0x485b1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408b8c
call fcn.004106cc
push ebx
mov eax, dword [0x485b1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x408ba3
call fcn.004106cc
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x408bb5
call fcn.004106cc
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x485b30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x485b34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x485b38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x485b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x485b40], ecx
add edx, dword [eax + 0x14]
mov dword [0x485b44], edx
pop esi
pop ebx
ret

Function at 0x40a21c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a2c5
test eax, edx
je 0x40a2c8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a245
push edx
mov edx, eax
mov eax, esp
call fcn.00405630
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a25b
push eax
lea eax, [esp + 8]
call fcn.00405630
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a26a
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a291
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40a2ab
add ecx, 4
js 0x40a282
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a2a8
push eax
mov eax, ecx
mov edx, 2
call fcn.00404cf0
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a28f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a291
xor eax, eax
ret
test eax, eax
je 0x40a2d8
test edx, edx
jne 0x40a22c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40e1e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e219
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405598
jmp 0x40e222
mov eax, ebx
mov edx, esi
call fcn.0040545c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e22c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e24e
movzx eax, word [esp]
jmp 0x40e250
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret