joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001835
push 0
push 0
push 0
push 0x100013e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10001910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000196b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000196b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10001958
cmp esi, edx
jae 0x1000196b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10001946
cmp esi, edx
jae 0x1000196b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x100019a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e33e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10017040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov dword [esi], 0
call fcn.100011b0
mov ecx, eax
test ecx, ecx
je 0x10001a68
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
add eax, 0xffffff80
mov dword [ebp - 0x10], 1
or ecx, eax
jge 0x10001a1f
push 0x80
mov ecx, esi
call fcn.10001de0
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x80
jl 0x10001a72
mov dword [ecx - 0xc], 0x80
xor edx, edx
mov eax, dword [esi]
mov word [eax + 0x100], dx
push dword [edi]
push 0x80
push ecx
push edx
push dword [ebp + 0x10]
push str.HookInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10001080
push 0x80070057
call fcn.10001080
int3
Function at 0x10001a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x10017d60
push 0
call fcn.10002142
mov edi, eax
mov esi, 1
test edi, edi
je 0x10001bd4
mov ebx, dword [ebp + 8]
mov eax, ebx
shr eax, 4
mov dword [ebp - 4], eax
inc eax
movzx eax, ax
mov dword [ebp + 8], eax
nop dword [eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10001ae1
push ebx
mov edx, eax
mov ecx, edi
call fcn.10001910
add esp, 4
test eax, eax
jne 0x10001afc
push esi
mov ecx, 0x10017d60
call fcn.10002142
mov edi, eax
inc esi
test edi, edi
je 0x10001bd4
mov eax, dword [ebp + 8]
jmp 0x10001ac0
test edi, edi
je 0x10001bd4
mov eax, dword [ebp - 4]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x10001bd4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001bd4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001bd4
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x10001b65
cmp esi, ecx
jae 0x10001bd4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x10001b53
cmp esi, ecx
jae 0x10001bd4
cmp word [esi], 0
je 0x10001bd4
mov ebx, dword [ebp - 8]
mov ecx, 1
movzx edi, word [esi]
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x10001b90
push edi
mov ecx, ebx
call fcn.10001de0
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.100058d4
add esp, 0x10
cmp eax, 0x50
ja case.0x10001baf.1
movzx eax, byte [eax + 0x10001c10]
jmp dword [eax*4 + 0x10001c00]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg case.0x10001baf.20
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.10001080
push 0x80070057
call fcn.10001080
push 0x80004005
call fcn.10001080
nop dword [eax]
mov dh, 0x1b
add byte [eax], dl
fistp word [ebx]
add byte [eax], dl
jmp 0x3101c28

Function at 0x10006194
Capabilities:
Parse pe header

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

Function at 0x10008747
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10011f40
push 0x10011f38
push str.FlsAlloc
push 0x1f
call fcn.10008663
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000877b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f148]
call esi
jmp 0x10008781
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x100087c5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10011f50
push 0x10011f48
push str.FlsGetValue
push 0x21
call fcn.10008663
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100087fc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10008804
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10011f58
push 0x10011f50
push str.FlsSetValue
push 0x22
call fcn.10008663
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000883e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000a2ff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000a39c
push ebx
push esi
call fcn.1000a2c8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10009166
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000a349
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a39b
push edi
push eax
call fcn.10007859
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000a369
call fcn.10006eb2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a39a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10009166
add esp, 0x20
test eax, eax
jne 0x1000a388
push edi
call fcn.10006eb2
jmp 0x1000a390
push ebx
call fcn.10006eb2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000e1c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e1ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e1ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4061b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x406235
cmp eax, 0x40
jbe 0x4061dc
lea eax, [esi + 0x40]
push eax
push esi
call fcn.00407cb0
add esp, 8
mov dword [esi + 0x9c], 0x14
mov edx, dword [esi + 0x9c]
mov ecx, pe_nt_image_headers32
push edi
sub ecx, edx
lea edi, [edx + esi]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x36363636
dec ecx
mov dword [eax - 4], edx
jne 0x406204
lea edi, [esi + 0x40]
push edi
call fcn.00407ba0
push edi
push pe_nt_image_headers32
push esi
call fcn.00407be0
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40624f
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00407be0
add esp, 0xc
pop esi
ret

Function at 0x406260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x9c], 0xffffffff
je 0x40627f
push edi
push 0
push 0
call fcn.004061b0
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push esi
push eax
call fcn.00407cb0
add esp, 8
mov eax, edi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edx
jne 0x406297
push esi
call fcn.00407ba0
push esi
push pe_nt_image_headers32
push edi
call fcn.00407be0
push esi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
call fcn.00407be0
lea edx, [esp + 0x24]
push esi
push edx
call fcn.00407cb0
mov ecx, dword [esp + 0x48]
add esp, 0x24
test ecx, ecx
jbe 0x4062f0
mov edi, dword [esp + 0x20]
mov eax, ecx
lea esi, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x407ba0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x40a100
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00406100
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00406110
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
mov ecx, 0x28
lea esi, [esp + 0x4c]
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18c]
push ecx
push edx
push eax
call fcn.004061b0
mov ecx, dword [esp + 0x254]
add esp, 0x1c
dec ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 4
inc edx
mov dword [esp + 0x10], edx
je 0x40a28c
push ebx
push ebp
mov dword [esp + 0x10], 0
mov ebx, 1
lea ebp, [esp + 0x1c]
xor edx, edx
mov ecx, 0x28
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x184]
lea edi, [esp + 0xe4]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], edx
mov ecx, ebx
mov dword [esp + 0x28], edx
mov eax, ebx
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov byte [esp + 0x31], cl
mov ecx, dword [esp + 0x238]
mov edx, ebx
shr eax, 0x18
shr edx, 8
mov byte [esp + 0x30], al
mov byte [esp + 0x32], dl
test ecx, ecx
mov byte [esp + 0x33], bl
mov eax, 4
jbe 0x40a249
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.004061b0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x3c]
push eax
push 0x14
push ecx
call fcn.00406260
add esp, 0x18
xor eax, eax
mov dl, byte [esp + eax + 0x30]
mov cl, byte [esp + eax + 0x1c]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x14
jb 0x40a218
mov ecx, 0x28
lea esi, [esp + 0x44]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x40a1ec
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [esp + 0x240]
jae 0x40a26c
mov esi, dword [esp + 0x23c]
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x40a24f
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebx
add esi, 0x14
sub ebp, 0x14
mov dword [esp + 0x10], esi
lea eax, [ebx - 1]
cmp eax, ecx
jb 0x40a18e
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x214
ret 0x1c
Function at 0x40ce30
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
push 0x44772c
call fcn.00427d30
add esp, 4
mov dword [esi + 0x5670], eax
test eax, eax
jne 0x40ce64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4476dc
call fcn.004243e0
add esp, 8
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4476c8
push eax
call edi
test eax, eax
mov dword [esi + 0x5664], eax
jne 0x40ce8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x447664
jmp 0x40ced4
mov eax, dword [esi + 0x5670]
push 0x44764c
push eax
call edi
test eax, eax
mov dword [esi + 0x5660], eax
jne 0x40ceb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4475e4
jmp 0x40ced4
mov ecx, dword [esi + 0x5670]
push 0x4475d0
push ecx
call edi
test eax, eax
mov dword [esi + 0x565c], eax
jne 0x40cefc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x44756c
call fcn.004243e0
mov eax, dword [esi + 0x5670]
add esp, 8
test eax, eax
je 0x40cef7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x5670], 0
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esi + 0x5670]
push ebp
push 0x447560
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x5668], eax
test eax, eax
jne 0x40cf2b
call ebp
push eax
push 0x447508
call fcn.004243e0
add esp, 8
mov eax, dword [esi + 0x5670]
push 0x4474fc
push eax
call edi
test eax, eax
mov dword [esi + 0x566c], eax
jne 0x40cf53
call ebp
push eax
push 0x4474a0
call fcn.004243e0
add esp, 8
pop ebp
pop edi
mov eax, 1
pop esi
ret
Function at 0x40e630
Capabilities:
Create directory

