joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5297b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0xa8b640
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0xa8b560]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x52982b
push 0x4c
push 1
call fcn.0053e4d5
mov esi, eax
add esp, 8
test esi, esi
jne 0x5297f3
push 0xa8b640
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0xa8b560]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0xa7ae28]
inc eax
lea edx, [esi + 0xc]
mov dword [0xa7ae28], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.0052d340
add esp, 8
mov byte [esi + 0x3c], 1
push 0xa8b640
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x529cb0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0053e0ad
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.00540c2c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x529daa
call fcn.0053e0ad
cmp dword [eax], 0
je 0x529cf7
call fcn.0053e0ad
mov ebp, dword [eax]
jmp 0x529cfa
or ebp, 0xffffffff
call fcn.00529840
test esi, esi
mov dword [eax], ebp
jne 0x529d0f
call fcn.0053e0ad
cmp dword [eax], 4
je 0x529d5f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x529d42
cmp esi, 0xffffffff
je 0x529d84
test al, 6
je 0x529d42
call fcn.00529840
mov ecx, dword [eax]
push ecx
push ebx
call fcn.0052d370
add esp, 4
push eax
push 0x24
push 9
call fcn.0052a090
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x529da2
test al, 6
je 0x529d50
test ah, 2
je 0x529da2
test esi, esi
jbe 0x529dae
test ah, 2
je 0x529dae
add dword [esp + 0x18], esi
sub edi, esi
call fcn.0053e0ad
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.00540c2c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x529daa
jmp 0x529ce4
call fcn.00529840
mov eax, dword [eax]
push eax
push ebx
call fcn.0052d370
add esp, 4
push eax
push 0x24
push 2
call fcn.0052a090
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x529dbb
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x529dc4
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x540abf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x540adf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0053e03a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je CompareStringW
test byte [esp + 8], 2
je 0x540b02
call fcn.0053e0ad
mov dword [eax], 0xd
call fcn.0053e0b6
mov dword [eax], 5
jmp 0x540adb
xor eax, eax
ret
Function at 0x5535bc
Capabilities:
Get graphical window text

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

Function at 0x554cb1
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 0x554cf3
call fcn.0055a82b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x554cf3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x554cea
xor eax, eax
jmp 0x554cfb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00554d01
pop edi
pop esi
pop ebx
ret 4

Function at 0x55ad5b
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 0x55ad89
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x55ada7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0055acc1
jmp 0x55ada7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x55ada7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0055acc1
test edi, edi
mov eax, edi
jne 0x55ad91
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403bfc
Capabilities:
Encrypt data using tea

Disassembly:
sub esp, 0x28
and dword [esp + 8], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edi
mov eax, dword [edi]
mov ebp, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x30], eax
call fcn.00403287
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
add ebx, 0x23f
mov edi, dword [esi + 8]
push 0x20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
pop esi
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov edx, dword [esp + 0x1c]
mov eax, edx
shl eax, 4
add eax, edi
mov dword [esp + 0x24], 0xedeb2e40
cmp dword [0x6a2524], 0xfa9
mov dword [esp + 0x10], eax
lea ecx, [ebx + edx]
mov eax, dword [0x6a2568]
cmove eax, dword [esp + 0x24]
and dword [esp + 0x24], 0
cmp dword [0x6a2524], 0x3eb
mov dword [0x6a2568], eax
mov eax, dword [0x6a2570]
cmove eax, dword [esp + 0x24]
mov dword [0x6a2570], eax
mov eax, dword [esp + 0x1c]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x28]
xor eax, ecx
mov dword [0x6a256c], 0xf4ea3dee
xor eax, dword [esp + 0x10]
sub ebp, eax
mov dword [esp + 0x14], eax
mov eax, ebp
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
mov eax, ebp
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
lea eax, [ebx + ebp]
xor eax, dword [esp + 0x14]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x18]
call fcn.00403bf0
dec esi
je 0x403d20
mov ebx, dword [esp + 0x18]
jmp 0x403c4a
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ebp
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x41241f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46bdf8]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407986
mov dword [ebp - 0x14], eax
cmp dword [0x6a36e4], esi
jne 0x412512
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41249f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4125f2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4125f2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4125f2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x6a36e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x6a36e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6a36ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6a36f4], eax
test eax, eax
je 0x41250f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6a36f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x412537
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41252a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41254c
push 4
pop eax
jmp 0x4125f4
cmp dword [ebp - 0x14], esi
je 0x41254c
push dword [0x6a36e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x412531
mov eax, dword [0x6a36f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4125aa
cmp dword [0x6a36f4], edi
je 0x4125aa
push eax
call ebx
push dword [0x6a36f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4125aa
test eax, eax
je 0x4125aa
call ecx
test eax, eax
je 0x41259f
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 0x41259f
test byte [ebp - 8], 1
jne 0x4125aa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4125da
mov eax, dword [0x6a36e8]
cmp eax, edi
je 0x4125d7
push eax
call ebx
test eax, eax
je 0x4125d7
call eax
mov esi, eax
test esi, esi
je 0x4125d7
mov eax, dword [0x6a36ec]
cmp eax, edi
je 0x4125d7
push eax
call ebx
test eax, eax
je 0x4125d7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6a36e4]
call ebx
test eax, eax
je 0x4125f2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4125f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bc0
mov esp, ebp
pop ebp
ret
Function at 0x4180cd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x418105
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4180f3
mov al, 1
jmp 0x41814f
cmp dword [ebx + 0x54], ecx
jne 0x4180fc
mov al, 2
jmp 0x41814f
cmp dword [ebx + 0x7c], ecx
jne 0x41814f
mov al, 3
jmp 0x41814f
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x41811a
mov al, 4
jmp 0x41814f
cmp ecx, 5
jne 0x41813a
cmp ebx, 0
jne 0x418128
mov al, 5
jmp 0x41814f
cmp ebx, 1
jne 0x418131
mov al, 6
jmp 0x41814f
cmp ebx, 2
jne 0x41813a
mov al, 7
jmp 0x41814f
cmp ecx, 6
jne 0x418146
cmp ebx, 0
jne 0x418148
mov al, 8
jmp 0x41814f
cmp ebx, 1
jne 0x41814f
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d990
Capabilities:
Encode data using xor

Disassembly:
xor esi, dword [ebx]
xor al, 0x27
daa
xor dh, byte [edi]
adc eax, 0x32152326
aaa
adc eax, 0x36152326
aaa
push ss
pop ss
push es
push es
pop es
daa
aaa
xor eax, 0x16350722
xor esi, dword [0x16350722]
xor edx, dword [edi]
push es
adc eax, 0x16161615
aaa
push es
adc eax, 0x26262606
push es
pop es
daa
aaa
xor eax, 0x16350722
xor esi, dword [esi]
adc eax, 0x35231714
and edx, dword [0x34353623]
daa
xor eax, dword [esi]
aaa
push ss
pop ss
push es
pop es
daa
pop ss
xor eax, 0x35331523
and edx, dword [0x15233527]
xor esi, dword [0x1bf1523]
sbb dword [ebx], ecx
or ecx, dword [edx]
or ebx, dword [edx]
sub eax, dword [ecx]
add dword [ebx], ebp
sbb eax, 0xa0e0e0a
and edx, dword [0x15233533]
mov edi, 0xb0b1901
or cl, byte [ebx]
sbb ch, byte [ebx]
add dword [ecx], eax
sub ebx, dword [0xa0e0e0a]
sbb eax, 0x1c011301
push cs
or al, 0xd
or eax, 0x1012b1c
sub ebx, dword [esi]
or ecx, dword [ecx]
or dword [ebx], ecx
push ds
add dword [eax + 7], esi
push cs
or edx, dword [ecx]
or ecx, dword [esp + ecx]
or edx, dword [ebx]
or byte [ecx], al
add dword [edi], ecx
daa
or eax, dword [ebx]
add eax, 0xb0e0e0e
or al, 0xd
adc byte [ebx], cl
or ecx, dword [ecx]
push ebp
add dword [eax], ecx
sbb eax, 0x22072b36
xor bl, byte [edi]
adc ecx, dword [0x8070807]
adc dword [eax], ecx
pop es
or al, 7
mov es, word [ecx]
adc bl, byte [edx + 0x12]
add dword [ecx], eax
jle 0x46d9f2
or dword [ecx], ecx
or byte [eax], cl
or byte [eax], cl
or dword [edx + 0x19], ebx
inc edx
sbb byte [ecx], dl
sbb dword [edx + 0x18], eax
stosd dword es:[edi], eax
or cl, byte [ecx]
add dword [edi], ecx
add dword [eax], edx
or bl, byte [eax]
sbb byte [ebx], cl
adc byte [ecx], al
lgdt [eax]
or al, 0xb
adc dword [ecx], eax
lgdt [eax]
or al, 0x16
push ss
or eax, 0x10f0110
or dword [edx], ecx
or eax, dword [ecx]
adc dword [ecx], eax
xor eax, dword [ecx]
adc dword [ecx], eax
or byte ds:[edx + ecx], al
pop es
push es
adc dword [edi], eax
or dword [ebx], ecx
add al, 5
inc esp
add dword [ecx], edx
add dword [ebx], esi
add dword [ecx], edx
add dword [esi + 0xb], ecx
or eax, 0x40e0c3e
push es
or ecx, dword [edx]
add dword [ebx], eax
or eax, 0x7110d12
add eax, 0x1490d10
adc byte [ecx], al
push ecx
or dword [ecx], ecx
or dword [edi], edx
push ss
or eax, dword [esi]
push es
or eax, 0x14130416
add eax, dword [esp + edx]
adc esp, dword [esi + 0xf]
pf2iw mm1, qword [edi]
push cs
push cs
push cs
push cs
add byte [edx], cl
add byte [ecx], cl
jmp ebp
Function at 0x53c670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x664f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.006559d8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x53c6f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006524e6
mov eax, dword [eax]
push 0xc5634c
push eax
call fcn.00634204
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00655c63
test bl, bl
je 0x53c6f2
push 0xc5634c
lea ecx, [esp + 0xc]
call fcn.0065603f
push 0xc59efc
lea ecx, [esp + 0xc]
call fcn.0065603f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x53c72e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00655c63
jmp 0x53c7f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x53c7b2
lea edx, [esp + 0x7c]
push 0xc59ef8
push edx
call fcn.00634204
add esp, 8
test eax, eax
je 0x53c7b2
lea eax, [esp + 0x7c]
push 0xc59ef4
push eax
call fcn.00634204
add esp, 8
test eax, eax
je 0x53c7b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x53c742
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00655c63
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x53da70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x66507b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xc73958]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x53dba8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x53dad6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00655c63
xor eax, eax
jmp 0x53dc1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00655dec
push esi
lea ecx, [esp + 0xc]
call fcn.0065607b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xc59f34
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x53dbfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xc59f2c
push accept
call fcn.005b7790
test eax, eax
jne 0x53dbfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xc59f18
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.005b7790
test eax, eax
jne 0x53dbfd
lea eax, [esp + 0x14]
push 0xc59f10
push eax
call fcn.006354d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x53dbdc
lea ecx, [esp + 0x14]
push 0xc59f0c
push ecx
call fcn.00635450
mov esi, eax
add esp, 8
test esi, esi
jne 0x53dbdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x53dbdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00655d9c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x53daee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00655c63
xor eax, eax
jmp 0x53dc1f
mov byte [esi], 0
push 0xc59f08
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00655c63
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x545f5a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x665b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00657365
xor ebp, ebp
mov dword [esi], 0xb5a3ac
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.00598e70
call fcn.00531e00
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0065499f
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00531e00
mov dword [ebx], 0xb57d74
mov dword [edi], 0xb5a2d0
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.00531e00
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0xb5a2d8
mov dword [esi + 0xac], ebp
call fcn.00660d25
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0065cfda
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x546110
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x665c05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0xb5a2d8
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0065d031
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0xb57d70
call fcn.00532000
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0065d031
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xb57d70
call fcn.00532000
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.006549d2
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xb57d70
call fcn.00532000
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0065eb7d
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x557500
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x55756e
cmp si, 0x69
ja 0x55756e
add esi, 0xffd0
cmp si, 0x11
je 0x55753e
push 0x11
call edi
test ax, ax
jge 0x55753e
or esi, 0x2000
cmp si, 0x10
je 0x557553
push 0x10
call edi
test ax, ax
jge 0x557553
or esi, 0x4000
cmp si, 0x12
je 0x557568
push 0x12
call edi
test ax, ax
jge 0x557568
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x55757b
mov esi, 0xbd
jmp 0x55752f
cmp si, 0x6e
jne 0x557588
mov esi, 0xbe
jmp 0x55752f
cmp si, 0x6f
jne 0x557529
mov esi, 0xbf
jmp 0x55752f

Function at 0x558d80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc85c20]
xor edx, edx
cmp eax, edx
jne 0x558da6
xor eax, eax
mov byte [eax + 0xc85b20], al
inc eax
cmp eax, 0x100
jl 0x558d8e
mov dword [0xc85c20], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc85b20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x558e37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x558e0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x558dd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x558eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x558f03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x558eea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret