joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dec0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4c967b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.004028c0
lea edi, [esi + 0x18]
mov dword [esp + 0x2b0], 0
test edi, edi
je 0x40df4f
cmp byte [edi], 0
je 0x40df4f
mov ecx, dword [esi + 0x154]
lea eax, [esp + 0x110]
push eax
push edi
push ecx
mov ecx, dword [0x5c8884]
call fcn.0042ba30
test eax, eax
jne 0x40df7c
push edi
lea edx, [esp + 0x1ac]
push 0x4dec3c
push edx
call fcn.004b8784
push str.D:o2jamDisplayDXSurface.cpp
lea eax, [esp + 0x1b8]
push 0xffffffffffffffff
push eax
push 0x4de454
push 1
call fcn.00489c30
add esp, 0x20
lea ecx, [esp + 8]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00402900
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
add esp, 0x2ac
ret
mov ecx, dword [esp + 0x194]
mov eax, dword [esi + 0x154]
lea edx, [esp + 8]
push ecx
mov ecx, dword [0x5c8884]
push edx
push eax
call fcn.0042b9f0
xor eax, eax
push 1
mov ax, word [esi + 0x11c]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.00402bd0
mov ecx, dword [0x5c8890]
push 0
push 1
call fcn.0048bf10
mov ax, word [esi + 0x11c]
cmp ax, 1
jne 0x40dfe4
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x40e005
push 4
jmp 0x40dff7
mov ecx, dword [esi + 0x124]
test ecx, ecx
jne 0x40e005
and eax, 0xffff
shl eax, 2
push eax
call fcn.004b7e62
add esp, 4
mov dword [esi + 0x124], eax
mov edi, dword [esi + 0x124]
test edi, edi
jne 0x40e02f
push str.D:o2jamDisplayDXSurface.cpp
push 0xffffffffffffffff
push 0x4dec28
push 0x4de454
push 1
call fcn.00489c30
add esp, 0x14
jmp 0x40df4f
xor ecx, ecx
xor eax, eax
mov cx, word [esi + 0x11c]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
cmp word [esi + 0x11c], di
jbe 0x40e0f1
push ebp
xor ebp, ebp
mov eax, dword [esi + 0x124]
mov dword [esi + 0x134], edi
cmp dword [eax + edi*4], 0
jne 0x40e0a2
mov ecx, dword [esi + 0x120]
xor edx, edx
mov dx, word [ecx + ebp + 6]
lea eax, [ecx + ebp]
xor ecx, ecx
mov cx, word [eax + 4]
imul edx, ecx
shl edx, 1
push edx
call fcn.004b7e62
mov edx, dword [esi + 0x134]
mov ecx, dword [esi + 0x124]
add esp, 4
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x120]
mov cx, word [edx + ebp + 4]
lea eax, [edx + ebp]
mov edx, ecx
mov ax, word [eax + 6]
and edx, 0xffff
push edx
mov edx, dword [esi + 0x134]
push eax
mov eax, dword [esi + 0x124]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, esi
call fcn.0040e5a0
xor edx, edx
inc edi
mov dx, word [esi + 0x11c]
add ebp, 0x14
cmp edi, edx
jl 0x40e05d
pop ebp
lea ecx, [esp + 8]
mov dword [esi + 0x134], 0
mov dword [esi + 0x158], 2
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00402900
mov ecx, dword [esp + 0x2a8]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2ac
ret
Function at 0x40dedb
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4c967b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.004028c0
lea edi, [esi + 0x18]
mov dword [esp + 0x2b0], 0
test edi, edi
je 0x40df4f
cmp byte [edi], 0
je 0x40df4f
mov ecx, dword [esi + 0x154]
lea eax, [esp + 0x110]
push eax
push edi
push ecx
mov ecx, dword [0x5c8884]
call fcn.0042ba30
test eax, eax
jne 0x40df7c
push edi
lea edx, [esp + 0x1ac]
push 0x4dec3c
push edx
call fcn.004b8784
push str.D:o2jamDisplayDXSurface.cpp
lea eax, [esp + 0x1b8]
push 0xffffffffffffffff
push eax
push 0x4de454
push 1
call fcn.00489c30
add esp, 0x20
lea ecx, [esp + 8]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00402900
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
add esp, 0x2ac
ret
mov ecx, dword [esp + 0x194]
mov eax, dword [esi + 0x154]
lea edx, [esp + 8]
push ecx
mov ecx, dword [0x5c8884]
push edx
push eax
call fcn.0042b9f0
xor eax, eax
push 1
mov ax, word [esi + 0x11c]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.00402bd0
mov ecx, dword [0x5c8890]
push 0
push 1
call fcn.0048bf10
mov ax, word [esi + 0x11c]
cmp ax, 1
jne 0x40dfe4
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x40e005
push 4
jmp 0x40dff7
mov ecx, dword [esi + 0x124]
test ecx, ecx
jne 0x40e005
and eax, 0xffff
shl eax, 2
push eax
call fcn.004b7e62
add esp, 4
mov dword [esi + 0x124], eax
mov edi, dword [esi + 0x124]
test edi, edi
jne 0x40e02f
push str.D:o2jamDisplayDXSurface.cpp
push 0xffffffffffffffff
push 0x4dec28
push 0x4de454
push 1
call fcn.00489c30
add esp, 0x14
jmp 0x40df4f
xor ecx, ecx
xor eax, eax
mov cx, word [esi + 0x11c]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
cmp word [esi + 0x11c], di
jbe 0x40e0f1
push ebp
xor ebp, ebp
mov eax, dword [esi + 0x124]
mov dword [esi + 0x134], edi
cmp dword [eax + edi*4], 0
jne 0x40e0a2
mov ecx, dword [esi + 0x120]
xor edx, edx
mov dx, word [ecx + ebp + 6]
lea eax, [ecx + ebp]
xor ecx, ecx
mov cx, word [eax + 4]
imul edx, ecx
shl edx, 1
push edx
call fcn.004b7e62
mov edx, dword [esi + 0x134]
mov ecx, dword [esi + 0x124]
add esp, 4
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x120]
mov cx, word [edx + ebp + 4]
lea eax, [edx + ebp]
mov edx, ecx
mov ax, word [eax + 6]
and edx, 0xffff
push edx
mov edx, dword [esi + 0x134]
push eax
mov eax, dword [esi + 0x124]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, esi
call fcn.0040e5a0
xor edx, edx
inc edi
mov dx, word [esi + 0x11c]
add ebp, 0x14
cmp edi, edx
jl 0x40e05d
pop ebp
lea ecx, [esp + 8]
mov dword [esi + 0x134], 0
mov dword [esi + 0x158], 2
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00402900
mov ecx, dword [esp + 0x2a8]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2ac
ret
Function at 0x40fdb0
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
sub esp, 0x218
push esi
lea eax, [esp + 0x11c]
push edi
mov edi, ecx
push eax
push 0x100
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea ecx, [esp + 0x120]
lea edx, [esp + 0x20]
push ecx
push str._sSave
push edx
call fcn.004b8784
mov esi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x40fe0f
push eax
push str.Save
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
lea ecx, [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x224]
lea eax, [esp + 0x20]
push edx
push str.ScreenShot_03d.jpg
push eax
call fcn.004b8784
add esp, 0xc
mov ecx, edi
push 0
call fcn.0040ee80
test eax, eax
jge 0x40fe4d
lea ecx, [esp + 0x120]
push ecx
call esi
pop edi
xor eax, eax
pop esi
add esp, 0x218
ret 4
mov esi, dword [edi + 0x18c]
mov edi, dword [edi + 0x178]
push ebx
push ebp
push 0x15f900
sar edi, 1
call fcn.004b7e62
mov ebx, eax
mov eax, dword [0x5c88a4]
add esp, 4
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0x80]
call fcn.00407310
cmp eax, 0xf
lea ecx, [ebx + 1]
jne 0x40feff
lea edx, [edi + edi]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x258
or ebp, 0xffffffff
mov edx, 1
mov edi, 0x320
mov ax, word [esi]
add esi, 2
mov ebx, eax
add ecx, 3
shr ebx, 7
and bl, 0xf8
mov byte [ecx + ebp - 3], bl
mov ebx, eax
shr ebx, 2
and bl, 0xf8
shl al, 3
mov byte [ecx - 3], bl
mov byte [edx + ecx - 3], al
dec edi
jne 0x40feac
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add ecx, 0x960
add esi, edx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jne 0x40fe9f
jmp 0x40ff70
lea eax, [edi + edi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 0x258
or ebp, 0xffffffff
mov edx, 1
mov edi, 0x320
mov ax, word [esi]
xor ebx, ebx
mov bl, ah
add esi, 2
and bl, 0xf8
mov byte [ecx + ebp], bl
mov ebx, eax
shr ebx, 3
and bl, 0xfc
shl al, 3
mov byte [ecx], bl
mov byte [ecx + edx], al
add ecx, 3
dec edi
jne 0x40ff23
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, 0x960
add esi, edx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
jne 0x40ff16
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
call fcn.0040ef60
push 0x50
push 0x258
push 0x320
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.004827e0
add esp, 0x14
test esi, esi
pop ebp
pop ebx
je 0x40ffa6
push esi
call fcn.004a9db0
add esp, 4
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
pop edi
mov eax, 1
pop esi
add esp, 0x218
ret 4
Function at 0x4198b0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5c8890]
push edi
call fcn.0048aae0
mov edi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
push str.option.ini
push 0
push str.NoteType
push 0x4deea4
mov dword [esi + 0x190], eax
call edi
cmp eax, 2
mov dword [esi + 0x188], eax
jb 0x4198f3
mov dword [esi + 0x188], 0
push str.option.ini
push 2
push str.NoteTail
push 0x4deea4
call edi
cmp eax, 4
mov dword [esi + 0x18c], eax
jb 0x41991b
mov dword [esi + 0x18c], 2
pop edi
pop esi
ret

