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

Disassembly:
push 0xffffffffffffffff
push 0x67cff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005caef0
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x30]
push ebp
push eax
lea edi, [esi + 0x10]
push ecx
push edx
push edi
mov dword [esi], 0xebe130
call fcn.005cabe0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ebx
push ebp
push eax
push ecx
push edx
call fcn.005cac40
add esp, 0x2c
mov dword [esi + 0x4c], eax
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x5cc040
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
test al, al
je 0x5cc057
mov eax, dword [ecx + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x5cc4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67d063
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0x90
call fcn.00667bf7
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x5cc586
mov ecx, esi
call fcn.005cc3e0
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], ebx
call fcn.006165c0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], 5
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi], 0xebe2b4
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5cc5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67d083
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0xebe2b4
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 1
je 0x5cc61f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x28]
push eax
call fcn.00667c20
mov eax, dword [esi + 0x34]
mov dword [esi + 0x28], ebx
push eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.00667c20
add esp, 8
lea ecx, [esi + 0x14]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x14], bl
call fcn.006165e0
mov ecx, esi
call fcn.005cc420
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5cf460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.005cf120
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x5cf675
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.005d2d80
test al, al
jne 0x5cf66f
mov ecx, edi
call fcn.005d2db0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.005d32d0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x5cf64f
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x5cf4d7
xor esi, esi
mov ecx, ebx
call fcn.005d0c60
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.005d32e0
mov ebp, eax
cmp dword [ebp], 1
jne 0x5cf532
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x420
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x5cf570
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x820
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005d12d0
lea ecx, [ebx + 8]
call fcn.005d32f0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
call fcn.005cf100
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
cmp eax, 1
jne 0x5cf5b1
mov eax, dword [ebp + 0xc]
mov edi, 0x21
add eax, esi
mov dword [esp + 0x1c], eax
jmp 0x5cf5b6
mov edi, 0x22
cmp dword [esp + 0x18], 1
jle 0x5cf5c3
or edi, 0x80
mov ecx, ebx
call fcn.005d0c60
sub eax, dword [esp + 0x20]
je 0x5cf5d5
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec ecx
cmp edx, ecx
jne 0x5cf5f6
mov cl, byte [esp + 0x12]
or edi, 0x100
test cl, cl
je 0x5cf5f6
or edi, 0x1000
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
sub esp, 0x20
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005d12d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5cf4d5
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.005d2db0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x5cf66f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005d1290
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x5cf680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.005cf120
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x5cf8a8
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.005d2d80
test al, al
jne 0x5cf8a2
mov ecx, edi
call fcn.005d2db0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.005d33a0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x5cf882
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x5cf6f7
xor esi, esi
mov ecx, ebx
call fcn.005d0c60
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.005d32e0
mov ebp, eax
cmp dword [ebp], esi
jne 0x5cf751
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x5cf78f
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005d12d0
lea ecx, [ebx + 8]
call fcn.005d33b0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.005cf100
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x5cf7d5
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x5cf7da
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x5cf7e9
or esi, 0x80
mov ecx, ebx
call fcn.005d0c60
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x5cf7ff
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x5cf81e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x5cf81e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005d12d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5cf6f5
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.005d2db0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x5cf8a2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005d1290
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x5d3700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67d271
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.005caef0
xor ebx, ebx
mov eax, 0xebe348
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
xor eax, eax
mov dword [esi + 0x40], ebx
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
push 0x80
xor edi, edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x5c], 0xffffff
mov dword [esi + 0x64], 0x808080
call fcn.005d3c50
mov eax, dword [eax]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6c], eax
call fcn.005d3c50
mov ecx, dword [eax]
push 0xc0
push 0xc0
mov dword [esi + 0x74], ecx
push 0xc0
lea ecx, [esp + 0x1c]
call fcn.005d3c50
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x611f90
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x67d3f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x14], ebx
mov eax, esi
je 0x611fde
inc ecx
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x611fd2
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
cmp edi, ebx
je 0x612033
cmp ebp, dword [edi]
jne 0x61202c
mov eax, dword [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x61201f
cmp cl, bl
je 0x61201b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x61201f
add eax, 2
add esi, 2
cmp cl, bl
jne 0x611ffb
xor eax, eax
jmp 0x612024
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x61204e
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x611ff4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x612084
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.00611f90
jmp 0x6120c7
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], 0x40
call fcn.00611df0
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x6120bf
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x6120c1
mov esi, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push 0x100c298
mov dword [esp + 0x28], 1
mov dword [esi + 0xc], 0x40
call fcn.00611df0
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x6120bf
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x6120c1
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x6120e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x67d427
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.00611f90
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x64
push edx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.006121a0
mov esi, dword [esp + 0x48]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x48], 2
mov dword [esi + 0xc], 0x40
call fcn.00611df0
mov edx, dword [esp + 0x38]
mov dword [esi], eax
neg eax
sbb eax, eax
mov dword [esp + 0x24], 1
and eax, edx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x48], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.00667c20
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x61f060
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1012724]
xor edx, edx
cmp eax, edx
jne 0x61f086
xor eax, eax
mov byte [eax + 0x1012624], al
inc eax
cmp eax, 0x100
jl 0x61f06e
mov dword [0x1012724], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1012624
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x61f117
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 0x61f0ea
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 0x61f0b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x61f190
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 0x61f1e3
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 0x61f1ca
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

Function at 0x625b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67d7ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.006264b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xebfd6c
call fcn.00667bf7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x625c23
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00667bf7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x625c1c
push 0
mov ecx, eax
call fcn.0061cc90
mov dword [esi + 0xc], eax
jmp 0x625c25
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x625c25
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x642538
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x642558
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0064195a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x64257b
test byte [esp + 8], 2
je 0x64257b
call fcn.006419cd
mov dword [eax], 0xd
call fcn.006419d6
mov dword [eax], 5
jmp 0x642554
xor eax, eax
ret
Function at 0x65db20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67eb00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00652bc7
mov eax, dword [0xf8bdf8]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00652af9
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0065e5e0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x65dbc7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x65dbbe
cmp al, 0xff
je 0x65dbbe
dec al
mov byte [ecx], al
jmp 0x65dbc7
push ecx
call fcn.00667c20
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x65dbf8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x65dbef
cmp al, 0xff
je 0x65dbef
dec al
mov byte [ecx], al
jmp 0x65dbf8
push ecx
call fcn.00667c20
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x66a2ed
Capabilities:
Get graphical window text

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

Function at 0x66bb65
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 0x66bba7
call fcn.00672094
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x66bba7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x66bb9e
xor eax, eax
jmp 0x66bbaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0066bbb5
pop edi
pop esi
pop ebx
ret 4

Function at 0x6725c4
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 0x6725f2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x672610
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0067252a
jmp 0x672610
mov eax, dword [esi + 0x14]
test eax, eax
je 0x672610
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0067252a
test edi, edi
mov eax, edi
jne 0x6725fa
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x674e4b
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x674e73
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x674e84
push 2
call edi
test ax, ax
jge 0x674e84
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00669923
cmp dword [esi + 0x30], ebx
jne 0x674f5e
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00669923
cmp eax, dword [esp + 0x34]
jne 0x674f5e
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x674efa
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x674f3f
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x674f5e
cmp eax, 0x205
je 0x674f5e
cmp eax, 0x201
je 0x674f5e
cmp eax, 0x204
je 0x674f5e
cmp eax, ebx
jne 0x674f25
cmp dword [esp + 0x1c], 0x1b
je 0x674f5e
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x102423c]
jbe 0x674f54
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x674eb7
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4