joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c18c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43c1d0
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c1d7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43e4c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404b08
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e50e
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404d78
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442590
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4426c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42af90]
call fcn.0042b0cc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x442699
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042b1a8
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404d78
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4426d8
call fcn.00404e18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042b334
lea ecx, [ebp - 4]
mov edx, 0x442714
mov eax, dword [ebp - 0xc]
call fcn.0042b564
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040eb18
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44267c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x442720
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x50d5bc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442683
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret

Function at 0x442770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4427b7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44279a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4427ab
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4427b7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x457078
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x50fb20]
cmp byte [eax + 0xc], 0
je 0x4571e5
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4571de
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x513554], 0
jne 0x4570cc
push 0x4571ec
call sub.KERNEL32.DLL_GetModuleHandleA_1
mov ebx, eax
push 0x4571f4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513554], eax
cmp dword [0x50d700], 0
jne 0x4571c7
push 0x457204
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x50d700], eax
cmp dword [0x50d700], 0
je 0x4571c7
push 0x457210
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513558], eax
push 0x457220
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51355c], eax
push 0x457234
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513560], eax
push 0x45724c
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513564], eax
push 0x457264
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513568], eax
push 0x457278
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51356c], eax
push 0x457290
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513570], eax
push 0x4572a8
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513574], eax
push 0x4572c4
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x513578], eax
push 0x4572d0
mov eax, dword [0x50d700]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51357c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4571e5
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45e184]
test si, 4
je 0x45e145
or bl, 1
test si, 8
je 0x45e14f
or bl, 4
test si, 1
je 0x45e159
or bl, 8
test si, 2
je 0x45e163
or bl, 0x10
test si, 0x10
je 0x45e16d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e17c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e188
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45e1c4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e1a2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e1b1
or bl, 4
test esi, 0x20000000
je 0x45e1bc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46606c
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 0x466217
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4661f8
mov dl, 1
mov eax, dword [0x41809c]
call fcn.00403b78
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b08
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4661e7
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.004573d4
test al, al
je 0x4661da
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, 0x466228
lea eax, [ebp - 0x254]
call fcn.0040a23c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4661da
xor eax, eax
push ebp
push 0x4661d3
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 0x466260
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4661bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d78
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 0x4661bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4661da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4660dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041cb64
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 0x46621e
lea eax, [ebp - 0x260]
call fcn.00404b08
ret

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

Disassembly:
push ecx
mov eax, dword [0x51358c]
cmp byte [eax + 0xad], 0
jne 0x466c01
cmp dword [0x5135a4], 0
jne 0x466bc2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x466b4c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5135a4], eax
cmp dword [0x5135a0], 0
jne 0x466bdd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x5135a0], eax
cmp dword [0x5135a8], 0
jne 0x466c01
push esp
push 0
push 0
push 0x466af0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x5135a8], eax
pop edx
ret
Function at 0x466dd4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466deb
add esp, 0xfffffff0
call fcn.00403f0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004258a0
mov eax, dword [0x50f820]
cmp word [eax + 2], 0
jne 0x466e13
mov eax, dword [0x50f820]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046889c
mov eax, dword [0x50f928]
cmp word [eax + 2], 0
jne 0x466e2d
mov eax, dword [0x50f928]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468aa8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417aec]
call fcn.00403b78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417aec]
call fcn.00403b78
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417aec]
call fcn.00403b78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42c808]
call fcn.004349dc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x466fe4
mov eax, dword [0x50f6c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00434db0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x469178
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50f6c4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dbcc
test eax, eax
je 0x466f34
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409be0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dc00
test eax, eax
je 0x466f48
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d78
mov byte [ebx + 0xd4], 0
push ebx
push 0x4683e4
call fcn.00426a1c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x50f51c]
cmp byte [eax], 0
jne 0x466f99
mov eax, ebx
call fcn.00467128
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00469354
mov eax, ebx
call fcn.00469eb4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466fd9
call fcn.00403f64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486bc4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
lea eax, [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
jno 0x486bec
call fcn.00403a78
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x48e548
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48e5b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x50dcf4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x48e5a3
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0048e538
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x488d88]
call fcn.0048e5e0
mov dword [0x50dd58], eax
mov eax, dword [ebp - 4]
call fcn.0048e4e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e5c0
lea eax, [ebp - 8]
call fcn.004069b4
ret
Function at 0x5048cc
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
test esi, esi
je 0x50494a
cmp esi, ebx
je 0x50494a
push 0x8000
push 0
push esi
call sub.KERNEL32.DLL_VirtualFree
inc edi
jmp 0x5049c2
test esi, esi
jne 0x5049cb
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.KERNEL32.DLL_VirtualQuery
cmp dword [esp + 0x40], 0x118
jb 0x5049bf
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x5049bf
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x5049bf
cmp eax, dword [ebx]
jne 0x5049bf
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x5049bf
cmp eax, dword [ebx + 0x110]
jne 0x5049bf
lea eax, [ebx + 8]
mov edx, dword [esp]
movzx ecx, byte [eax]
inc ecx
call fcn.0040346c
je 0x5049cb
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x504903
xor eax, eax
test esi, esi
je 0x504a31
cmp esi, ebx
jne 0x504a4d
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.004033c0
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x504a4d
test ebx, ebx
je 0x504a4d
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x505b20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x505ba4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x505bbc
lea edx, [ebp - 0x108]
mov eax, dword [ebx]
call fcn.00403a88
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.00404d6c
push dword [ebp - 8]
push 0x505bc8
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404e8c
mov eax, dword [ebp - 4]
call fcn.00404fcc
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505bab
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b2c
ret
Function at 0x5063f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x506474
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x50648c
lea edx, [ebp - 0x108]
mov eax, dword [ebx]
call fcn.00403a88
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.00404d6c
push dword [ebp - 8]
push 0x506498
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404e8c
mov eax, dword [ebp - 4]
call fcn.00404fcc
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50647b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b2c
ret

Function at 0x5095fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fbc
xor eax, eax
push ebp
push 0x509694
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.004034dc
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.004034dc
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fcc
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x50967e
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50969b
lea eax, [ebp - 4]
call fcn.00404b08
ret
Function at 0x63416a
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 8], 0x67586c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
adc eax, sym.imp.KERNEL32.dll_GlobalAlloc

Function at 0x6341bc
Capabilities:
Terminate process

Disassembly:
adc eax, sym.imp.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
push 0x104
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x63428e
mov edx, dword [ebp - 0x14]
push edx
call fcn.006340ea
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x634238
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
cmp eax, edx
je 0x634238
push 0x10
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x48]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x14]
push edx
call fcn.0063411a
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + edx]
je 0x63428e
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + edx]
je 0x63428e
push 0x10
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x48]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x20a
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x2c]
invalid
Function at 0x634387
Capabilities:
Terminate process

Disassembly:
jbe 0x634394
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
jmp 0x634398
jmp fcn.0063440d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
jne 0x6343a4
jmp fcn.0063440d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x18], 0
jmp 0x6343be
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jge 0x6343dd
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + eax]
add ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x6343b5
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x6343f8
jmp fcn.0063440d
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [ebp - 0x30]
mov dword [ebp - 0x58], eax

Function at 0x634482
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x6344df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x6344d9
mov edx, dword [0x675840]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x6344cd
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x6344b2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x6344db
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x635f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x635ffc
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x636045
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0064f4a0
add esp, 8
test eax, eax
jne 0x636043
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x636047
jmp 0x635ff3
xor eax, eax
mov esp, ebp
pop ebp
ret