Function at 0x419a73
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [0x5c88a4]
push edi
mov eax, dword [esi + 0x194]
mov ecx, dword [ecx + 0x80]
push eax
call fcn.00407480
mov eax, dword [0x5c88a4]
mov edx, dword [esi + 0x19c]
push edx
mov ecx, dword [eax + 0x80]
call fcn.00407370
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push edx
push 0
push 0x20006
push 0
push 0
push 0
call fcn.0048cc20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x419b69
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x190]
push 4
push eax
push 4
push 0
push 0x4deec4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x419b69
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x188]
cmp eax, 2
jae 0x419b69
mov edi, dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
lea ecx, [esp + 8]
push str.option.ini
push ecx
add al, 0x30
push str.NoteType
push 0x4deea4
mov byte [esp + 0x18], al
mov byte [esp + 0x19], 0
call edi
mov eax, dword [esi + 0x18c]
cmp eax, 4
jae 0x419b69
mov dl, al
lea eax, [esp + 0xa]
push str.option.ini
push eax
add dl, 0x30
push str.NoteTail
push 0x4deea4
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0
call edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x430c40
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
cmp eax, 1
push ebx
push edi
jne case.default.0x430c9a
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], bl
mov byte [esp + 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
add eax, 0xfffff006
cmp eax, 5
ja case.default.0x430c9a
jmp dword [eax*4 + 0x430ddc]
mov ecx, dword [0x5c88a4]
push ebx
call fcn.00408d70
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c8890]
push ebx
call fcn.0048aca0
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
push 0x13
jmp 0x430dc4
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push str._sImageSound.dat
push eax
call fcn.004b8784
add esp, 0xc
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x13
jmp 0x430dc4
cmp dword [0x5c899c], ebx
je 0x430d82
mov ecx, dword [0x5c8890]
call fcn.0048be20
mov ecx, 0x5ecbb8
call fcn.0046af40
mov edx, dword [0x5d339c]
xor eax, eax
mov ecx, 0x4b0
mov dword [0x5d9ed0], ebx
mov dword [edx*4 + 0x5d33a0], ebx
mov edx, dword [0x5d339c]
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edi, [edx + edx*4]
shl edi, 6
add edi, 0x5c9d98
rep stosd dword es:[edi], eax
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
mov ecx, dword [0x5c8884]
call fcn.0042b0b0
cmp eax, 1
jne 0x430dc2
mov eax, dword [0x5c8884]
mov dword [0x5d33c0], ebx
push ebx
mov ecx, dword [eax + 0xd40]
call fcn.004340e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
push 9
mov ecx, dword [0x5c8884]
call fcn.0042b0e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
Function at 0x433ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
lea eax, [esp]
push ebx
mov ebx, ecx
push eax
mov ecx, dword [0x5c8890]
push 0x20019
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
call fcn.0048cc20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x433f04
xor eax, eax
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Version3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x433f3b
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 4]
push esi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x14]
mov edx, ecx
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub esp, 8
and ecx, 3
add ebx, 0x78
rep movsb byte es:[edi], byte [esi]
fld dword [esp + 0x20]
fstp qword [esp]
push str.Ver._.2f
push ebx
call fcn.004b8784
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4470f9
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4cb378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov ecx, dword [0x5c8884]
push edi
push ebp
call fcn.0042b840
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x5c]
mov cl, byte [esi + 0x5d]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
lea eax, [eax + eax*2]
mov dword [esp + 0x18], ebp
lea edx, [ecx + eax*2]
mov cl, byte [esp + 0x2c]
mov byte [esp + 0xc], cl
mov eax, dword [edx*4 + 0x4d07f0]
mov dword [esi + 0x78], ebp
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xc]
cmp ecx, ebp
mov dword [esp + 0x24], ebp
push edx
jne 0x44715b
mov ecx, dword [esi + 0x60]
push ecx
push eax
mov ecx, 0x5dac80
call fcn.00465fe0
jmp 0x447166
push eax
mov ecx, 0x5dac80
call fcn.00466190
mov edi, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
cmp edi, eax
je 0x447187
mov eax, dword [edi]
mov ecx, 0x5dac80
push eax
call fcn.00466950
mov eax, dword [esi + 0x70]
add edi, 4
cmp edi, eax
jne 0x447170
mov ecx, dword [esi + 0x70]
push ebx
lea ebx, [esi + 0x68]
mov eax, ecx
cmp eax, ecx
mov edi, dword [ebx + 4]
je 0x4471a5
mov edx, dword [eax]
add eax, 4
mov dword [edi], edx
add edi, 4
cmp eax, ecx
jne 0x447197
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push edi
call fcn.00404a10
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], edi
mov edi, dword [esp + 0x14]
cmp edi, eax
je 0x44720e
mov ecx, dword [edi]
push ecx
mov ecx, 0x5dac80
call fcn.00465fa0
mov ax, word [eax + 6]
mov cl, byte [esi + 0x64]
shr eax, 7
and al, 0xf
cmp al, cl
je 0x4471e1
cmp al, 2
jne 0x447203
mov eax, dword [esi + 0x78]
push edi
inc eax
push 1
mov dword [esi + 0x78], eax
mov edx, dword [ebx + 8]
push edx
mov ecx, ebx
call fcn.00421610
mov eax, dword [edi]
mov ecx, 0x5dac80
push eax
call fcn.004663e0
mov eax, dword [esp + 0x18]
add edi, 4
cmp edi, eax
jne 0x4471c0
mov ecx, esi
mov dword [esi + 0x7c], ebp
call fcn.00447280
push 0x14022047
mov ecx, esi
call fcn.00430a30
mov edi, eax
pop ebx
cmp edi, ebp
je 0x447250
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x14c]
cdq
sub eax, edx
push ebp
sar eax, 1
lea edx, [eax + ecx + 1]
mov ecx, edi
push edx
call fcn.0045d580
push 1
push ebp
mov ecx, edi
call fcn.0045d550
mov ecx, dword [0x5c8884]
push ebp
call fcn.0042b9b0
mov eax, dword [esp + 0x10]
push eax
call fcn.004a9db0
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
Function at 0x457a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb7ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov al, byte [esp + 0x20]
lea ecx, [esi + 4]
xor ebx, ebx
mov dword [esp + 0x18], 2
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x4cf418]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
call fcn.00401c40
mov cl, byte [esp + 0x30]
lea edi, [esi + 0x14]
push ebx
mov byte [esp + 0x1c], 3
mov byte [edi], cl
mov ecx, edi
call fcn.00401600
mov edx, dword [0x4cf418]
lea eax, [esp + 0x30]
push edx
push ebx
push eax
mov ecx, edi
call fcn.00401c40
mov dl, byte [esp + 0x40]
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 4
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x4cf418]
lea edx, [esp + 0x40]
push eax
push ebx
push edx
call fcn.00401c40
mov ecx, dword [esp + 0x24]
mov dword [esi], 0x4d0bdc
cmp ecx, ebx
je 0x457b29
mov al, byte [ecx - 1]
cmp al, bl
je 0x457b1f
cmp al, 0xff
je 0x457b1f
dec al
mov byte [ecx - 1], al
jmp 0x457b29
dec ecx
push ecx
call fcn.004a9db0
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x457b59
mov al, byte [ecx - 1]
cmp al, bl
je 0x457b4f
cmp al, 0xff
je 0x457b4f
dec al
mov byte [ecx - 1], al
jmp 0x457b59
dec ecx
push ecx
call fcn.004a9db0
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
cmp ecx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x457b89
mov al, byte [ecx - 1]
cmp al, bl
je 0x457b7f
cmp al, 0xff
je 0x457b7f
dec al
mov byte [ecx - 1], al
jmp 0x457b89
dec ecx
push ecx
call fcn.004a9db0
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30
Function at 0x457c90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4cb818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov byte [esp + 0x14], al
mov edi, str..Image_
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], esi
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.00401870
test al, al
je 0x457d0a
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str..Image_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00401e40
xor esi, esi
mov eax, dword [0x4cf418]
mov ecx, dword [ebx + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], esi
cmp ecx, edi
jae 0x457d1e
mov edi, ecx
sub eax, dword [esp + 0x1c]
cmp eax, edi
ja 0x457d2b
call fcn.004a9dbb
cmp edi, esi
jbe 0x457d7a
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
lea ebp, [eax + edi]
push ebp
call fcn.00401870
test al, al
je 0x457d7a
mov esi, dword [ebx + 0x28]
test esi, esi
jne 0x457d51
mov esi, 0x4cf414
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, edi
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
xor esi, esi
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x457d87
mov eax, 0x4cf414
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ecx, dword [esp + 0x18]
pop edi
cmp ecx, esi
pop esi
pop ebp
pop ebx
je 0x457dc3
mov al, byte [ecx - 1]
test al, al
je 0x457db9
cmp al, 0xff
je 0x457db9
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.004a9db0
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x458270
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x4582a0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
pop ecx
ret
Function at 0x461990
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x10
call edi
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x4619ec
mov edx, dword [esp + 0xc]
lea eax, [edx - 0x23]
cmp eax, 4
ja case.0x461a47.40
jmp dword [eax*4 + 0x461ab0]
mov ecx, esi
call fcn.004622e0
pop edi
pop esi
ret 8
mov ecx, esi
call fcn.00462290
pop edi
pop esi
ret 8
mov dword [esi + 0x48], 0
pop edi
pop esi
ret 8
mov eax, dword [esi + 0x3c]
pop edi
mov dword [esi + 0x48], eax
pop esi
ret 8
push 0x11
call edi
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x461a33
mov eax, dword [esp + 0xc]
sub eax, 0x43
je 0x461a27
sub eax, 0x13
je 0x461a1b
sub eax, 2
jne case.0x461a47.40
mov ecx, esi
call fcn.00462270
pop edi
pop esi
ret 8
mov ecx, esi
call fcn.00462220
pop edi
pop esi
ret 8
mov ecx, esi
call fcn.00462110
pop edi
pop esi
ret 8
mov edx, dword [esp + 0xc]
lea eax, [edx - 0x23]
cmp eax, 0xb
ja case.0x461a47.40
xor ecx, ecx
mov cl, byte [eax + 0x461adc]
jmp dword [ecx*4 + 0x461ac4]
mov ecx, esi
call fcn.004622e0
mov edx, dword [esi + 0x48]
pop edi
mov dword [esi + 0x4c], edx
pop esi
ret 8
mov ecx, esi
call fcn.00462290
mov eax, dword [esi + 0x48]
pop edi
mov dword [esi + 0x4c], eax
pop esi
ret 8
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
jne 0x461a88
mov ecx, esi
call fcn.00462290
mov ecx, esi
call fcn.00462340
pop edi
pop esi
ret 8
xor eax, eax
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
pop esi
ret 8
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
pop edi
pop esi
ret 8