joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b3d4
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 + 0x240], 0
je 0x44b3f0
cmp dword [esi + 4], 0
je 0x44b41d
test byte [ebx + 0x55], 1
jne 0x44b40f
mov eax, ebx
call fcn.004497bc
test eax, eax
jne 0x44b40f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44b52d
mov edx, esi
mov eax, ebx
call fcn.0044addc
jmp 0x44b52d
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 0x44b526
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044d42c
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.00446be4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044b3d4
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.0044d42c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b52d
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 0x4527f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x471d98]
cmp byte [eax + 0xc], 0
je 0x452961
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45295a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x475574], 0
jne 0x452848
push 0x452968
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov ebx, eax
push 0x452970
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475574], eax
cmp dword [0x4716d8], 0
jne 0x452943
push 0x452980
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4716d8], eax
cmp dword [0x4716d8], 0
je 0x452943
push 0x45298c
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475578], eax
push 0x45299c
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x47557c], eax
push 0x4529b0
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475580], eax
push 0x4529c8
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475584], eax
push 0x4529e0
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475588], eax
push 0x4529f4
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x47558c], eax
push 0x452a0c
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475590], eax
push 0x452a24
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475594], eax
push 0x452a40
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x475598], eax
push 0x452a4c
mov eax, dword [0x4716d8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x47559c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452961
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x458160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4581b4]
test si, 4
je 0x458175
or bl, 1
test si, 8
je 0x45817f
or bl, 4
test si, 1
je 0x458189
or bl, 8
test si, 2
je 0x458193
or bl, 0x10
test si, 0x10
je 0x45819d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4581ac
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4581b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4581f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4581d2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4581e1
or bl, 4
test esi, 0x20000000
je 0x4581ec
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45f8a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f8ba
add esp, 0xfffffff0
call fcn.00403d50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dcfc
mov eax, dword [0x4719ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fc4c
mov eax, dword [0x4719f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fc58
mov eax, ebx
call fcn.0045fc64
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
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, 0x45b6fc
push eax
push 0
push 0
mov eax, dword [0x471b74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4218e8]
call fcn.0042313c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4218e8]
call fcn.0042313c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4218e8]
call fcn.0042313c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460094
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ff64
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ff64
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ff64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f9f7
call fcn.00403da8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45fd48
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 0x45fef3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45fed4
mov dl, 1
mov eax, dword [0x415f1c]
call fcn.004039fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404858
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45fec3
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.00452b50
test al, al
je 0x45feb6
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, 0x45ff04
lea eax, [ebp - 0x254]
call fcn.00409ac8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45feb6
xor eax, eax
push ebp
push 0x45feaf
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 0x45ff3c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x45fe98
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac8
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 0x45fe98
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45feb6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45fdb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419bfc
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 0x45fefa
lea eax, [ebp - 0x260]
call fcn.00404858
ret

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

Disassembly:
push ecx
mov eax, dword [0x4755ac]
cmp byte [eax + 0xad], 0
jne 0x4608dd
cmp dword [0x4755c4], 0
jne 0x46089e
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460828
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4755c4], eax
cmp dword [0x4755c0], 0
jne 0x4608b9
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4755c0], eax
cmp dword [0x4755c8], 0
jne 0x4608dd
push esp
push 0
push 0
push 0x4607cc
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4755c8], eax
pop edx
ret
Function at 0x460ab0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460ac7
add esp, 0xfffffff0
call fcn.00403d50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dcfc
mov eax, dword [0x471b5c]
cmp word [eax + 2], 0
jne 0x460aef
mov eax, dword [0x471b5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462578
mov eax, dword [0x471c18]
cmp word [eax + 2], 0
jne 0x460b09
mov eax, dword [0x471c18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462784
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415af8]
call fcn.004039fc
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 [0x4223f8]
call fcn.00429c6c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x460cc0
mov eax, dword [0x471a60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a040
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462e54
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x471a60]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_1
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.0040d3d8
test eax, eax
je 0x460c10
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040946c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d40c
test eax, eax
je 0x460c24
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.00404ac8
mov byte [ebx + 0xd4], 0
push ebx
push 0x4620c0
call fcn.0041ee78
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47191c]
cmp byte [eax], 0
jne 0x460c75
mov eax, ebx
call fcn.00460e04
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.00463030
mov eax, ebx
call fcn.00463b90
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460cb5
call fcn.00403da8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461084
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4755ac]
cmp dword [eax + 0x30], 0
je 0x46112e
cmp dword [ebx + 0x94], 0
jne 0x461128
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461014
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461128
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 0x4610ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461128
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.00417ea4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4610fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461e48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x461e7d
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.00404948
jmp 0x461e8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048ac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463214
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463282
mov eax, esi
call fcn.0044d7cc
test al, al
je 0x463282
mov eax, dword [ebx + 0x84]
call fcn.0044d42c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463282
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x463276
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d42c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445844
jmp 0x463282
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463050
pop esi
pop ebx
ret

