joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a870
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43ca9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
mov ecx, dword [0x44c924]
push edi
push 2
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
lea ecx, [esp + 8]
call fcn.00438dc2
push str.PinbleMenu.ini
lea ecx, [esp + 8]
mov dword [esp + 0x1d8], 0
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 4]
push ecx
push 0
push str.Count
push str.MENU
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0x8c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0xcc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xcd]
mov dword [esp + 8], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 1
cmp edx, edi
jl 0x42aa5d
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
push ebp
mov ebp, dword [esp + 0x1e4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea edx, [esp + 0x5c]
push str.MENUITEM_d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x58]
push eax
push 0x40
push ecx
push 0x44c680
push str.Flag
push edx
call esi
mov al, byte [esp + 0x18]
test al, al
je 0x42aa4d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x98]
push eax
push 0x40
push ecx
push 0x44c680
lea edx, [esp + 0x68]
push str.Name
push edx
call esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xd8]
push eax
push pe_nt_image_headers32
push ecx
push 0x44c680
lea edx, [esp + 0x68]
push str.Value
push edx
call esi
lea eax, [esp + 0x18]
push 0x44b508
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42a9ff
lea ecx, [esp + 0x98]
lea edx, [edi + 0xeb10]
push ecx
jmp 0x42aa40
lea ecx, [esp + 0x18]
push 0x44b504
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x42aa1f
mov edx, dword [ebp + 4]
push eax
push eax
push 0x800
push edx
jmp 0x42aa47
lea eax, [esp + 0x18]
push 0x44b500
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42aa4d
lea ecx, [esp + 0x98]
lea edx, [edi + 0xeb30]
push ecx
mov eax, dword [ebp + 4]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jle 0x42a95c
pop esi
pop ebp
pop ebx
lea ecx, [esp + 4]
mov dword [esp + 0x1d4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1cc]
pop edi
mov dword fs:[0], ecx
add esp, 0x1d4
ret 4
Function at 0x42b0b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1070
call fcn.00439710
mov eax, dword [esp + 0x1074]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42b0f2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1070
ret 8
lea ecx, [esp + 0x20]
push ecx
call fcn.0042b3b0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
mov dword [esp + 0xc], 0x1000
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x78]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0
push edx
lea eax, [esp + 0x80]
push 0x1000
push eax
push esi
call ebx
test eax, eax
je 0x42b1a4
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0042b3e0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, 0x1000
je 0x42b10d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042be70
mov eax, dword [esp + 0x108c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
pop ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
add esp, 0x1070
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1070
ret 8

Function at 0x42b3b0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x42d710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43cd58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x34]
xor esi, esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
mov dword [esp + 0x30], esi
call fcn.00432220
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], esi
cmp eax, esi
jle 0x42d8d5
push ebp
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [ecx + esi*4]
add ecx, 0x20
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x42d8c4
mov edx, dword [edi + 0xc]
mov eax, dword [edx + esi*4]
mov edx, dword [ebx + 8]
mov esi, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], esi
lea ebp, [esi + 1]
test ebp, ebp
jne 0x42d7b3
test eax, eax
je 0x42d7a6
push eax
mov dword [esp + 0x3c], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x42d8b6
test eax, eax
jne 0x42d7eb
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x42d8b2
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x42d81d
cmp edx, ebp
jge 0x42d80d
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov dword [ebx + 8], ebp
jmp 0x42d8b6
jle 0x42d815
sub edx, ebp
mov dword [esp + 0x38], edx
mov dword [ebx + 8], ebp
jmp 0x42d8b6
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x42d847
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x42d83b
mov eax, 4
jmp 0x42d847
cmp eax, 0x400
jle 0x42d847
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x38], eax
jl 0x42d855
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x38]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ecx
mov edi, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov dword [edx + esi*4], eax
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x10]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x42d755
pop ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x435fc0
Capabilities:
Create process on windows
Resolve dns
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [0x44c8d0]
cmp eax, ecx
jne 0x4360b7
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x43603d
push 0x44
push 0x44c3c0
push 0x44c37c
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x43602e
push str.Update.exe
lea ecx, [esp + 0x10]
push 0x44c754
push ecx
call sub.MFC42.DLL_operator_1
mov edx, dword [eax]
push 5
push 0
push str._autoupdate
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
pop edi
pop esi
ret 4
lea ecx, [esi + 0x1c]
push ecx
mov ecx, 0x44c8e4
call fcn.00438db0
mov edx, dword [esi + 0x3c]
mov dword [0x44c8ec], edx
mov eax, dword [esi + 0x18]
mov edx, dword [0x44c8e4]
mov dword [0x44c8f0], eax
mov ecx, dword [esi + 0x14]
push edx
mov dword [0x44c8d4], ecx
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x43609d
mov eax, dword [0x44c8e4]
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x43609d
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
mov ecx, 0x44c8e4
call fcn.00438db0
mov ecx, edi
call fcn.00436380
mov ecx, dword [edi + 0x20]
push 0
push 0x1770
push 0x64
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret 4
Function at 0x4372a3
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43da7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [esp + 0xb4]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x1f
mov dword [esi + 0x40], eax
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x44c75c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x2c]
push 0x80
push edx
stosw word es:[edi], ax
push 0x44c680
push str.VersionName
push str.MAIN
stosb byte es:[edi], al
call ebp
lea edi, [esi + 0x44]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00438db0
mov ecx, dword [0x44c75c]
lea edx, [esp + 0x28]
push ecx
push 0x80
push edx
push 0x44c680
push str.BuildInfo
push str.MAIN
call ebp
push 0x44a494
mov ecx, edi
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
push str.SkinDownloadSplash.bmp
lea ecx, [esp + 0x10]
push 0x44c754
push ecx
call sub.MFC42.DLL_operator_1
mov ebp, dword [eax]
mov dword [esp + 0xb0], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x10
push 0
push 0
push 0
push ebp
push eax
lea edi, [esi + 0x48]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 0xffffffff
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x437393
mov eax, dword [edi + 4]
test eax, eax
jne 0x437397
xor eax, eax
jmp 0x4373fc
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x10]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x4373b7
xor edi, edi
jmp 0x4373ba
mov edi, dword [eax + 0x20]
call sub.MFC42.DLL_AfxGetModuleState
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push edi
push ecx
push edx
push 0
push 0
push 0x10000000
push 0
push 0
push 0
push eax
push 0
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateEx
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa8
ret 0xc

