joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423c1d
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
mov byte [esi], 0
je 0x423c4b
test byte [0x51d638], 4
jne 0x423c4b
push 2
mov byte [esi], 1
or byte [0x51d638], 4
push str.SeDebugPrivilege
call fcn.004226a0
pop ecx
pop ecx
mov eax, esi
pop esi
ret 4

Function at 0x423c51
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x423c6b
and byte [0x51d638], 0xfb
push 4
push str.SeDebugPrivilege
call fcn.004226a0
pop ecx
pop ecx
ret

Function at 0x423c6c
Capabilities:
Create directory

Disassembly:
mov eax, 0x4e8e1d
call fcn.004b48a0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, 0x51d5ec
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00416b67
pop ecx
mov byte [ebp - 0x14], al
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x5c
push dword [ebp + 8]
mov byte [ebp - 4], 1
jmp 0x423cd7
push dword [ebp + 8]
and word [esi], 0
call fcn.004b0a70
test eax, eax
pop ecx
jne 0x423ccc
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esi], 0x5c
add esi, 2
push 0x5c
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x423cb1
cmp byte [ebp - 0x14], al
mov byte [ebp - 4], al
je 0x423cf0
push dword [ebp - 0x18]
call fcn.00416b78
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x423daf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x423dd6
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0041fb6c
test eax, eax
je 0x423dd6
call fcn.0041fbf3
test eax, eax
mov dword [esp + 0xc], eax
jne 0x423ddd
xor eax, eax
jmp 0x423e9f
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebp
push edi
push 0x40
mov ebp, 0x3000
push ebp
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x423e15
push 0x40
push ebp
push dword [esp + 0x20]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x423e15
xor eax, eax
jmp 0x423e9c
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.0041fc64
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [eax + 0xa0], ebx
jbe 0x423e42
cmp dword [eax + 0xa4], ebx
jbe 0x423e42
push edi
mov ecx, esi
call fcn.0041fa2e
test eax, eax
je 0x423e0e
push edi
mov ecx, esi
call fcn.0041fa8d
test eax, eax
jne 0x423e5d
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x423e0e
mov eax, dword [esi + 0x10]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x28]
push ebx
xor ebp, ebp
inc ebp
push ebp
add eax, edi
push edi
mov dword [esi + 4], eax
call eax
test eax, eax
jne 0x423e95
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x423e0e
mov dword [esi], ebp
mov dword [esi + 8], edi
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x423f05
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004b4840
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x423f3a
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
leave
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
leave
ret

