joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404590
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452096
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x46c2f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x428], esi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x430], 0
mov ecx, dword [eax]
mov eax, dword [0x46ec88]
cmp eax, dword [ecx + 4]
jle 0x404633
push 0x46ec88
call fcn.004351c1
add esp, 4
cmp dword [0x46ec88], 0xffffffff
jne 0x404633
call fcn.00401a50
mov ecx, eax
test ecx, ecx
jne 0x40460f
push 0x80004005
call fcn.00404070
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x453680
mov dword [0x46ec8c], eax
call fcn.00435518
push 0x46ec88
call fcn.00435182
add esp, 8
mov eax, dword [0x46ec8c]
cmp dword [eax - 0xc], 0
jne 0x404709
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.004386a0
add esp, 0xc
lea eax, [ebp - 0x424]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
call fcn.00404db0
push str.PEAN_StudioPocketAnimation
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00404b30
add esp, 4
push eax
mov ecx, 0x46ec8c
mov byte [ebp - 4], 1
call fcn.00404d20
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x42c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4046cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4046ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x46ec8c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404709
mov ecx, dword [0x46ec8c]
call fcn.00404740
push 0x46ec8c
mov ecx, esi
call fcn.00404f60
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.0043503f
mov esp, ebp
pop ebp
ret
Function at 0x404740
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4520c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46c2f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00404db0
push 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4047cc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x4047cc
lea ecx, [ebp - 0x10]
call fcn.00404810
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4047c8
mov ecx, eax
call fcn.00404740
test eax, eax
je 0x4047c5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4047cc
call esi
cmp eax, 0xb7
je 0x4047cc
mov eax, dword [ebp - 0x10]
xor esi, esi
jmp 0x4047d4
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4047f3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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
Function at 0x4048c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452149
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x46c2f0]
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 - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or esi, 0xffffffff
test eax, eax
je 0x4049b1
lea ecx, [ebp - 0x224]
call fcn.00404ac0
push 0x465e28
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00404b30
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x21c]
call fcn.00404c00
add esp, 8
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00404d20
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40496f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404990
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4049b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4049c6
lea edi, [eax + 1]
jmp 0x404a76
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004386a0
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004437a1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, 0x104
sub eax, ecx
push eax
lea eax, [ebp - 0x218]
lea eax, [eax + ecx*2]
push 0
push eax
call fcn.004386a0
xorps xmm0, xmm0
mov word [ebp - 0x228], 0
movups xmmword [ebp - 0x240], xmm0
lea eax, [ebp - 0x218]
add esp, 0x24
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x23c], eax
mov eax, 0x614
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x404a74
cmp dword [ebp - 0x232], eax
jne 0x404a74
lea edi, [eax + 1]
jmp 0x404a76
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x404a95
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0043503f
mov esp, ebp
pop ebp
ret
Function at 0x404ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46c2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.004386a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404db0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043503f
mov esp, ebp
pop ebp
ret
Function at 0x405c50
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452350
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46c2f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405d60
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x200
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.Programs
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x405cf2
mov eax, dword [str.ChatPpt]
mov dword [ecx], eax
mov eax, dword [0x466684]
mov dword [ecx + 4], eax
mov eax, dword [0x466688]
mov dword [ecx + 8], eax
mov eax, dword [0x46668c]
mov dword [ecx + 0xc], eax
mov ax, word [0x466690]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x414]
push ecx
mov ecx, esp
push eax
call fcn.00404db0
call fcn.004048c0
add esp, 4
test eax, eax
setne al
jmp 0x405d62
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043503f
mov esp, ebp
pop ebp
ret
Function at 0x405f80
Capabilities:
Check mutex on windows
Copy file
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x46c2f0]
xor eax, esp
mov dword [esp + 0x418], eax
mov ecx, dword [ebp + 0x10]
mov edx, 0x4666f8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
nop word [eax + eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x405fd0
test bl, bl
je 0x405fcc
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x405fd0
add eax, 2
add edx, 2
test bl, bl
jne 0x405fb0
xor eax, eax
jmp 0x405fd5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405ff0
push 1
push ecx
call fcn.00405630
add esp, 4
mov ecx, eax
call fcn.00405af0
jmp 0x406189
mov eax, 0x4666fc
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x406015
test dl, dl
je 0x406011
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x406015
add ecx, 2
add eax, 2
test dl, dl
jne 0x405ff5
xor eax, eax
jmp 0x40601a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4060f4
push str.CP_20230509_Event_Uninstall_001
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40605e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x466700
push str.S_MR
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x406189
push str.Uninstall_Start__n
push 1
call fcn.004030f0
push edi
call fcn.00409e2b
add esp, 0xc
push 0x3d4
call fcn.00435050
add esp, 4
mov ecx, eax
call fcn.004062d0
mov esi, eax
call fcn.00405630
push 0
push 0x250
push 0x2c2
push 0
push 0
push 0
push 0x96c80000
push 0x466778
push 0
mov ecx, esi
mov dword [eax + 0x1c], 0x406550
mov dword [eax + 0x20], esi
call fcn.0040bc07
push 5
mov ecx, esi
call fcn.0042f2dc
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040bab3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x406189
call fcn.00409202
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x406189
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004386a0
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push 0
push eax
call fcn.004386a0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406136
mov ecx, 8
lea eax, [esp + 0x218]
mov esi, str.paUninstall.exe
rep movsd dword es:[edi], dword [esi]
push 0x104
push eax
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 8
lea ecx, [esp + 0x18]
call fcn.00404370
add esp, 8
mov ecx, dword [esp + 0x424]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043503f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
push str.click
call fcn.0040b051
test al, al
je 0x4068de
mov eax, dword [esi + 0x108]
cmp eax, dword [edi + 0x340]
jne 0x40684c
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x3a0]
jne 0x406864
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x348]
jne 0x40687c
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x344]
jne 0x4068cd
mov ecx, dword [edi + 0x33c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1b4]
call fcn.00405630
push 0
push 0
mov esi, eax
push esi
push 0x405be0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0x32
push 0
lea ecx, [edi - 0x20]
mov dword [esi + 0x14], eax
call fcn.0042f2dc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
ret 4
cmp eax, dword [edi + 0x3a4]
jne 0x4069a8
jmp 0x4069ae
push str.selectchanged
mov ecx, esi
call fcn.0040b051
test al, al
je 0x4069a8
mov eax, dword [esi + 0x108]
mov ecx, dword [edi + 0x34c]
push ebx
cmp eax, ecx
jne 0x40691f
call fcn.0040a793
mov bl, al
call fcn.00405630
xor ecx, ecx
test bl, bl
pop ebx
setne cl
pop edi
mov dword [eax], ecx
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x350]
cmp eax, ecx
jne 0x406944
call fcn.0040a793
xor ebx, ebx
test al, al
setne bl
call fcn.00405630
mov dword [eax + 4], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x354]
cmp eax, ecx
jne 0x406969
call fcn.0040a793
xor ebx, ebx
test al, al
setne bl
call fcn.00405630
mov dword [eax + 8], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x358]
cmp eax, ecx
jne 0x40698e
call fcn.0040a793
xor ebx, ebx
test al, al
setne bl
call fcn.00405630
mov dword [eax + 0xc], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x35c]
cmp eax, ecx
jne 0x4069a7
call fcn.0040a793
mov bl, al
call fcn.00405630
mov byte [eax + 0x10], bl
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.00404220
int3

