joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a25f0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x7de400]
sub esp, 0x24
test eax, 0x80000000
jne 0x4a2605
xor eax, eax
add esp, 0x24
ret
mov edx, dword [esp + 0x28]
test edx, edx
jl 0x4a2615
cmp edx, dword [0x7de404]
jl 0x4a261b
xor eax, eax
add esp, 0x24
ret
push esi
push edi
mov esi, edx
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
shl esi, 4
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add esi, edx
mov edx, dword [0x7de3f0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
lea edx, [edx + esi*4]
mov dword [esp + 0x10], eax
mov eax, dword [0x7de3e4]
push 0
push edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x24
mov dword [esp + 0x20], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
pop edi
pop esi
test eax, eax
je 0x4a2725
cmp eax, 0x80070057
jg 0x4a26dd
je 0x4a26cc
cmp eax, 0x80004001
je 0x4a26bb
cmp eax, 0x80040110
je 0x4a26aa
cmp eax, 0x8007000e
jne 0x4a271f
push str.DSERR_OUTOFMEMORY_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
push str.DSERR_NOAGGREGATION_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
push str.DSERR_UNSUPPORTED_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
push str.DSERR_INVALIDPARAM_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
cmp eax, 0x8878000a
je 0x4a2714
cmp eax, 0x88780064
je 0x4a2703
cmp eax, 0x887800aa
jne 0x4a271f
push str.DSERR_UNINITIALIZED_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
push str.DSERR_BADFORMAT_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
push str.DSERR_ALLOCATED_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret

Function at 0x4a3110
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [0x7de410]
push edi
xor edi, edi
test esi, esi
je 0x4a3133
mov eax, dword [esi]
mov ecx, esi
mov esi, dword [esi + 8]
cdq
xor eax, edx
sub eax, edx
add edi, eax
test esi, esi
jne 0x4a311f
jmp 0x4a3137
mov ecx, dword [esp + 8]
xor esi, esi
test ecx, ecx
je 0x4a314d
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
cdq
xor eax, edx
sub eax, edx
add esi, eax
test ecx, ecx
jne 0x4a313d
mov esi, dword [0x7de418]
mov edi, dword [0x7de414]
cmp esi, edi
jge 0x4a316c
mov eax, dword [esi]
mov ecx, esi
cdq
xor eax, edx
sub eax, edx
add esi, eax
cmp esi, edi
jl 0x4a315d
xor esi, esi
test ecx, ecx
je 0x4a3182
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cdq
xor eax, edx
sub eax, edx
add esi, eax
test ecx, ecx
jne 0x4a3172
pop edi
pop esi
pop ecx
ret
Function at 0x4a9c70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.004a7da0
push 0
call fcn.004aab90
mov ebx, dword [ebp + 8]
mov ecx, 0xf
xor eax, eax
mov edi, 0x810698
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [0x80f850]
add esp, 0xc
test eax, eax
je 0x4a9de3
push ebx
call fcn.004a9bb0
add esp, 4
test eax, eax
je 0x4a9de3
mov eax, dword [0x8106a8]
test eax, eax
jne 0x4a9cea
mov ecx, dword [0x810698]
mov dword [0x8106a8], ecx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
mov dword [0x8106c4], 0x280
mov dword [0x8106c8], 0x1e0
call esi
mov edx, dword [0x8106c4]
push 0x21
lea edi, [edx + eax*2]
call esi
mov edx, eax
push 0xf
mov dword [ebp + 0xc], edx
call esi
mov ecx, dword [0x8106c8]
mov edx, dword [ebp + 0xc]
add ecx, eax
push 0
push ebx
push 0
lea eax, [ecx + edx*2]
mov cl, byte [0x8106cc]
neg cl
sbb ecx, ecx
push 0
and ecx, 0x7f320000
push eax
mov eax, dword [0x8106a8]
push edi
add ecx, 0x2ce0000
push DirectSoundCreate
push DirectSoundCreate
push ecx
mov ecx, dword [0x810698]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x8106bc], eax
je 0x4a9de3
call fcn.004aabc0
call fcn.004aa140
test al, al
je 0x4a9de3
push ebx
mov dword [ebp - 4], 0
call dword [0x80f84c]
mov edx, dword [ebp + 0x10]
mov eax, dword [0x8106bc]
add esp, 4
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x8106bc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa140
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x8106a0]
sub esp, 0x100
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x4aa160
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x100
ret
test byte [0x810c10], 0x40
je 0x4aa176
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x100
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.USER32.dll_ShowCursor]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x10]
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4aa240
lea esi, [esp + 0x10]
cmp byte [esi], 0
je 0x4aa1fd
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4aa1ed
mov ecx, dword [0x8106a0]
push ecx
push esi
push str._s_s
push 0x80f678
call fcn.004abb5b
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push 0x80f678
call edi
cmp eax, 0xffffffff
jne 0x4aa224
cmp byte [esi], 0
je 0x4aa1fa
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4aa1f2
inc esi
jmp 0x4aa1a4
push 1
call ebx
mov edx, dword [0x8106a4]
mov eax, dword [0x8106bc]
push 0x35
push 0
push edx
push eax
call ebp
push 0
mov esi, eax
call ebx
cmp esi, 2
je 0x4aa240
jmp 0x4aa188
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [esi]
pop edi
pop esi
pop ebp
mov byte [0x810c14], cl
mov al, 1
pop ebx
add esp, 0x100
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x100
ret
Function at 0x4aabc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x80fea8
lea eax, [esp + 0xc]
xor ebx, ebx
push 0xa
push eax
push ebx
push str.AllDevicePass
push str.HGLCORE
mov byte [esp + 0x20], bl
call esi
mov al, byte [esp + 8]
cmp al, 0x74
je 0x4aabf6
cmp al, 0x54
jne 0x4aac02
mov eax, dword [0x810c10]
or al, 1
mov dword [0x810c10], eax
push 0x80fea8
lea ecx, [esp + 0xc]
push 0xa
push ecx
push ebx
push str.DispVersion
push str.HGLCORE
mov byte [esp + 0x20], bl
call esi
mov al, byte [esp + 8]
cmp al, 0x74
je 0x4aac2b
cmp al, 0x54
jne 0x4aac37
mov eax, dword [0x810c10]
or al, 0x20
mov dword [0x810c10], eax
push 0x80fea8
lea edx, [esp + 0xc]
push 0xa
push edx
push ebx
push str.FullScreen
push str.HGLCORE
mov byte [esp + 0x20], bl
call esi
mov al, byte [esp + 8]
cmp al, 0x74
je 0x4aac60
cmp al, 0x54
jne 0x4aac6c
mov eax, dword [0x810c10]
or al, 4
mov dword [0x810c10], eax
push 0x80fea8
lea eax, [esp + 0xc]
push 0xa
push eax
push ebx
push str.DispFps
push str.HGLCORE
mov byte [esp + 0x20], bl
call esi
mov al, byte [esp + 8]
cmp al, 0x74
je 0x4aac95
cmp al, 0x54
jne 0x4aaca1
mov eax, dword [0x810c10]
or al, 2
mov dword [0x810c10], eax
push 0x80fea8
lea ecx, [esp + 0xc]
push 0xa
push ecx
push ebx
push str.CDCheckPass
push str.HGLCORE
mov byte [esp + 0x20], bl
call esi
mov al, byte [esp + 8]
cmp al, 0x74
je 0x4aacca
cmp al, 0x54
jne 0x4aacd6
mov eax, dword [0x810c10]
or al, 0x40
mov dword [0x810c10], eax
push 0x80fea8
push ebx
push str.SmallTexure
push str.HGLCORE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
pop esi
pop ebx
je 0x4aad04
dec eax
jne 0x4aad10
mov eax, dword [0x810c10]
or al, 0x10
mov dword [0x810c10], eax
add esp, 0xc
ret
mov eax, dword [0x810c10]
or al, 8
mov dword [0x810c10], eax
add esp, 0xc
ret

Function at 0x4b62f0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push 0x80
or ebx, 0xffffffff
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call edi
mov eax, dword [str.HicGameLibMutex]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x810c18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4b634d
mov ecx, dword [0x810c18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
mov dword [0x810c18], 0
pop ebx
ret 0x10
push 0x20
call esi
push eax
call edi
push 0x4b63b0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x49d5a0
push 0x49d580
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0x49d320
push 0x49d4b0
push 0x49d430
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.004a9ef0
mov esi, eax
mov eax, dword [0x810c18]
add esp, 0x24
test eax, eax
je 0x4b63a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x4bbd93
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp edi, ebp
mov ebx, ecx
jne 0x4bbdad
mov eax, 0x80070057
jmp 0x4bbf2a
cmp dword [ebx + 0x104], 0xffffffff
je 0x4bbdbd
mov ecx, ebx
call fcn.004bbf31
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, ebx
push 0x10000080
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 4
push ebp
mov ecx, eax
push ebp
push 0xc0000000
and ecx, 3
push dword [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x114], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0x104], eax
je 0x4bbe72
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x28
mov dword [ebx + 0x110], eax
sbb esi, esi
neg esi
mov dword [esp + 0x14], esi
je 0x4bbe26
mov eax, 0x1000
jmp 0x4bbe2f
add eax, 0xfff
and ax, 0xf000
push ebp
push eax
push ebp
push 4
push ebp
mov dword [ebx + 0x110], eax
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [ebx + 0x108], eax
je 0x4bbe72
push dword [ebx + 0x110]
push ebp
push ebp
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebp
mov dword [ebx + 0x10c], edx
jne 0x4bbea2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x4bbe84
call esi
mov esi, eax
jmp 0x4bbe94
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov ecx, ebx
call fcn.004bbf31
mov eax, esi
jmp 0x4bbf2a
cmp esi, ebp
jne 0x4bbef9
push 8
mov edi, str.D3DX_r_n
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4bbed1
cmp dword [edx + 8], ebp
jne 0x4bbed1
cmp dword [edx + 0x14], 0x10
jne 0x4bbed1
mov eax, dword [edx + 0x18]
cmp eax, 0x28
jb 0x4bbed1
cmp eax, dword [ebx + 0x110]
jbe 0x4bbef1
mov ecx, dword [ebx + 0x110]
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x14], 1
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x4bbf28
mov eax, dword [str.D3DX_r_n]
mov dword [edx], eax
mov eax, dword [0x5723dc]
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
mov dword [edx + 0x10], ebp
mov dword [edx + 0x14], 0x10
mov dword [edx + 0x18], 0x28
mov dword [edx + 0x1c], ebp
mov dword [edx + 0x20], ebp
mov dword [edx + 0x24], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4c0c7e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004bbd78
test eax, eax
jne 0x4c0d0f
lea eax, [ebp - 0x100]
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, 0x572728
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp + edx - 0x100], 0x5c
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
lea edi, [ebp + edx - 0xff]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x100]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004bbd93
test eax, eax
jl 0x4c0d11
mov ecx, ebx
call fcn.004bbd8c
cmp eax, 0x100000
jbe 0x4c0d0f
mov ecx, ebx
call fcn.004bbf8c
lea eax, [ebp - 0x100]
mov ecx, ebx
push eax
call fcn.004bbd93
test eax, eax
jl 0x4c0d11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ce30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b498b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a720c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44ceb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a4c8a
mov eax, dword [eax]
push 0x9e71f4
push eax
call fcn.00497814
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a7497
test bl, bl
je 0x44ceb2
push 0x9e71f4
lea ecx, [esp + 0xc]
call fcn.004a7873
push 0x9ead6c
lea ecx, [esp + 0xc]
call fcn.004a7873
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44ceee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a7497
jmp 0x44cfb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44cf72
lea edx, [esp + 0x7c]
push 0x9ead68
push edx
call fcn.00497814
add esp, 8
test eax, eax
je 0x44cf72
lea eax, [esp + 0x7c]
push 0x9ead64
push eax
call fcn.00497814
add esp, 8
test eax, eax
je 0x44cf72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44cf02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a7497
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44d7b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44d812
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x44d820
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4a0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9f1e88]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x44d958
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44d886
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a7497
xor eax, eax
jmp 0x44d9cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a7620
push esi
lea ecx, [esp + 0xc]
call fcn.004a78af
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44d9ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0044d7b0
test eax, eax
jne 0x44d9ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.0044d7b0
test eax, eax
jne 0x44d9ad
lea eax, [esp + 0x14]
push 0x9ead80
push eax
call fcn.004989c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d98c
lea ecx, [esp + 0x14]
push 0x9ead7c
push ecx
call fcn.00498940
mov esi, eax
add esp, 8
test esi, esi
jne 0x44d98c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44d98f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a75d0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44d89e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a7497
xor eax, eax
jmp 0x44d9cf
mov byte [esi], 0
push 0x9ead78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a7497
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x45e460
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x45e4ce
cmp si, 0x69
ja 0x45e4ce
add esi, 0xffd0
cmp si, 0x11
je 0x45e49e
push 0x11
call edi
test ax, ax
jge 0x45e49e
or esi, 0x2000
cmp si, 0x10
je 0x45e4b3
push 0x10
call edi
test ax, ax
jge 0x45e4b3
or esi, 0x4000
cmp si, 0x12
je 0x45e4c8
push 0x12
call edi
test ax, ax
jge 0x45e4c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45e4db
mov esi, 0xbd
jmp 0x45e48f
cmp si, 0x6e
jne 0x45e4e8
mov esi, 0xbe
jmp 0x45e48f
cmp si, 0x6f
jne 0x45e489
mov esi, 0xbf
jmp 0x45e48f

Function at 0x45fc90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa02c60]
xor edx, edx
cmp eax, edx
jne 0x45fcb6
xor eax, eax
mov byte [eax + 0xa02b60], al
inc eax
cmp eax, 0x100
jl 0x45fc9e
mov dword [0xa02c60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa02b60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45fd47
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 0x45fd1a
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 0x45fce8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45fdc0
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 0x45fe13
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 0x45fdfa
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 0x466850
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4669e8
cmp ebp, ebx
jle 0x4669e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x4668ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4668b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4668c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4668cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004a71d8
add esp, 4
cmp eax, ebx
je 0x4668ec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004a71d8
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4669de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4669c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4669b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4669a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4669b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4669b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x466950
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x466941
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x469bf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5f18
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x469c29
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004aecd5
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004aed5d
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00469cb0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004aed9a
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24