joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404580
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435c70
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x442104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x404643
push eax
lea ecx, [ebp - 0x50]
call fcn.00402780
add esp, 4
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x4c], 0x14
push eax
push 2
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x404750
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
bswap eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
bswap eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
bswap eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
bswap eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
bswap eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x404666
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x404666
mov dword [ebp - 0x44], 0xeb3eb781
mov dword [ebp - 0x40], 0x50265329
mov dword [ebp - 0x3c], 0xdc5ef4a3
mov dword [ebp - 0x38], 0x6847b9d5
mov dword [ebp - 0x34], 0xcde43b4c
xor esi, esi
lea ecx, [ebp - 0x4c]
call fcn.00402690
lea edi, [esi + 1]
mov dword [ebp - 0x48], edi
push 0
push 0x18
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x404750
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x54], 0x14
push eax
push 2
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40472b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
bswap eax
mov word [ebp + esi*2 - 0x30], ax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4046e3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x4c], 0
mov esi, edi
cmp esi, 0xf
jb 0x404668
mov esi, dword [ebp - 0x58]
push esi
call fcn.00405a80
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 1
push 0xffffffffffffffff
push 0x1e
push esi
call fcn.00405c60
add esp, 0x20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bc93
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00402320
push 0x441584
lea eax, [ebp - 0x6c]
push eax
call fcn.0041d2ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00402680
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.00402320
push 0x441584
lea eax, [ebp - 0x80]
push eax
call fcn.0041d2ea
int3
Function at 0x405140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d50
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x442104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x5c], eax
lea edi, [eax + 4]
mov edx, 0x440114
mov dword [ebp - 0x60], edi
mov ecx, edi
mov esi, 0x1e
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405192
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405181
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4051b9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4051b9
cmp esi, 0xfffffffe
je 0x4051b5
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4051b9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4051b9
xor eax, eax
jmp 0x4051be
sbb eax, eax
or eax, 1
mov esi, dword [ebp - 0x5c]
add esi, 0x26
test eax, eax
jne 0x4051f2
mov ecx, esi
lea edi, [eax + 0x1e]
mov edx, 0x440114
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4051ef
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4051d2
mov cx, word [ecx]
cmp cx, word [edx]
je 0x4052f7
mov edi, dword [ebp - 0x60]
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00401b10
lea eax, [ebp - 0x58]
mov edx, esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00401a00
add esp, 4
mov edx, edi
xor ecx, ecx
mov ax, word [ebp + ecx - 0x34]
lea edx, [edx + 2]
xor ax, word [edx - 2]
mov word [ebp + ecx - 0x58], ax
add ecx, 2
cmp ecx, 0x22
jb 0x405211
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.00401e80
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx*2 - 0x34]
movups xmm1, xmmword [ebp + ecx*2 - 0x58]
pxor xmm1, xmm0
movups xmmword [ebp + ecx*2 - 0x34], xmm1
add ecx, 8
cmp ecx, 0x10
jb 0x405240
cmp ecx, 0x11
jae 0x405270
mov ax, word [ebp + ecx*2 - 0x58]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
cmp ecx, 0x11
jb 0x405260
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax]
nop word [eax + eax]
mov ax, word [edx + ecx*2]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
cmp ecx, 0x11
jb 0x405280
xor word [ebp - 0x58], 1
mov edx, esi
movups xmm0, xmmword [ebp - 0x58]
mov ax, word [ebp - 0x38]
mov ecx, esi
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [esi + 0x10], xmm0
mov word [esi + 0x20], ax
lea eax, [ebp - 0x34]
push eax
call fcn.00401a00
add esp, 4
mov edx, edi
mov ecx, edi
call fcn.00401e80
mov ecx, 0x11
nop dword [eax]
mov ax, word [esi - 0x22]
lea esi, [esi + 2]
xor word [esi - 2], ax
sub ecx, 1
jne 0x4052d0
movups xmm0, xmmword [ebp - 0x34]
mov ax, word [ebp - 0x14]
movups xmmword [edi], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edi + 0x10], xmm0
mov word [edi + 0x20], ax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bc93
mov esp, ebp
pop ebp
ret
Function at 0x41c948
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41c987
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c987
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c987
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41c987
cmp dword [ecx + 0x74], 0xe
jbe 0x41c987
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42a4ba
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a137

