joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4397d8
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 0x4397f4
cmp dword [esi + 4], 0
je 0x439821
test byte [ebx + 0x55], 1
jne 0x439813
mov eax, ebx
call fcn.00438378
test eax, eax
jne 0x439813
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439931
mov edx, esi
mov eax, ebx
call fcn.004392fc
jmp 0x439931
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 0x43992a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b648
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.00436054
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004397d8
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.0043b648
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439931
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 0x43fe78
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45b27c]
cmp byte [eax + 0xc], 0
je 0x43ffe5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ffde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45cb68], 0
jne 0x43fecc
push 0x43ffec
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43fff4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb68], eax
cmp dword [0x45abe4], 0
jne 0x43ffc7
push 0x440004
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45abe4], eax
cmp dword [0x45abe4], 0
je 0x43ffc7
push 0x440010
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb6c], eax
push 0x440020
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb70], eax
push 0x440034
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb74], eax
push 0x44004c
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb78], eax
push 0x440064
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb7c], eax
push 0x440078
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb80], eax
push 0x440090
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb84], eax
push 0x4400a8
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb88], eax
push 0x4400c4
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb8c], eax
push 0x4400d0
mov eax, dword [0x45abe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ffe5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x44b5fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b64c]
test si, 4
je 0x44b610
or bl, 1
test si, 8
je 0x44b61a
or bl, 4
test si, 1
je 0x44b624
or bl, 8
test si, 2
je 0x44b62e
or bl, 0x10
test si, 0x10
je 0x44b638
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b647
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b688]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b669
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b678
or bl, 4
test esi, 0x20000000
je 0x44b683
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451d30
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451d42
add esp, 0xfffffff0
call fcn.00403c40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e9fc
mov eax, dword [0x45af18]
mov dword [eax + 4], ebx
mov dword [eax], 0x4520d4
mov eax, dword [0x45af24]
mov dword [eax + 4], ebx
mov dword [eax], 0x4520e0
mov eax, ebx
call fcn.004520ec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
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, 0x44e508
push eax
push 0
push 0
mov eax, dword [0x45b078]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420428]
call fcn.0042186c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420428]
call fcn.0042186c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420428]
call fcn.0042186c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045250c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4523e8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4523e8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4523e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451e7f
call fcn.00403c98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4521cc
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 0x452377
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452358
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403904
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040466c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452347
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.004401d8
test al, al
je 0x45233a
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, 0x452388
lea eax, [ebp - 0x254]
call fcn.0040aa74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45233a
xor eax, eax
push ebp
push 0x452333
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 0x4523c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45231c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048dc
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 0x45231c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45233a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45223d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ab28
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 0x45237e
lea eax, [ebp - 0x260]
call fcn.0040466c
ret

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

Disassembly:
push ecx
mov eax, dword [0x45cbb4]
cmp byte [eax + 0xa5], 0
jne 0x452d1d
cmp dword [0x45cbcc], 0
jne 0x452cde
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452c68
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45cbcc], eax
cmp dword [0x45cbc8], 0
jne 0x452cf9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45cbc8], eax
cmp dword [0x45cbd0], 0
jne 0x452d1d
push esp
push 0
push 0
push 0x452c0c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45cbd0], eax
pop edx
ret
Function at 0x452e14
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452e2b
add esp, 0xfffffff0
call fcn.00403c40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e9fc
mov eax, dword [0x45b064]
cmp word [eax + 2], 0
jne 0x452e53
mov eax, dword [0x45b064]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454504
mov eax, dword [0x45b114]
cmp word [eax + 2], 0
jne 0x452e6d
mov eax, dword [0x45b114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004546fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41695c]
call fcn.00403904
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420bd8]
call fcn.00426820
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452ff4
mov eax, dword [0x45af7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426bf0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454cac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45af7c]
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.0040e33c
test eax, eax
je 0x452f62
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a468
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e364
test eax, eax
je 0x452f76
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048dc
mov eax, dword [0x45ae6c]
cmp byte [eax], 0
jne 0x452faa
mov eax, ebx
call fcn.0045311c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454e88
mov eax, ebx
call fcn.0045584c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452fea
call fcn.00403c98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45339c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45cbb4]
cmp dword [eax + 0x30], 0
je 0x453446
cmp dword [ebx + 0x94], 0
jne 0x453440
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45332c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453440
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 0x453406
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453440
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.00418f0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453415
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453fa8
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 0x453fdd
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.0040475c
jmp 0x453fea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455064
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4550a5
mov eax, esi
call fcn.0043b94c
test al, al
je 0x4550a5
mov eax, dword [ebx + 0x84]
call fcn.0043b648
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4550a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b648
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455e24
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebx
push esi
add esp, 0xfffffe60
mov esi, edx
mov ebx, eax
push esp
push 0x101
call sub.ws2_32.dll_WSAStartup
test eax, eax
push 0
push 2
push 2
call sub.ws2_32.dll_socket
mov dword [ebx + 4], eax
mov word [esp + 0x18e], 2
push 0xd4a9
call sub.ws2_32.dll_htons
mov word [esp + 0x190], ax
push 0
call sub.ws2_32.dll_htonl
mov dword [esp + 0x192], eax
push 1
push 0x4c8
push esi
mov eax, dword [ebx + 4]
push eax
call sub.ws2_32.dll_WSAAsyncSelect
inc eax
jne 0x455e97
mov eax, dword [ebx + 4]
push eax
call sub.ws2_32.dll_closesocket
call sub.ws2_32.dll_WSACleanup
add esp, 0x1a0
pop esi
pop ebx
ret