Function at 0x465a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x465a6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d1c
push eax
push 0
call sub.user32.dll_FindWindowA
test eax, eax
jbe 0x465a59
push 0
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465a76
lea eax, [ebp - 4]
call fcn.00404858
ret
Function at 0x465bc8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x465c7a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
mov eax, dword [0x471b80]
mov eax, dword [eax]
call fcn.0044d42c
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x465c59
push 0xff
lea eax, [ebp - 0x103]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x465c4b
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x103]
call fcn.00409658
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.00404e60
test eax, eax
je 0x465c4b
mov bl, 1
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x465c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c81
lea eax, [ebp - 0x108]
call fcn.00404858
lea eax, [ebp - 4]
call fcn.00404858
ret

Function at 0x466258
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 0
push 2
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
pop ebx
ret

Function at 0x466388
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x466503
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.00465810
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00465830
mov ebx, eax
jmp 0x4664d5
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404ac8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409300
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408678
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408678
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404c68
je 0x4664ac
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404ac8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408678
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408678
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404c68
jne 0x4664c6
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00465850
mov ebx, eax
test ebx, ebx
jne 0x466407
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46650a
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040487c
lea eax, [ebp - 4]
call fcn.00404858
ret
Function at 0x467a0c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x467a7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x47571c], 0
call sub.KERNEL32.DLL_GetTickCount_1
mov esi, eax
mov eax, dword [0x471bfc]
mov eax, dword [eax]
call fcn.00462270
mov eax, dword [0x471b80]
mov eax, dword [eax]
cmp byte [eax + 0x3b9], 0
je 0x467a74
push 1
call sub.KERNEL32.DLL_Sleep_2
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
cmp byte [0x47571c], 1
jne 0x467a68
call fcn.0040c570
mov eax, ebx
sub eax, esi
cmp edi, eax
jle 0x467a74
cmp esi, ebx
jle 0x467a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467a8d
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408c60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
push ebp
mov ebp, ecx
push esi
mov ecx, 0x80000000
mov eax, dword [ebp + 0xec]
mov edx, dword [ebp + 0x168]
not eax
and eax, 2
shl eax, 0x1c
or eax, 0x8000000
test edx, edx
jne 0x408c93
mov edx, dword [ebp + 0x16c]
test edx, edx
je 0x408c9d
mov ecx, 0x80020000
or eax, 0x2000000
push 0
push eax
mov eax, dword [esp + 0x50]
push 3
push 0
push 3
push ecx
push eax
call dword [0x41b3cc]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [edx], ecx
mov dword [esp + 8], esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x50]
call fcn.00417df0
cmp esi, 0xffffffff
jne 0x408cec
pop esi
xor eax, eax
pop ebp
add esp, 0x3c
ret 0x10
mov eax, dword [ebp + 0x250]
push ebx
mov ebx, dword [esp + 0x50]
cmp dword [ebx + 0xc], eax
jge 0x408d0d
push eax
push eax
mov ecx, ebx
call fcn.00419dd0
test eax, eax
je 0x408dbb
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x408dbb
mov ecx, dword [esp + 0x34]
push edi
push 1
push 0
push 0
push ecx
call fcn.0041afd0
mov edi, edx
mov edx, dword [esp + 0x3c]
mov esi, eax
xor eax, eax
add esi, edx
adc edi, eax
js 0x408da0
jg 0x408d48
test esi, esi
jbe 0x408da0
mov eax, dword [ebp + 0x3f8]
test eax, eax
jne 0x408da0
mov edx, dword [ebp + 0x250]
mov eax, dword [ebx]
lea ecx, [esp + 0x50]
push 0
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x64], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408da0
mov eax, dword [esp + 0x50]
test eax, eax
jbe 0x408da0
mov ecx, dword [ebx]
push eax
push ecx
mov ecx, dword [esp + 0x60]
call fcn.00417e20
sub esi, dword [esp + 0x50]
sbb edi, 0
test edi, edi
jg 0x408d48
jl 0x408da0
test esi, esi
ja 0x408d48
or esi, edi
pop edi
jne 0x408db7
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push edx
call fcn.00417e50
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebx
pop esi
pop ebp
add esp, 0x3c
ret 0x10