Function at 0x433d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x433d3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x433d3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x415f63
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b84
push 0x433b7c
push str.FlsGetValue
push 2
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x415f94
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415f9a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x415f9d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b8c
push 0x433b84
push str.FlsSetValue
push 3
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x415fd1
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415fd7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000200e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1000e730
mov eax, 4
call fcn.10056cb0
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x64]
push edi
mov edi, dword [esp + 0x20]
inc edi
test byte [eax + 0x30], 1
je 0x1000e77b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 8]
lea eax, [edi + ecx]
cmp eax, edx
jbe 0x1000e76b
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
add dword [esi + 0x14], ecx
add dword [esi + 0x18], ecx
sub edx, ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], edx
jmp 0x1000e780
cmp edi, dword [esi + 8]
ja 0x1000e764
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push ebp
push dword [ebx + 0x3cc]
movzx ebp, byte [ecx + eax - 1]
call sub.libcrypto_1_1.dll_EVP_CIPHER_CTX_cipher
push eax
call sub.libcrypto_1_1.dll_EVP_CIPHER_flags
add esp, 8
test eax, 0x200000
je 0x1000e7ba
or eax, 0xffffffff
sub eax, ebp
add dword [esi + 8], eax
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 8]
lea eax, [edi + ebp]
mov edi, edx
sub edi, eax
xor edi, eax
xor eax, edx
or edi, eax
xor edi, edx
shr edi, 0x1f
mov eax, 0x100
dec edi
cmp edx, eax
cmovb eax, edx
xor ebx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000e833
mov esi, dword [esi + 0x14]
mov eax, ebp
shr eax, 0x1f
dec esi
mov dword [esp + 0x24], eax
add esi, edx
mov al, byte [esp + 0x24]
mov edx, ebp
sub edx, ebx
shr edx, 0x1f
mov ecx, ebx
shr ecx, 0x1f
xor dl, cl
xor al, cl
or dl, al
xor dl, byte [esp + 0x24]
movzx eax, byte [esi]
dec dl
movzx ecx, dl
xor eax, ebp
and ecx, eax
not ecx
inc ebx
and edi, ecx
lea esi, [esi - 1]
cmp ebx, dword [esp + 0x18]
jb 0x1000e7f7
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
not edi
and edi, 0xff
lea eax, [ebp + 1]
lea ecx, [edi - 1]
shr ecx, 0x1f
not edi
shr edi, 0x1f
and ecx, edi
neg ecx
and eax, ecx
sub edx, eax
mov dword [esi + 8], edx
mov dword [esp + 0x24], ecx
pop ebp
not ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x20]
pop edi
and eax, 1
or eax, dword [esp + 0x10]
pop esi
pop ebx
pop ecx
ret
Function at 0x1000d230
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1000d230
mov eax, 0xa0
call fcn.10056cb0
mov eax, dword [0x10092c20]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xc]
push ebp
xor ebp, ebp
cmp ecx, ebx
jb 0x1000d3c0
cmp ebx, 0x40
ja 0x1000d3c0
lea eax, [esp + 0x24]
neg eax
push esi
push edi
and eax, 0x3f
lea edi, [esp + 0x2c]
add edi, eax
lea eax, [ebx + 0x100]
mov dword [esp + 0x20], edi
cmp ecx, eax
jbe 0x1000d2ab
mov ebp, ecx
sub ebp, ebx
sub ebp, 0x100
push ebx
xor esi, esi
push esi
push edi
mov dword [esp + 0x20], 0
call fcn.100573b0
mov eax, dword [esp + 0xc4]
add esp, 0xc
mov dword [esp + 0x10], esi
cmp ebp, dword [eax + 0xc]
jae 0x1000d36d
mov ecx, ebp
sub ecx, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov eax, ebp
xor eax, dword [esp + 0x1c]
mov edx, ecx
lea edi, [eax - 1]
not eax
shr eax, 0x1f
shr edi, 0x1f
and edi, eax
mov eax, dword [esp + 0xb8]
neg edi
mov ecx, dword [eax + 8]
xor edx, ecx
mov eax, ebp
xor eax, ecx
or edx, eax
mov eax, dword [esp + 0x28]
xor edx, ebp
mov cl, byte [eax + ebp]
shr edx, 0x1f
mov eax, edi
or eax, dword [esp + 0x14]
neg edx
and eax, edx
mov edx, dword [esp + 0x10]
and edi, edx
mov dword [esp + 0x14], eax
and al, cl
or esi, edi
mov edi, dword [esp + 0x20]
inc edx
or byte [edx + edi - 1], al
mov ecx, edx
sub ecx, ebx
xor ecx, ebx
mov eax, edx
xor eax, ebx
or ecx, eax
mov eax, dword [esp + 0xb8]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [esp + 0x18]
inc ebp
inc ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
cmp ebp, dword [eax + 0xc]
jb 0x1000d2e4
xor edx, edx
test ebx, ebx
je 0x1000d3a2
mov ebp, dword [esp + 0x24]
mov eax, esi
xor eax, 0x20
inc esi
mov al, byte [eax + edi]
movzx eax, byte [esi + edi - 1]
mov byte [edx + ebp], al
mov ecx, esi
sub ecx, ebx
xor ecx, ebx
mov eax, esi
xor eax, ebx
or ecx, eax
xor ecx, esi
shr ecx, 0x1f
neg ecx
inc edx
and esi, ecx
cmp edx, ebx
jb 0x1000d377
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10056cdb
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa4]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10056cdb
add esp, 0xa0
ret
Function at 0x1006432a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100591ac
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10064362
xor eax, eax
jmp 0x1006438e
cmp esi, dword [ebp - 4]
je 0x1006438b
cmp dword [ebp + 0xc], 0
je 0x1006438b
push dword [edi + 0x9c]
call fcn.10063f38
push dword [edi + 0x9c]
mov esi, eax
call fcn.1006346c
pop ecx
pop ecx
cmp esi, eax
je 0x1006435e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x1006a311
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10092c20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.1005959d
mov dword [ebp - 0x14], eax
cmp dword [0x10094c48], edi
jne 0x1006a402
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1006a38f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006a4e2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1006a4e2
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006a4e2
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10094c48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10094c4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10094c50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10094c58], eax
test eax, eax
je 0x1006a3ff
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10094c54], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006a427
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006a41a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1006a43c
push 4
pop eax
jmp 0x1006a4e4
cmp dword [ebp - 0x14], edi
je 0x1006a43c
push dword [0x10094c48]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006a421
mov eax, dword [0x10094c54]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1006a49a
cmp dword [0x10094c58], esi
je 0x1006a49a
push eax
call ebx
push dword [0x10094c58]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006a49a
test eax, eax
je 0x1006a49a
call ecx
test eax, eax
je 0x1006a48f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006a48f
test byte [ebp - 8], 1
jne 0x1006a49a
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1006a4ca
mov eax, dword [0x10094c4c]
cmp eax, esi
je 0x1006a4c7
push eax
call ebx
test eax, eax
je 0x1006a4c7
call eax
mov edi, eax
test edi, edi
je 0x1006a4c7
mov eax, dword [0x10094c50]
cmp eax, esi
je 0x1006a4c7
push eax
call ebx
test eax, eax
je 0x1006a4c7
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10094c48]
call ebx
test eax, eax
je 0x1006a4e2
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1006a4e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056cdb
leave
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5109fc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x510aff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040e248
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
mov ecx, 0x510b14
mov edx, dword [ebp - 0xc]
call fcn.00404c2c
mov eax, dword [ebp - 0x150]
call fcn.00404de0
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
test ebx, ebx
je 0x510ad9
lea eax, [ebp - 8]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404b90
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c2c
mov eax, dword [ebp - 8]
mov edx, 0x510b20
call fcn.00404d2c
je 0x510abc
mov eax, dword [ebp - 8]
mov edx, 0x510b2c
call fcn.00404d2c
je 0x510abc
mov eax, dword [ebp - 0x14c]
and eax, 0x10
cmp eax, 0x10
je 0x510abc
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x510a65
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510b06
lea eax, [ebp - 0x150]
call fcn.00404920
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404944
ret