Function at 0x423fea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4e8e53
call fcn.004b48a0
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x18]
test ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], 0x20
jne 0x42400b
lea ebx, [ebp - 0x18]
push dword [ebp + 0x10]
mov ax, word [ebx + 2]
push dword [ebp + 0xc]
mov word [ebp - 0x14], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x424036
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
jmp 0x424038
xor edi, edi
test esi, esi
je 0x424048
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x42404a
xor eax, eax
xor cl, cl
test byte [ebx], 1
mov byte [ebp + 0x1b], cl
je 0x424066
test eax, eax
je 0x424151
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov cl, byte [ebp + 0x1b]
mov esi, eax
test esi, esi
mov dword [ebp - 0x10], eax
je 0x424151
test edi, edi
jle 0x424151
test byte [ebx], 0x40
jne 0x4240e1
push 0
push edi
push esi
call fcn.00446af0
add esp, 0xc
test al, al
mov byte [ebp + 0x1b], al
je 0x4240e1
test byte [ebx], 0x20
je 0x4240a3
test al, 2
je 0x4240a3
xor eax, eax
jmp 0x42415a
push 0
lea ecx, [ebp - 0x24]
call fcn.004564a0
movzx eax, word [ebx + 2]
and dword [ebp - 4], 0
push eax
mov dword [ebp - 0x24], esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call fcn.0044dcf0
and dword [ebp - 0x24], 0
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00443880
jmp 0x424120
mov esi, dword [ebp + 0x14]
lea eax, [edi + 0x410]
push eax
mov ecx, esi
call fcn.004492e0
push edi
push dword [ebp - 0x10]
mov dword [esi + 8], edi
push dword [esi]
mov dword [esi + 4], edi
call fcn.004b4dd0
add esp, 0xc
cmp word [ebp - 0x14], 0
je 0x424120
movzx eax, word [ebp - 0x14]
inc edi
shr edi, 1
push edi
push eax
push dword [esi]
call fcn.00421852
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi]
lea ecx, [eax + 0x10]
push 0x10
add eax, edi
push 0
push eax
mov dword [esi + 8], ecx
call fcn.004b4840
movsx eax, word [ebx + 2]
push 0xc
push eax
mov eax, dword [esi + 4]
add eax, dword [esi]
push eax
call fcn.004b4840
mov cl, byte [ebp + 0x1b]
add esp, 0x18
jmp 0x424153
xor edi, edi
and ecx, 2
or dword [ebx], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x424169
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4e8e6d
call fcn.004b48a0
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ebx
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00417e55
cmp dword [ebp - 0x14], ebx
jne 0x4241a4
push 0xfffffffffffffffe
pop esi
jmp 0x424270
push edi
push dword [ebp - 0x14]
call fcn.004a44e0
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x1c], esi
call fcn.00444930
add esp, 0x14
add esi, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.004492e0
mov edi, dword [esi]
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
push 6
add eax, edi
push ebx
push eax
call fcn.004b4840
mov eax, dword [ebp - 0x18]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push eax
push edi
mov dword [esi + 4], eax
call fcn.00446af0
add esp, 0x18
cmp al, 1
mov byte [ebp - 0xd], al
pop edi
jne 0x424259
push dword [0x51d294]
lea ecx, [ebp - 0x28]
push esi
call fcn.0041ed22
mov eax, dword [ebp - 0x18]
push ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0044dcf0
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 6
push eax
mov ecx, esi
call fcn.004492e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00443880
push 1
push esi
call fcn.004a7430
cmp byte [ebp - 0xd], bl
pop ecx
pop ecx
jge 0x42426d
or esi, 0xffffffff
jmp 0x424270
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x14]
call fcn.004165a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x425698
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push ebx
push esi
xor esi, esi
push edi
push esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
xor eax, eax
push 9
xor ebx, ebx
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ebx
mov dword [ebp - 0x20], esi
cmp word [eax], 0x3f
mov dword [ebp - 0x10], esi
sete cl
mov dword [ebp - 0xc], ebx
cmp ecx, esi
mov dword [ebp - 0x14], ecx
je 0x425711
inc eax
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
call fcn.00423ae8
mov eax, dword [ebp + 8]
cmp word [eax], si
pop ecx
je 0x425711
mov word [eax], si
inc eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp - 0x18], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x42580d
xor ecx, ecx
cmp word [eax], 0x21
sete cl
cmp ecx, esi
mov dword [ebp - 0x1c], ecx
je 0x425735
inc eax
inc eax
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
call fcn.0041edaf
push dword [ebp + 8]
call fcn.00422077
pop ecx
mov ecx, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd4
add ecx, 0x30
push ecx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x425804
cmp dword [ebp - 0x14], esi
je 0x4257d0
lea ecx, [ebp - 0x20]
push ecx
push 0x24
lea ecx, [ebp - 0x48]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov ebx, eax
mov dword [ebp - 8], 1
call edi
cmp ebx, esi
mov dword [ebp - 4], eax
jne 0x42579b
cmp eax, esi
je 0x4257fb
mov dword [ebp - 0xc], eax
jmp 0x4257fb
push dword [ebp - 0x28]
lea eax, [ebp - 0x1f4]
push dword [ebp - 0x2c]
mov dword [ebp - 0xc], esi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push str.0_0x_lX_0x_lX_0x_lX_0x_lX_0x_lX_0x_lX_0x_lX_0x_lX_0x_lX
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
jmp 0x4257fb
cmp dword [ebp - 0x1c], esi
je 0x4257e3
lea ecx, [ebp - 0x64]
push ecx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x4257f3
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x4257fb
mov dword [ebp - 8], ebx
call edi
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x10], esi
je 0x425841
cmp dword [ebp - 0xc], esi
je 0x42582f
push dword [ebp - 0xc]
lea eax, [ebp - 0x1f4]
push 0x4f1f24
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp - 0x10]
call fcn.00448be0
cmp dword [ebp - 8], esi
je 0x42584b
mov eax, dword [ebp - 4]
jmp 0x42584d
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x425b33
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x4e8f07
call fcn.004b48a0
sub esp, 0x264
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp + 0xc], 0xfffffffe
push ebx
mov ebx, dword [ebp + 8]
and eax, 1
cmp word [ebx], 0
mov dword [ebp - 0x20], eax
je 0x425d1e
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x425b6f
mov ebx, dword [ebp + 8]
push ebx
call edi
add eax, dword [ebp - 0x20]
push ebx
lea eax, [ebx + eax*2]
mov dword [ebp + 8], eax
call edi
xor esi, esi
cmp word [ebx + eax*2 - 2], 0x5c
mov dword [ebp - 0x1c], esi
jne 0x425b99
mov dword [ebp - 0x1c], 2
mov word [ebx + eax*2 - 2], si
jmp 0x425bab
push ebx
call fcn.004b0a70
test eax, eax
pop ecx
je 0x425bab
mov dword [ebp - 0x1c], 1
push ebx
lea ecx, [ebp - 0x10]
call fcn.00456550
cmp dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
je 0x425bc9
push 0x4f5a80
lea ecx, [ebp - 0x10]
call fcn.00449510
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004b0bc0
push dword [ebp - 0x10]
call fcn.0041f4a4
add esp, 0x10
push dword [ebp - 0x10]
call edi
inc eax
lea esi, [eax + eax]
mov eax, dword [ebp - 0x10]
mov word [esi + eax - 2], 0x5c
mov eax, dword [ebp - 0x10]
and word [esi + eax], 0
cmp dword [ebp - 0x18], 0
je 0x425cb7
mov eax, dword [ebp - 0x10]
and word [esi + eax], 0
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x10]
call fcn.00449510
test byte [ebp - 0x270], 0x10
jne 0x425c62
cmp dword [ebp + 0xc], 0
push dword [ebp - 0x10]
je 0x425c56
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x425c9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x425c51
inc eax
mov dword [ebp - 0x14], eax
jmp 0x425c9e
call fcn.00420d3e
test eax, eax
pop ecx
je 0x425c9e
jmp 0x425c51
cmp word [ebp - 0x244], 0x2e
jne 0x425c8a
cmp word [ebp - 0x242], 0
je 0x425c9e
cmp word [ebp - 0x242], 0x2e
jne 0x425c8a
cmp word [ebp - 0x240], 0
je 0x425c9e
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00425b33
test eax, eax
pop ecx
pop ecx
jne 0x425c9e
and dword [ebp - 0x14], eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x18]
call fcn.00417ee4
test eax, eax
jne 0x425c13
jmp 0x425cc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x425cc2
inc eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004165bb
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x425d04
cmp dword [ebp + 0xc], esi
push ebx
je 0x425cf7
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x425d04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x425d01
xor eax, eax
inc eax
jmp 0x425d01
call fcn.00420d3e
cmp eax, esi
pop ecx
je 0x425d04
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00443880
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x425b6c
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42720e
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x522003], 1
je 0x427226
push str.UCallBackhWnd
call fcn.004210fa
test eax, eax
pop ecx
jne 0x427229
xor eax, eax
ret
push edi
push str.GlobalPECMD:main_u
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x427264
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x427264
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x427a82
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4e9085
call fcn.004b48a0
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 0x84
lea eax, [esi + 0x325]
push eax
lea ecx, [ebp - 0x18]
call fcn.004494b0
mov eax, dword [ebp - 0x18]
xor edi, edi
cmp word [ebx], 0x5c
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
lea esi, [eax + esi*2]
mov dword [ebp - 0x14], 2
jne 0x427b5c
push 0x2c
push ebx
mov dword [ebp + 8], edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x427afc
and word [edi], 0
inc edi
inc edi
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx edi, word [edi]
test di, di
je 0x427afc
mov dword [ebp + 8], edi
push esi
inc ebx
push 0x324
inc ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x427b54
mov ax, word [ebp + 8]
cmp word [esi], ax
jb 0x427b49
mov edi, dword [ebp - 0x10]
push ebx
push esi
push str._s_sFonts
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
call fcn.004b0a70
add esp, 0x14
test eax, eax
je 0x427b49
push 0x4f5a80
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
call fcn.004279aa
pop ecx
mov dword [ebp - 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x427b0c
jmp 0x427bca
push ebx
call fcn.00422077
mov esi, eax
mov dword [ebp + 8], edi
push esi
mov byte [ebp - 4], 1
call fcn.004b0a70
test eax, eax
pop ecx
pop ecx
je 0x427b90
push esi
lea ecx, [ebp + 8]
call fcn.004566f0
push 0x4f5a80
lea ecx, [ebp + 8]
call fcn.00449510
mov esi, dword [ebp + 8]
push esi
push 0x4f5c9c
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0041f4a4
push esi
call fcn.004b0a70
add esp, 0x14
test eax, eax
je 0x427bbe
push dword [ebp - 0x10]
call fcn.004279aa
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00443880
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42829a
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4e90b9
call fcn.004b48a0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 0x41c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], edi
call fcn.004494b0
mov eax, dword [ebp - 0x10]
mov esi, eax
push esi
xor ebx, ebx
push 0x208
mov dword [ebp - 4], ebx
mov word [eax], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push str.__OldDir
mov ecx, edi
call fcn.00448be0
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x4282f6
cmp word [esi], 0x2a
jne 0x428318
inc esi
inc esi
mov dword [ebp + 8], esi
je 0x428318
push 0x104
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, ebx
je 0x428312
push esi
lea ecx, [ebp - 0x10]
call fcn.00449510
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
call fcn.0041edaf
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00422660
mov esi, eax
mov ax, word [esi]
cmp ax, 0x61
pop ecx
pop ecx
jb 0x42834d
cmp ax, 0x7a
ja 0x42834d
and ax, 0xffdf
mov word [esi], ax
push esi
push 0x4f5d04
mov ecx, edi
call fcn.00448be0
cmp dword [ebp + 0xc], ebx
jne 0x42836c
push esi
push 0x4f5d08
mov ecx, edi
call fcn.00448be0
push 0x5c
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp dword [ebp + 0xc], ebx
mov edi, eax
mov word [edi + 2], bx
jne 0x428388
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov word [edi], bx
mov edi, dword [ebp - 0x18]
push esi
push 0x4f5cf0
mov ecx, edi
call fcn.00448be0
cmp dword [ebp + 0xc], ebx
jne 0x4283b2
push esi
push 0x4f5cf4
mov ecx, edi
call fcn.00448be0
call fcn.0041f8a9
push esi
push 0x4f5cdc
mov ecx, edi
mov word [esi + 4], bx
call fcn.00448be0
cmp dword [ebp + 0xc], ebx
jne 0x4283d5
push esi
push 0x4f5ce0
mov ecx, edi
call fcn.00448be0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00443880
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x42a3ac
Capabilities:
Check for time delay via gettickcount
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x51d5ec
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
test byte [esp + 0x32], 1
jne 0x42a3d5
cmp dword [0x51d258], ebx
jne 0x42a3d5
mov dword [0x51d254], ebx
movzx eax, byte [esp + 0x30]
add dword [0x51d258], 1
cmp dword [0x51d250], ebx
mov dword [esp + 0x30], eax
jne 0x42a41a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x42a2ad
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, ebx
mov dword [0x51d250], eax
jne 0x42a41a
sub dword [0x51d258], 1
xor esi, esi
jmp 0x42a50a
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp esi, 0x3e8
jb 0x42a441
push ebx
call fcn.00445820
pop ecx
cmp dword [esp + 0x34], 2
jne 0x42a4d7
cmp esi, ebx
jne 0x42a4d7
push 0xa
pop esi
jmp 0x42a4d7
cmp dword [esp + 0x34], 2
je 0x42a46a
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x42a4e3
cmp byte [0x519300], bl
jle 0x42a4e3
push 0xa
pop eax
cmp esi, eax
ja 0x42a47b
mov eax, esi
push 0x4bf
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x42a4cf
cmp dword [0x51d254], ebx
jne 0x42a4e3
cmp dword [esp + 0x34], 2
je 0x42a4a5
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x42a4d7
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x42a4d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x519300], bl
jg 0x42a48c
cmp dword [0x51d254], ebx
je 0x42a459
push 0x51d5ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x51d254]
sub dword [0x51d258], 1
pop ebp
jne 0x42a503
mov dword [0x51d254], ebx
mov esi, eax
mov edi, 0x51d5ec
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x42dbf5
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp word [eax], 0
jne 0x42dca8
push ebx
push ebp
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [esp + 0x14]
mov ecx, esi
mov edi, eax
call fcn.004566f0
lea eax, [edi + 0x3c]
push eax
mov ecx, esi
call fcn.004494e0
push dword [esi]
call fcn.004b0a70
test eax, eax
pop ecx
jne 0x42dc3d
push dword [esi]
call fcn.0042b04e
pop ecx
and dword [esp + 0x14], 0
lea ebx, [edi + edi]
mov edi, dword [esi]
add edi, ebx
call fcn.00445d10
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.PECMDDEVI_lu_lu.tmp.dir
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42dc89
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x64
jl 0x42dc45
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
add eax, eax
mov word [eax + ecx], 0x5c
mov ecx, dword [esi]
and word [eax + ecx + 2], 0
mov eax, dword [esi]
pop edi
pop ebp
pop ebx
pop esi
ret 4
Function at 0x433364
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4e955e
call fcn.004b48a0
sub esp, 0xa0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x4f05cc
lea ecx, [ebp - 0x14]
sar esi, 0x10
call fcn.00456550
mov edi, dword [ebp + 8]
mov eax, dword [edi]
and dword [ebp - 4], 0
push esi
push eax
call fcn.004217de
pop ecx
pop ecx
push 0x20a
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
call fcn.004494b0
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, dword [ebp + 0xc]
push ebx
lea ecx, [ebp - 0xac]
call fcn.0041f6ac
push ebx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.0041fdaf
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
push 0x4f5cf0
mov dword [ebp - 0x94], eax
call fcn.00448be0
movzx eax, si
push eax
lea ecx, [ebp - 0xac]
mov word [ebp - 0xa4], si
call fcn.004480a0
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push 0
push edi
call fcn.00430a75
movzx edi, ax
or edi, dword [ebp + 0x10]
add esp, 0x14
mov esi, 0x51d5ec
push esi
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xffffffffffffffff
push 0
push 0x4f5d64
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00423eea
test eax, eax
je 0x433464
push dword [eax]
lea ecx, [ebp - 0xac]
push 0x4f5cf4
call fcn.00448be0
and dword [ebp - 0x6c], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00416681
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.00443880
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret