joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b55c
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x514164]
cmp byte [eax + 0xa5], 0
jne 0x48b5d3
cmp dword [0x51417c], 0
jne 0x48b591
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48b518
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51417c], eax
cmp dword [0x514178], 0
jne 0x48b5ac
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x514178], eax
cmp dword [0x514180], 0
jne 0x48b5d3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x48b4b8
push 0x3e8
push 0
call fcn.0040758c
mov dword [0x514180], eax
pop ecx
pop ebp
ret

Function at 0x48b69c
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.0048b634
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48b6bd
xor eax, eax
call fcn.0048b66c
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 0x48b6d7
mov al, 1
call fcn.0048b66c
mov esp, ebp
pop ebp
ret

Function at 0x48be04
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 [0x514164]
cmp dword [eax + 0x30], 0
je 0x48bece
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x48bec5
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 0x48bd84
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x48bec5
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 0x48be7f
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 0x48bec5
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.00421a50
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x48be94
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x48cbe8
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 0x48cc2d
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.00404c9c
jmp 0x48cc3e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404c00
mov esp, ebp
pop ebp
ret
Function at 0x48deb4
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 0x48df07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a6cd0
test al, al
je 0x48df07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a6800
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48df07
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a6800
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x491430
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.00404bac
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 0x491489
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.00404e1c
mov esp, ebp
pop ebp
ret
Function at 0x49b0a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x5141e4], 0
je 0x49b1ff
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x511294]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x49b1ff
mov eax, dword [0x5141e8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5141e4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49b1ce
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5141e4]
call fcn.00421a50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x49b1c2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x49b1c2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x49b1c2
mov eax, dword [ebp - 0x14]
call fcn.004a6800
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49b1c2
push ebp
call fcn.0049b058
pop ecx
test al, al
jne 0x49b1c2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x49b17e
mov eax, dword [ebp - 0x14]
call fcn.004a4b80
dec eax
jle 0x49b1c2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403e28
cmp byte [ebp - 1], 0
je 0x49b1c2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x49b1c2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5141e8]
call fcn.0049a520
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x49b110
mov eax, dword [0x5141e8]
cmp dword [eax + 8], 0
jle 0x49b1e6
mov eax, dword [0x5141e8]
call fcn.0049a5cc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49b1ff
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0049ae94
pop ecx
test al, al
jne 0x49b1ff
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49f8ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x49f93f
mov eax, dword [ebp - 0x14]
call fcn.00482080
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49f93f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x49f93f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x49face
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x49f988
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x49f988
mov eax, dword [ebp - 0x14]
call fcn.00482080
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49fac3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x49face
jmp 0x49fac3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x49fa9e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x49fa9e
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x49f9cb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x49f9c5
sub eax, 3
je 0x49f9c5
sub eax, 3
jne 0x49f9cb
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x49f9e2
dec eax
je 0x49f9f9
dec eax
je 0x49fa20
dec eax
je 0x49f9f9
jmp 0x49fa2d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x511294]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0048dd38
jmp 0x49fac3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x49fa13
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403e28
jmp 0x49face
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x49fac3
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x49fac3
mov eax, dword [0x5141a0]
cmp byte [eax + 0x20], 0
je 0x49fac3
mov eax, dword [0x5141a0]
cmp dword [eax + 0x1c], 0
je 0x49fac3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x5141a0]
cmp eax, dword [edx + 0x1c]
jne 0x49fac3
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00481f9c
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403e28
jmp 0x49face
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x49fac3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0049d9a0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a3ef4
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 0x4a3f15
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4a3f4a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x4a3f3a
mov eax, dword [ebp - 4]
call fcn.004a24d0
test eax, eax
jne 0x4a3f3a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4a4074
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a38c8
jmp 0x4a4074
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 0x4a406d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004a6800
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.0049f7a0
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.004a3ef4
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.004a6800
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4074
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 0x4ac47c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x511528]
cmp byte [eax + 0xc], 0
je 0x4ac5ee
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ac5e7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5141f4], 0
jne 0x4ac4d5
push 0x4ac5f4
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebp - 4], eax
push 0x4ac5fc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5141f4], eax
cmp dword [0x50f604], 0
jne 0x4ac5d0
push 0x4ac60c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x50f604], eax
cmp dword [0x50f604], 0
je 0x4ac5d0
push 0x4ac618
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5141f8], eax
push 0x4ac628
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5141fc], eax
push 0x4ac63c
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x514200], eax
push 0x4ac654
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x514204], eax
push 0x4ac66c
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x514208], eax
push 0x4ac680
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51420c], eax
push 0x4ac698
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x514210], eax
push 0x4ac6b0
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x514214], eax
push 0x4ac6cc
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x514218], eax
push 0x4ac6d8
mov eax, dword [0x50f604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51421c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac5ee
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x4aee60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], eax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4aee7c
mov dword [ebp - 4], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4aee8c
or dword [ebp - 4], 2
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4aee9c
or dword [ebp - 4], 4
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret
Function at 0x4b6050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b5acc
mov eax, dword [ebp - 4]
test byte [eax + 0x23d], 4
jne 0x4b6103
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049d6cc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004a6500
push eax
push 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b6097
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x22c], 0
jne 0x4b60ce
mov ecx, dword [0x5110dc]
mov dl, 1
mov eax, dword [0x45ef74]
call fcn.0040f210
call fcn.004044bc
mov eax, dword [ebp - 4]
call fcn.004b6728
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
jne 0x4b610b
mov eax, dword [ebp - 4]
call fcn.004a6800
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b610b
push 0
mov eax, dword [ebp - 4]
call fcn.004a6800
push eax
call sub.user32.dll_ShowWindow
jmp 0x4b610b
mov eax, dword [ebp - 4]
call fcn.004a2858
mov esp, ebp
pop ebp
ret