Function at 0x510bfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x52c46c]
mov eax, dword [eax]
call fcn.0048c268
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
jae 0x510c07
pop esi
pop ebx
ret

Function at 0x511fc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x511ffc]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x511fda
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x511fe9
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x511ff8
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x512890
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4680e4]
call fcn.00403c3c
test al, al
je 0x5128d2
mov eax, dword [0x52c46c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x5128d2
mov edx, dword [0x52c46c]
xor edx, edx
call fcn.004858f0
push 0
mov eax, dword [0x52c46c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x10003fe0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call sym._wined3d_mutex_lock_0
mov ebx, dword [edi + 4]
lea eax, [edi + 4]
cmp ebx, eax
jne 0x10004012
jmp 0x10004090
mov ebx, dword [ebx]
cmp ebx, eax
je 0x10004090
mov ecx, dword [esi]
cmp dword [ebx + 8], ecx
jne 0x10004008
mov edi, dword [esi + 4]
cmp dword [ebx + 0xc], edi
jne 0x10004008
mov edi, dword [esi + 8]
cmp dword [ebx + 0x10], edi
jne 0x10004008
mov edi, dword [esi + 0xc]
cmp dword [ebx + 0x14], edi
jne 0x10004008
xor esi, esi
test ebx, ebx
je 0x10004090
test byte [ebx + 0x18], 1
je 0x1000404b
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
call sym._wined3d_mutex_unlock_0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._wined3d_mutex_unlock_0
mov esi, 0x88760866
jmp 0x10004080
Function at 0x10004190
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
call sym._wined3d_mutex_lock_0
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
and eax, 1
mov dword [ebp - 0x18], eax
je 0x100041cd
cmp esi, 4
jne 0x10004300
lea eax, [ebp - 0x10]
mov dword [ebp + 0x10], eax
lea edx, [esi + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x10004307
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x1c], esi
mov dword [edi + 8], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], esi
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], ecx
mov dword [edi + 0x18], eax
lea eax, [edi + 0x20]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100042e8
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
cmp dword [ebp - 0x14], esi
jne 0x10004257
jmp 0x100042be
mov esi, dword [esi]
cmp dword [ebp - 0x14], esi
je 0x100042be
mov edx, dword [ebx]
cmp dword [esi + 8], edx
jne 0x10004250
mov ecx, dword [ebx + 4]
cmp dword [esi + 0xc], ecx
jne 0x10004250
mov edx, dword [ebx + 8]
cmp dword [esi + 0x10], edx
jne 0x10004250
mov edx, dword [ebx + 0xc]
cmp dword [esi + 0x14], edx
jne 0x10004250
test esi, esi
je 0x100042be
test byte [esi + 0x18], 1
je 0x1000428e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
call sym._wined3d_mutex_unlock_0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x20]
mov esi, dword [eax]
mov dword [esp], eax
call dword [esi + 4]
sub esp, 4
jmp 0x1000423f
mov ebx, 0x8876086c
jmp 0x100042d6
mov ebx, 0x8007000e
jmp 0x100042d6