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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x440a40
cmp dword [esi + 4], 0
je 0x440a6d
test byte [ebx + 0x55], 1
jne 0x440a5f
mov eax, ebx
call fcn.0043f5c4
test eax, eax
jne 0x440a5f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x440b7d
mov edx, esi
mov eax, ebx
call fcn.00440548
jmp 0x440b7d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x440b76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004428ac
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043d24c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00440a24
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004428ac
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440b7d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447274
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cf684]
cmp byte [eax + 0xc], 0
je 0x4473e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4473da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0ba0], 0
jne 0x4472c8
push 0x4473e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4473f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba0], eax
cmp dword [0x4cace8], 0
jne 0x4473c3
push 0x447400
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cace8], eax
cmp dword [0x4cace8], 0
je 0x4473c3
push 0x44740c
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba4], eax
push 0x44741c
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba8], eax
push 0x447430
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bac], eax
push 0x447448
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb0], eax
push 0x447460
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb4], eax
push 0x447474
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb8], eax
push 0x44748c
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bbc], eax
push 0x4474a4
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bc0], eax
push 0x4474c0
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bc4], eax
push 0x4474cc
mov eax, dword [0x4cace8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4473e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44b26c
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.00404674
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b2bb
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.004048e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452a8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452adc]
test si, 4
je 0x452aa0
or bl, 1
test si, 8
je 0x452aaa
or bl, 4
test si, 1
je 0x452ab4
or bl, 8
test si, 2
je 0x452abe
or bl, 0x10
test si, 0x10
je 0x452ac8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452ad7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x452ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452b18]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452af9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452b08
or bl, 4
test esi, 0x20000000
je 0x452b13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4591cc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4591de
add esp, 0xfffffff0
call fcn.00403a9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420024
mov eax, dword [0x4cef04]
mov dword [eax + 4], ebx
mov dword [eax], 0x459570
mov eax, dword [0x4cef18]
mov dword [eax + 4], ebx
mov dword [eax], 0x45957c
mov eax, ebx
call fcn.00459588
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416ca4]
call fcn.00403734
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416ca4]
call fcn.00403734
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416ca4]
call fcn.00403734
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416ca4]
call fcn.00403734
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416ca4]
call fcn.00403734
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, 0x4559a0
push eax
push 0
push 0
mov eax, dword [0x4cf23c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421aa0]
call fcn.00423238
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421aa0]
call fcn.00423238
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421aa0]
call fcn.00423238
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459a8c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45990c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45990c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45990c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45931b
call fcn.00403af4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4596f0
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 0x45989b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45987c
mov dl, 1
mov eax, dword [0x417308]
call fcn.00403734
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404674
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45986b
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.004475d4
test al, al
je 0x45985e
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, 0x4598ac
lea eax, [ebp - 0x254]
call fcn.0040a01c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45985e
xor eax, eax
push ebp
push 0x459857
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 0x4598e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459840
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048e4
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 0x459840
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45985e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459761
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bab0
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 0x4598a2
lea eax, [ebp - 0x260]
call fcn.00404674
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d0bec]
cmp byte [eax + 0xa5], 0
jne 0x45a29d
cmp dword [0x4d0c04], 0
jne 0x45a25e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a1e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d0c04], eax
cmp dword [0x4d0c00], 0
jne 0x45a279
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d0c00], eax
cmp dword [0x4d0c08], 0
jne 0x45a29d
push esp
push 0
push 0
push 0x45a18c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d0c08], eax
pop edx
ret
Function at 0x45a928
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d0bec]
cmp dword [eax + 0x30], 0
je 0x45a9d2
cmp dword [ebx + 0x94], 0
jne 0x45a9cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a8b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a9cc
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 0x45a992
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a9cc
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.004193dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a9a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b534
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 0x45b569
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.00404764
jmp 0x45b576
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c680
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c6c1
mov eax, esi
call fcn.00442bb0
test al, al
je 0x45c6c1
mov eax, dword [ebx + 0x84]
call fcn.004428ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c6c1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004428ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d3d4
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.kernel32.dll_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
shr eax, 0x10
shl eax, 0x10
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, dword [edi]
xor edx, edx
div esi
imul esi
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x45d468
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x45d468
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
inc ebx
jmp 0x45d504
cmp dword [esp + 0x10], 0
jne 0x45d50d
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x48], 0x118
jb 0x45d4ff
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x45d4ff
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x45d4ba
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45d4ff
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x45d4e7
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45d4ff
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004030f0
je 0x45d50d
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x45d40d
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x45d58b
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x45d5b1
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.00403044
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x45d5b1
cmp dword [edi], 0
je 0x45d5b1
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x460514
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4606d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403160
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4cba30], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4cba34], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4cba38], eax
mov eax, dword [0x4cf66c]
cmp dword [eax], 2
sete byte [0x4cb560]
push 0x4606e0
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00460e64
cmp byte [0x4cb560], 0
jne 0x4605a0
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00460e94
test al, al
je 0x4605a0
mov eax, dword [ebp - 0x4c]
mov dword [0x4d0ca4], eax
jmp 0x4605a7
xor eax, eax
mov dword [0x4d0ca4], eax
call fcn.0046028c
and eax, 0x7f
cmp eax, 0x10
ja case.0x4605b8.0
jmp dword [eax*4 + 0x4605bf]
mov byte [0x4cb54c], 1
jmp case.0x4605b8.0
mov byte [0x4cb550], 1
jmp case.0x4605b8.0
mov byte [0x4cb554], 1
jmp case.0x4605b8.0
mov byte [0x4cb558], 1
jmp case.0x4605b8.0
mov byte [0x4cb55c], 1
jmp case.0x4605b8.0
mov byte [0x4cb564], 1
mov byte [0x4cb568], 1
jmp case.0x4605b8.0
mov byte [0x4cb564], 1
mov byte [0x4cb56c], 1
jmp case.0x4605b8.0
mov byte [0x4cb564], 1
mov byte [0x4cb56c], 1
mov byte [0x4cb570], 1
jmp case.0x4605b8.0
mov byte [0x4cb574], 1
jmp case.0x4605b8.0
mov byte [0x4cb578], 1
jmp case.0x4605b8.0
mov byte [0x4cb57c], 1
jmp case.0x4605b8.0
mov byte [0x4cb580], 1
jmp case.0x4605b8.0
mov byte [0x4cb584], 1
jmp case.0x4605b8.0
mov byte [0x4cb588], 1
jmp case.0x4605b8.0
mov byte [0x4cb58c], 1
jmp case.0x4605b8.0
mov byte [0x4cb590], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4606db
lea eax, [ebp - 4]
call fcn.00404674
ret