Function at 0x4d345c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d356a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x4d357c
push 0x4d3588
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x4d34e8
call fcn.004d343c
test al, al
je 0x4d34e4
lea eax, [ebp - 0x18]
call fcn.004d2b58
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x4d35a4
call fcn.00404ed4
mov eax, dword [ebp - 8]
call fcn.0040a4bc
test al, al
je 0x4d34e4
push 1
mov eax, dword [ebp - 8]
call fcn.00405088
push eax
call sub.kernel32.dll_WinExec
push 0x4d357c
push 0x4d3588
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x4d354c
mov eax, esi
call fcn.00404e88
mov edi, eax
inc edi
mov dword [ebp - 0x10], edi
mov eax, edi
call fcn.00402910
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d3545
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405088
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0040b004
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x4a
push ebx
call sub.user32.dll_SendMessageA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d354c
mov eax, dword [ebp - 0xc]
call fcn.00402930
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3571
lea eax, [ebp - 0x18]
call fcn.00404bac
lea eax, [ebp - 8]
call fcn.00404bac
ret
Function at 0x4d6f74
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4d6f7c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4d716e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4d7184
mov eax, esi
call fcn.004d589c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404c00
lea ecx, [ebp - 0x10]
mov edx, 0x4d7198
mov eax, esi
call fcn.004d589c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404c00
lea ecx, [ebp - 0x14]
mov edx, 0x4d71b0
mov eax, esi
call fcn.004d589c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404c00
lea ecx, [ebp - 0x18]
mov edx, 0x4d71cc
mov eax, esi
call fcn.004d589c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404c00
lea ecx, [ebp - 0x1c]
mov edx, 0x4d71e8
mov eax, esi
call fcn.004d589c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404c00
lea ecx, [ebp - 0x24]
mov edx, 0x4d7200
mov eax, esi
call fcn.004d589c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409a58
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409fe0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4d7218
mov eax, esi
call fcn.004d589c
mov eax, dword [ebp - 0x28]
call fcn.004bfaf0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4d7228
mov eax, esi
call fcn.004d589c
mov eax, dword [ebp - 0x2c]
call fcn.004bfaf0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4d7240
mov eax, esi
call fcn.004d589c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409fe0
inc eax
je 0x4d7111
lea ecx, [ebp - 0x34]
mov edx, 0x4d7240
mov eax, esi
call fcn.004d589c
mov eax, dword [ebp - 0x34]
call fcn.00409fa0
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c924
fstp qword [ebp - 0x3c]
wait
call fcn.0040cdbc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4d712c
lea ecx, [ebp - 0x40]
mov edx, 0x4d7240
mov eax, esi
call fcn.004d589c
mov eax, dword [ebp - 0x40]
call fcn.004bfaf0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4d7250
mov eax, esi
call fcn.004d589c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7175
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404bd0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404bd0
ret
Function at 0x4da72c
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 0x4da786
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004da71c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004be5f8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004be1f8
mov edx, dword [esi + 0xc]
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 0x4da78d
lea eax, [ebp - 4]
call fcn.00404bac
ret

Function at 0x4dd730
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dd78b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040b1f8
mov eax, dword [ebp - 0x18]
mov edx, ebx
call fcn.00409734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd792
lea eax, [ebp - 0x18]
call fcn.00404bac
ret