joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4450b4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x4450d5
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44510a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x4450fa
mov eax, dword [ebp - 4]
call fcn.00443690
test eax, eax
jne 0x4450fa
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445234
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00444a88
jmp 0x445234
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x44522d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00447940
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004409b4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004450b4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00447940
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445234
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x44d708
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x483b34]
cmp byte [eax + 0xc], 0
je 0x44d87a
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44d873
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484b70], 0
jne 0x44d761
push 0x44d880
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x44d888
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b70], eax
cmp dword [0x482c60], 0
jne 0x44d85c
push 0x44d898
call sub.kernel32.dll_LoadLibraryA
mov dword [0x482c60], eax
cmp dword [0x482c60], 0
je 0x44d85c
push 0x44d8a4
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b74], eax
push 0x44d8b4
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b78], eax
push 0x44d8c8
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b7c], eax
push 0x44d8e0
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b80], eax
push 0x44d8f8
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b84], eax
push 0x44d90c
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b88], eax
push 0x44d924
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b8c], eax
push 0x44d93c
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b90], eax
push 0x44d958
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b94], eax
push 0x44d964
mov eax, dword [0x482c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d87a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404008
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x452271
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404278
mov esp, ebp
pop ebp
ret
Function at 0x45ae30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x45ae88]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x45ae4a
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x45ae54
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x45ae5e
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x45ae68
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x45ae72
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ae82
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x45ae8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45aed0]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45aead
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45aebd
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x45aec7
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x462e30
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x462e42
add esp, 0xfffffff0
call fcn.00403558
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041ce3c
mov eax, dword [0x48367c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4633a0
mov eax, dword [0x48368c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4633c0
mov eax, dword [ebp - 4]
call fcn.004633e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412d04]
call fcn.0040321c
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412d04]
call fcn.0040321c
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x412d04]
call fcn.0040321c
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x412d04]
call fcn.0040321c
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x412d04]
call fcn.0040321c
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x45e7f0
push eax
push 0
push 0
mov eax, dword [0x483884]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f034]
call fcn.0042062c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f034]
call fcn.0042062c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f034]
call fcn.0042062c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0046392c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x463778
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x463778
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x463778
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x462fca
call fcn.004035b0
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x463530
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4636fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4636d9
mov dl, 1
mov eax, dword [0x4131d8]
call fcn.0040321c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404008
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4636c2
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0044daa8
test al, al
je 0x4636b6
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x46370c
lea eax, [ebp - 0x25c]
call fcn.004092cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4636b6
xor eax, eax
push ebp
push 0x4636af
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x463744
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x463698
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404278
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463698
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4636b6
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4635a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00418028
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463702
lea eax, [ebp - 0x268]
call fcn.00404008
ret
Function at 0x464234
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x484bbc]
cmp byte [eax + 0xa5], 0
jne 0x4642ab
cmp dword [0x484bd4], 0
jne 0x464269
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4641f0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x484bd4], eax
cmp dword [0x484bd0], 0
jne 0x464284
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x484bd0], eax
cmp dword [0x484bd8], 0
jne 0x4642ab
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x464190
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x484bd8], eax
pop ecx
pop ebp
ret

Function at 0x464374
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0046430c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x464395
xor eax, eax
call fcn.00464344
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4643af
mov al, 1
call fcn.00464344
mov esp, ebp
pop ebp
ret

Function at 0x464a74
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x484bbc]
cmp dword [eax + 0x30], 0
je 0x464b3e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x464b35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x4649f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x464b35
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x464aef
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x464b35
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00415644
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x464b04
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x465858
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x46589d
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004040f8
jmp 0x4658ae
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.0040405c
mov esp, ebp
pop ebp
ret
Function at 0x466c8c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x466cdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00447e10
test al, al
je 0x466cdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00447940
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466cdf
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00447940
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x46af34
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46afa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404654
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004044c8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004042c8
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404654
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0046ae08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46afb0
lea eax, [ebp - 0xc]
call fcn.00404008
ret
Function at 0x4513d1
Capabilities:
Encode data using xor

Disassembly:
jmp 0x46cb20
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x46cc38
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x1c]
nop word [eax + eax]
mov bl, byte [esi + ebx]
push str.ugAyuisyx
push 0x51b4f8
call fcn.00450274
xor edx, edx
mov eax, esi
div ebp
mov eax, dword [esp + 0x1c]
add esp, 8
mov bh, byte [edx + section..Times]
push 0x453f6e
push str.dijovhyuGSYYSyus
xor bh, bl
mov bl, byte [esi + eax]
push 0x51b4f8
call fcn.00450274
add esp, 8
mov ecx, eax
call fcn.00453339
mov eax, dword [esp + 0x14]
push 0x453f6e
push str.fdiogiuAsdoiHYUAUAY87234
push 0x51b4f8
add byte [esi + eax], bh
call fcn.00450274
add esp, 8
mov ecx, eax
call fcn.00453339
mov eax, dword [esp + 0x14]
push str.suih89Ah3
push 0x51b4f8
dec byte [esi + eax]
call fcn.00450274
mov eax, dword [esp + 0x1c]
push str.XScdyhjkujktyyt
push 0x51b4f8
add byte [esi + eax], 0xfe
call fcn.00450274
mov eax, dword [esp + 0x24]
push str.sJBCsKJ2BJN
push 0x51b4f8
sub byte [esi + eax], bl
call fcn.00450274
mov ebx, dword [esp + 0x2c]
push str.sDGTFsE
push 0x51b4f8
inc byte [esi + ebx]
call fcn.00450274
inc byte [esi + ebx]
push str.ZASwe23
push 0x51b4f8
call fcn.00450274
inc byte [esi + ebx]
push str.uhgiyGAuyisua
push 0x51b4f8
call fcn.00450274
inc esi
add esp, 0x30
cmp esi, edi
jb 0x46cb40
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x45342e
Capabilities:
Parse pe header