Function at 0x460e94
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x460f3b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b34
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x460f25
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404cc0
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b34
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x460f25
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x460f4c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x460f25
cmp dword [ebp - 8], 0x34
jne 0x460f25
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460f42
lea eax, [ebp - 0x10]
call fcn.00404674
ret
Function at 0x466fb4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x466fe2
mov eax, ebx
call fcn.00467a68
cmp dword [ebx + 0x40], 0
je 0x466fdb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x467053
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x467045
cmp dword [ebx + 8], 0
je 0x467004
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x467016
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467045
cmp dword [ebx + 8], 0
je 0x466ff7
cmp eax, 3
je 0x467029
dec eax
jne 0x466ff7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x466ff7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x466ff7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x467071
cmp dword [ebx + 0x14], 0xcc
je 0x467071
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046707c
pop ebx
ret
Function at 0x47b0c8
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov ebx, ecx
mov edi, edx
mov esi, eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0xc
call fcn.00403160
mov dword [esp + 8], 0xc
mov eax, dword [0x4cf66c]
cmp dword [eax], 2
jne 0x47b11c
push 1
lea eax, [esp + 0x18]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
jmp 0x47b122
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xffffffff
mov edx, 1
mov eax, edi
call fcn.0047c548
test eax, eax
jne 0x47b180
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.004634dc
mov ecx, dword [esp + 4]
mov edx, 1
mov eax, edi
call fcn.0047c550
mov dl, 1
mov eax, dword [esp]
call fcn.0047b07c
mov ecx, eax
xor edx, edx
mov eax, esi
call fcn.0047c550
mov edx, 2
mov eax, edi
call fcn.0047c548
test eax, eax
jne 0x47b200
test bl, bl
je 0x47b1df
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.004634dc
mov ecx, dword [esp + 4]
mov edx, 2
mov eax, edi
call fcn.0047c550
mov dl, 1
mov eax, dword [esp]
call fcn.0047b07c
mov ecx, eax
mov edx, 2
mov eax, esi
call fcn.0047c550
jmp 0x47b200
mov edx, 1
mov eax, edi
call fcn.0047c548
xor edx, edx
call fcn.0047b07c
mov ecx, eax
mov edx, 2
mov eax, edi
call fcn.0047c550
xor edx, edx
mov eax, edi
call fcn.0047c548
test eax, eax
jne 0x47b253
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.004634dc
mov ecx, dword [esp]
xor edx, edx
mov eax, edi
call fcn.0047c550
mov dl, 1
mov eax, dword [esp + 4]
call fcn.0047b07c
mov ecx, eax
mov edx, 1
mov eax, esi
call fcn.0047c550
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x47b960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
push ebp
push 0x47baa5
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47ba85
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x50]
test esi, esi
jne 0x47b9ae
call fcn.00404074
call fcn.00404074
jmp 0x47baac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x45c]
test eax, eax
ja 0x47b9ca
call fcn.00404074
call fcn.00404074
jmp 0x47baac
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x5c
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x47ba14
call sub.kernel32.dll_GetLastError
cmp eax, 0xe8
je 0x47b9fa
call sub.kernel32.dll_GetLastError
cmp eax, 0x6d
jne 0x47ba05
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.0047affc
call fcn.00404074
call fcn.00404074
jmp 0x47baac
cmp dword [ebp - 0xc], 0
ja 0x47ba29
call fcn.00404074
call fcn.00404074
jmp 0x47baac
cmp ebx, dword [ebp - 0xc]
jbe 0x47ba48
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x5c]
mov ecx, ebx
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x5c
call fcn.00402c88
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub dword [eax + 0x45c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
setne byte [ebp - 5]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x45c], 0
jne 0x47ba84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_ResetEvent
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c35c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x49c3b6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0049c34c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049a0f4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00499c4c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c3bd
lea eax, [ebp - 4]
call fcn.00404674
ret