Function at 0x459108
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403010
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004048dc
add esp, 0x100
pop ebx
ret
Function at 0x4591bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
mov eax, dword [ebp - 8]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x459274
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00404b2c
push eax
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x459259
push 0
lea eax, [ebp - 0x10]
call fcn.00459108
push dword [ebp - 0x10]
push 0x459288
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049ec
mov eax, dword [ebp - 0xc]
call fcn.00404b2c
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x45b0f8]
mov eax, dword [eax]
call fcn.00454258
push 0x32
call sub.kernel32.dll_Sleep_1
push 0
mov eax, dword [ebp - 4]
call fcn.00404b2c
push eax
call sub.user32.dll_FindWindowA
test eax, eax
je 0x459202
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45927b
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404690
ret
Function at 0x402e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41fca4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xd88
mov dword [esp + 0x1c], esi
mov byte [esp + 0x28], al
call sub.MFC42u.DLL_operatornew
xor ebp, ebp
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
mov cl, byte [esp + 0x17]
push 0x84
mov dword [esp + 0x40], ebp
mov byte [esi + 0xc], cl
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 8
mov dword [esi + 0x10], eax
mov dword [esp + 0x14], edi
mov ebx, 0xb
mov dword [esp + 0x1c], edi
cmp edi, ebp
mov byte [esp + 0x38], 1
je 0x402ef2
lea edx, [esp + 0x24]
mov ecx, edi
push edx
call fcn.004060c0
add edi, 0xc
dec ebx
mov dword [esp + 0x14], edi
jne 0x402ed9
mov eax, dword [esi + 0x10]
add eax, 0x84
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov ebx, 3
mov byte [esp + 0x38], bl
mov edi, eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x402f4d
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.004053a0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00405bd0
cmp dword [esp + 0x14], edi
jne 0x402f23
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42u.DLL_operatordelete
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x17]
add esp, 4
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov byte [esi + 0x2c], cl
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi], 0x4215a0
mov dword [esi + 0x40], ebp
mov dword [esi + 8], ebx
mov dword [esi + 0x3c], ebp
mov dword [esi + 4], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x406f00
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
jne 0x406f1e
test edi, edi
jne 0x406f52
mov eax, dword [esi + 0xa0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406f3a
mov ecx, dword [esi + 0xa0]
push 0
push ecx
call ebp
mov eax, dword [esp + 0x20]
test eax, eax
je 0x406f4a
mov edx, dword [esi + 0x40]
push 0
push edx
call ebp
test edi, edi
je 0x407043
mov edx, dword [esi + 0x48]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
test edx, edx
je 0x406f8f
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x24]
sub edi, eax
push 0
push edi
mov edi, dword [esi + 0x2c]
sub edi, ecx
push edi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x48]
push eax
call ebx
test eax, eax
jne 0x406f8f
mov ecx, dword [esi + 0x48]
push 4
push ecx
call ebp
mov eax, dword [esi + 0xb0]
mov edx, dword [esi + 0xb8]
mov ecx, dword [esi + 0xac]
lea edi, [esi + 0xac]
sub edx, eax
push 0x10
push edx
mov edx, dword [esi + 0xb4]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x40]
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.0040e8a0
cmp dword [eax + 0x7f58], 6
jl 0x406fdf
mov ecx, dword [esi + 0x40]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x40]
push edx
call ebx
test eax, eax
pop ebx
jne 0x406ffc
mov eax, dword [esi + 0x40]
push 4
push eax
call ebp
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x407055
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x407055
mov edx, dword [esi + 0xb0]
mov eax, dword [edi]
inc edx
inc eax
push edx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret 0xc
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x407055
mov edx, dword [ecx]
push 0
push 1
push 0
call dword [edx + 8]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret 0xc