Function at 0x407c90
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x407cb3
or esi, 1
push 1
call edi
test ax, ax
jns 0x407cbf
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x407ccb
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x407cd7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x40925c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x1bc]
call fcn.0042f2dc
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4092b2
push ebx
lea ecx, [esi + 0x1bc]
mov byte [ebp + 0xb], 0
call fcn.0040b075
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x409312
lea ecx, [esi + 0x1bc]
inc ebx
call fcn.0042f2dc
cmp ebx, eax
jl 0x40927b
sub edi, 0x100
je 0x409378
sub edi, 4
je 0x409316
dec edi
sub edi, 1
jne 0x40936d
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00441ad5
pop ecx
mov ecx, dword [esi + 0x13c]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x40a48e
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x40936d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x40936f
cmp dword [esi + 0x140], 0
je 0x40936d
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x150]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x154]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00407c90
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x40936d
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x4093d1
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x4093d1
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x4093d1
mov ecx, dword [esi + 0x140]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0043836d
pop ecx
pop ecx
test eax, eax
je 0x4093d1
mov ecx, dword [esi + 0x140]
call fcn.004173c8
test al, al
jne 0x40936d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00409e71
jmp 0x409312
Function at 0x409c2c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x409c53
cmp esi, dword [ebx + 0x140]
je 0x409c53
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x140]
cmp esi, eax
je 0x409d2a
push edi
test eax, eax
je 0x409cb2
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x140]
call fcn.00409984
mov dword [ebx + 0x140], edi
test esi, esi
je 0x409d29
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x409d29
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
test al, al
je 0x409d29
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
test al, al
je 0x409d29
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x140], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x16
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x140]
call fcn.00409984
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418e9a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4ec], edi
je 0x418f04
cmp dword [ebp + 8], 0x100
jne 0x418ef3
cmp word [ebp + 0xc], 0xd
jne 0x418ef3
cmp byte [esi + 0x4f2], 0
je 0x418eda
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x418ef3
cmp byte [esi + 0x4f3], 0
jne 0x418ef3
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x418eef
push edi
push edi
push edi
push str.return
push esi
call fcn.00409984
xor eax, eax
jmp 0x418f07
mov eax, dword [esi + 0x4ec]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x419287
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46c2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41933d
movzx eax, word [esi]
test ax, ax
je 0x41933d
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x4192c7
cmp ax, 0x5c
jne 0x4192c9
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4192bb
cmp edi, esi
je 0x419310
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.004438f3
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x41934d
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00419287
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00443b7b
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00443b4a
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043503f
mov esp, ebp
pop ebp
ret
call fcn.0043568a
int3

Function at 0x419912
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x41998e
cmp dword [edi + 4], 0xffffffff
jne 0x41998e
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x465e28
push esi
call fcn.00443b4a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x419960
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x419960
mov eax, 0x2000000
jmp 0x419993
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041be2d
add esp, 0x10
test eax, eax
jne 0x41997e
mov eax, dword [ebp - 4]
jmp 0x419993
push eax
call fcn.0041c535
mov dword [edi], eax
mov eax, dword [0x46dc58]
pop ecx
jmp 0x419993
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41bf3a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x41bf6e
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41bf69
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x41bf95
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x41bf7e
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00438bd0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x41c108
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41c116
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x41c1d5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
sub edi, 1
jne 0x41c12e
pop edi
test esi, esi
je 0x41c1f1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455818]
inc edx
sub esi, 1
jne 0x41c1d9
not ecx
mov eax, ecx
pop esi
pop ebp
ret