Function at 0x438af0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov dl, byte [esi + 0x18]
and dl, 9
mov al, dl
mov byte [esi + 0x18], dl
test al, 1
je 0x438b31
test al, 8
jne 0x438b31
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x438b31
mov cl, byte [esi + 0x18]
or cl, 4
test eax, 0x21000000
mov byte [esi + 0x18], cl
jne 0x438b31
or cl, 2
mov byte [esi + 0x18], cl
test byte [esi + 0x18], 2
je 0x438b50
mov eax, dword [esi + 0xc]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov ecx, esi
call fcn.00438050
pop edi
pop esi
ret 4
mov ecx, dword [esi + 0xc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
Function at 0x40b8f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f71b
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.00463df0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b972
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00461b9d
mov eax, dword [eax]
push 0x55c1d0
push eax
call fcn.00454024
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046407b
test bl, bl
je 0x40b972
push 0x55c1d0
lea ecx, [esp + 0xc]
call fcn.0046440b
push 0x55fd4c
lea ecx, [esp + 0xc]
call fcn.0046440b
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 0x40b9ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046407b
jmp 0x40ba79
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 0x40ba32
lea edx, [esp + 0x7c]
push 0x55fd48
push edx
call fcn.00454024
add esp, 8
test eax, eax
je 0x40ba32
lea eax, [esp + 0x7c]
push 0x55fd44
push eax
call fcn.00454024
add esp, 8
test eax, eax
je 0x40ba32
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 0x40b9c2
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.0046407b
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 0x40c700
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 0x40c762
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 0x40c770
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f7db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5666d8]
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 0x40c8a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c7d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046407b
xor eax, eax
jmp 0x40c91f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004641b8
push esi
lea ecx, [esp + 0xc]
call fcn.00464447
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 0x40c8fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040c700
test eax, eax
jne 0x40c8fd
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 closesocket
mov ecx, edi
call fcn.0040c700
test eax, eax
jne 0x40c8fd
lea eax, [esp + 0x14]
push 0x55fd60
push eax
call fcn.00455060
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c8dc
lea ecx, [esp + 0x14]
push 0x55fd5c
push ecx
call fcn.00454fe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c8dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c8df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00464168
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c7ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046407b
xor eax, eax
jmp 0x40c91f
mov byte [esi], 0
push 0x55fd58
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.0046407b
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 0x420bb0
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 0x420c1e
cmp si, 0x69
ja 0x420c1e
add esi, 0xffd0
cmp si, 0x11
je 0x420bee
push 0x11
call edi
test ax, ax
jge 0x420bee
or esi, 0x2000
cmp si, 0x10
je 0x420c03
push 0x10
call edi
test ax, ax
jge 0x420c03
or esi, 0x4000
cmp si, 0x12
je 0x420c18
push 0x12
call edi
test ax, ax
jge 0x420c18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x420c2b
mov esi, 0xbd
jmp 0x420bdf
cmp si, 0x6e
jne 0x420c38
mov esi, 0xbe
jmp 0x420bdf
cmp si, 0x6f
jne 0x420bd9
mov esi, 0xbf
jmp 0x420bdf

Function at 0x4222d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x576dc8]
xor edx, edx
cmp eax, edx
jne 0x4222f6
xor eax, eax
mov byte [eax + 0x576cc8], al
inc eax
cmp eax, 0x100
jl 0x4222de
mov dword [0x576dc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x576cc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x422387
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 0x42235a
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 0x422328
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422400
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 0x422453
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 0x42243a
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 0x428e90
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 0x429028
cmp ebp, ebx
jle 0x429028
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x428eee
dec eax
or eax, 0xfffffff8
inc eax
je 0x428ef5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x428f04
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x428f0b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00463dbc
add esp, 4
cmp eax, ebx
je 0x428f2c
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.00463dbc
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 0x42901e
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 0x429005
mov al, byte [edx]
cmp al, 0xc0
jbe 0x428ff1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x428fe6
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 0x428ff4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x428ff4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x428f90
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 0x428f81
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 0x42c080
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4711a8
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 0x42c0b9
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.0046b76f
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0046b7bb
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.0042c140
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b7f8
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24