Disassembly:
sub esp, 0x32c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x33c]
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e75e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e75e
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [esp + 0x114], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov al, byte [esi]
cmp al, 0x5c
je 0x40e695
test al, al
je 0x40e695
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
cmp al, 0x5c
jne 0x40e686
lea eax, [esp + 0x10]
mov byte [ecx], 0
push eax
call ebp
cmp eax, 1
jl 0x40e75e
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push ecx
push edx
call ebx
lea eax, [esp + 0x114]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e6ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x40e6ea
lea ecx, [esp + 0x114]
push ecx
call ebp
cmp eax, 2
jg 0x40e71e
cmp byte [esi], 0
je 0x40e75e
lea edx, [esp + 0x10]
push edx
call ebp
cmp eax, 1
jl 0x40e75e
cmp byte [esi], 0x5c
jne 0x40e710
lea eax, [esp + 0x114]
push 0x445344
push eax
call ebx
inc esi
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x10]
jmp 0x40e680
lea ecx, [esp + 0x114]
lea edx, [esp + 0x218]
push ecx
push 0x4498fc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x224]
push edi
push eax
call fcn.004243e0
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x32c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x32c
ret
Function at 0x4174d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4174db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4175de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x43f740]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x43f740]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x43f740]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x43f740]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x43f740]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x43f740]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x43f740]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x43f740]
xor eax, edx
inc ecx
dec edi
jne 0x4174f6
pop edi
test esi, esi
je 0x417600
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x43f740]
xor eax, edx
inc ecx
dec esi
jne 0x4175e2
pop esi
pop ebx
not eax
ret
Function at 0x417e70
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov edx, dword [eax + 0x44c008]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x417e7b
xor eax, eax
mov ecx, 0x100
mov edx, dword [edi + 4]
mov esi, dword [eax + 0x44c050]
mov dword [eax + edx], esi
add eax, 4
dec ecx
jne 0x417e95
cmp eax, 0x1000
jl 0x417e90
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [edi]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
cdq
idiv ebp
lea eax, [esi + 2]
mov bl, byte [edx + ecx]
cdq
idiv ebp
mov bh, byte [esi + ecx]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv ebp
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
xor edx, ebx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebp
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x48
mov dword [esp + 0x18], eax
mov esi, edx
jl 0x417ebe
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.00417670
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x417f20
mov esi, 4
mov ebx, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.00417670
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax - 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi + edx], eax
add esi, 8
dec ebx
jne 0x417f56
cmp esi, 0x1004
jl 0x417f51
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x418190
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [eax]
mov esi, dword [esp + 0x50]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x54]
push edi
cmp eax, 1
mov dword [ebp + 0xc], edx
jae 0x4181c7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x38
jbe 0x4181d1
mov eax, 0x38
mov ecx, eax
lea edi, [esp + 0x18]
mov edx, ecx
lea ebx, [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
mov dword [esp + 0x58], 0x12
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12
mov esi, 0x43fb40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x58]
mov ecx, 0x400
mov esi, 0x43fb88
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edi, ebx
xor esi, esi
mov dword [esp + 0x5c], 4
xor ebx, ebx
mov bl, byte [edx]
shl esi, 8
or esi, ebx
inc edx
inc ecx
cmp ecx, eax
jne 0x418234
xor ecx, ecx
lea edx, [esp + 0x18]
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
jne 0x41821f
mov ebx, dword [edi]
add edi, 4
xor ebx, esi
mov esi, dword [esp + 0x58]
mov dword [edi - 4], ebx
dec esi
mov dword [esp + 0x58], esi
jne 0x418215
xor edi, edi
lea esi, [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004182f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x12
jb 0x418261
lea eax, [ebp + 0x58]
mov dword [esp + 0x5c], 4
mov ebx, eax
xor edi, edi
mov esi, ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004182f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x100
jl 0x418297
mov eax, dword [esp + 0x5c]
add ebx, 0x400
dec eax
mov dword [esp + 0x5c], eax
jne 0x418293
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
Function at 0x419dc0
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
push esi
push 0x104
push eax
call fcn.00427cb0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea ecx, [esp + 0x108]
push 0x44b9e0
push ecx
call esi
lea edx, [esp + 0x108]
push edx
call fcn.00427cf0
add esp, 4
test eax, eax
jne 0x419e14
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
add esp, 0x208
ret
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 4]
push 0x44b9d4
push edx
call esi
call fcn.004237a0
test eax, eax
jne 0x419e5f
lea eax, [esp + 4]
lea ecx, [esp + 0x108]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop esi
add esp, 0x208
ret
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edx, [esp + 4]
push 1
lea eax, [esp + 0x10c]
push edx
push eax
call esi
test eax, eax
jne 0x419ead
lea ecx, [esp + 4]
push eax
lea edx, [esp + 0x10c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x419ead
push 4
push eax
lea eax, [esp + 0xc]
push eax
call esi
lea ecx, [esp + 4]
push 4
lea edx, [esp + 0x10c]
push ecx
push edx
call esi
pop esi
add esp, 0x208
ret
Function at 0x41a490
Capabilities:
Log keystrokes

Disassembly:
mov edx, dword [esp + 4]
push esi
xor ecx, ecx
mov eax, 0x440bb8
cmp dword [eax], edx
je 0x41a4b1
add eax, 4
inc ecx
cmp eax, 0x440d1c
jb 0x41a49c
xor eax, eax
pop esi
ret 0xc
mov esi, dword [ecx*4 + 0x440bb8]
call fcn.00423790
test eax, eax
je case.0x41a4d3.20
lea eax, [esi - 0x11]
cmp eax, 0x94
ja case.0x41a4d3.20
xor ecx, ecx
mov cl, byte [eax + 0x41a534]
jmp dword [ecx*4 + 0x41a524]
mov esi, 0x10
jmp case.0x41a4d3.20
mov esi, 0x11
jmp case.0x41a4d3.20
mov esi, 0x12
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
jne 0x41a4fc
mov eax, 2
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41a506
or al, 1
push 0
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
pop esi
ret 0xc

Function at 0x41a5d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
mov cl, byte [eax]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov byte [esp + 4], al
mov eax, dword [esp + 4]
mov edx, eax
and edx, 0xff
cmp edx, 0xffffffff
jne 0x41a5f7
xor eax, eax
ret 8
mov ecx, dword [esp + 8]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
push ecx
push eax
call fcn.0041a460
add esp, 8
mov eax, 1
ret 8
Function at 0x41b760
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push esi
push 0x800
mov dword [esp + 8], 0x800
call fcn.004304d2
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 8]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push eax
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x41b7aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x41b7b7
push esi
call fcn.004303e9
add esp, 4
mov eax, 1
pop esi
add esp, 8
ret