Disassembly:
jmp 0x492ce0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x492d1f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x492d1f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x492d1f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x492d1f
cmp dword [ecx + 0x74], 0xe
jbe 0x492d1f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x453744
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x46bbb0
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x575b88], eax
pop edi
pop esi
ret
Function at 0x10002f10
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x100159c0
jmp fcn.1003c8a4

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

Disassembly:
sub esp, 0x14
push esi
push edi
push 0
push str.MapleStoryClass
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0xc]
push edx
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
mov eax, dword [0x100154cc]
mov ecx, 0x100015b0
lea edx, [esp + 8]
sub ecx, eax
push edx
push 0x40
sub ecx, 5
push 6
push eax
mov byte [esp + 0x24], 0xe9
mov byte [esp + 0x29], 0x90
mov dword [esp + 0x25], ecx
call edi
mov edx, dword [0x100154cc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push 6
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [esp + 8]
mov edx, dword [0x100154cc]
lea eax, [esp + 8]
push eax
push ecx
push 6
push edx
call edi
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10003070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push 0
push str.MapleStoryClass
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x18]
push edx
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x10015488]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 1
push 0x100154bc
push ecx
push esi
call edi
mov eax, dword [0x1001548c]
lea edx, [esp + 0x10]
push edx
push 1
push 0x100154bc
push eax
push esi
call edi
mov edx, dword [0x10015490]
lea ecx, [esp + 0x10]
push ecx
push 2
push 0x100154c0
push edx
push esi
call edi
mov ecx, dword [0x10015494]
lea eax, [esp + 0x10]
push eax
push 6
push 0x100154c4
push ecx
push esi
call edi
mov eax, dword [0x100154a4]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov bl, 0x90
je 0x1000315d
mov edx, 0x100022c0
lea ecx, [esp + 0x14]
sub edx, eax
push ecx
push 0x40
sub edx, 5
push 6
push eax
mov byte [esp + 0x2c], 0xe9
mov byte [esp + 0x31], bl
mov dword [esp + 0x2d], edx
call ebp
mov ecx, dword [0x100154a4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push 6
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [0x100154cc]
lea edx, [esp + 0x14]
push edx
push eax
push 6
push ecx
call ebp
mov eax, dword [0x100154a8]
test eax, eax
je 0x100031bc
mov edx, 0x10002300
lea ecx, [esp + 0x14]
sub edx, eax
push ecx
push 0x40
sub edx, 5
push 8
push eax
mov byte [esp + 0x2c], 0xe9
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov dword [esp + 0x2d], edx
call ebp
mov ecx, dword [0x100154a8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push 8
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [0x100154a8]
lea edx, [esp + 0x14]
push edx
push eax
push 8
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x100031d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
push 0
push str.MapleStoryClass
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x10]
push edx
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
mov eax, dword [0x10015598]
test eax, eax
mov dword [0x100195a8], 0
je 0x10003277
mov cl, 0x90
lea edx, [esp + 0xc]
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov ecx, 0x10001ed0
sub ecx, eax
push edx
push 0x40
sub ecx, 5
push 8
push eax
mov byte [esp + 0x28], 0xe9
mov dword [esp + 0x29], ecx
call esi
mov edx, dword [0x10015598]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push 8
push ecx
push edx
push edi
call ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [0x10015598]
lea eax, [esp + 0xc]
push eax
push ecx
push 8
push edx
call esi
mov eax, dword [0x100155a0]
test eax, eax
je 0x100032ca
mov ecx, 0x10001f70
lea edx, [esp + 0xc]
sub ecx, eax
push edx
push 0x40
sub ecx, 5
push 5
push eax
mov byte [esp + 0x28], 0xe9
mov dword [esp + 0x29], ecx
call esi
mov edx, dword [0x100155a0]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push 5
push ecx
push edx
push edi
call ebp
mov ecx, dword [esp + 0xc]
mov edx, dword [0x100155a0]
lea eax, [esp + 0xc]
push eax
push ecx
push 5
push edx
call esi
pop edi
pop esi
mov dword [0x10015608], 0
pop ebp
add esp, 0x14
ret

Function at 0x10003340
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003371
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret