joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442ee8
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 0x442f04
cmp dword [esi + 4], 0
je 0x442f31
test byte [ebx + 0x55], 1
jne 0x442f23
mov eax, ebx
call fcn.00441a88
test eax, eax
jne 0x442f23
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x443041
mov edx, esi
mov eax, ebx
call fcn.00442a0c
jmp 0x443041
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 0x44303a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00444d58
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.0043f724
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00442ee8
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.00444d58
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443041
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 0x4496d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4bc048]
cmp byte [eax + 0xc], 0
je 0x44983d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449836
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bdb74], 0
jne 0x449724
push 0x449844
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44984c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb74], eax
cmp dword [0x4b9df4], 0
jne 0x44981f
push 0x44985c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b9df4], eax
cmp dword [0x4b9df4], 0
je 0x44981f
push 0x449868
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb78], eax
push 0x449878
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb7c], eax
push 0x44988c
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb80], eax
push 0x4498a4
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb84], eax
push 0x4498bc
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb88], eax
push 0x4498d0
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb8c], eax
push 0x4498e8
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb90], eax
push 0x449900
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb94], eax
push 0x44991c
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb98], eax
push 0x449928
mov eax, dword [0x4b9df4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44983d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44d6c8
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.004042ec
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d717
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.0040455c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454e54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454ea4]
test si, 4
je 0x454e68
or bl, 1
test si, 8
je 0x454e72
or bl, 4
test si, 1
je 0x454e7c
or bl, 8
test si, 2
je 0x454e86
or bl, 0x10
test si, 0x10
je 0x454e90
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454e9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x454ea8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454ee0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454ec1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454ed0
or bl, 4
test esi, 0x20000000
je 0x454edb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b588
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b59a
add esp, 0xfffffff0
call fcn.0040375c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423e54
mov eax, dword [0x4bb95c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b92c
mov eax, dword [0x4bb974]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b938
mov eax, ebx
call fcn.0045b944
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
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, 0x457d60
push eax
push 0
push 0
mov eax, dword [0x4bbc50]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4258c8]
call fcn.0042703c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4258c8]
call fcn.0042703c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4258c8]
call fcn.0042703c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bd64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc40
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc40
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b6d7
call fcn.004037b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ba24
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 0x45bbcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bbb0
mov dl, 1
mov eax, dword [0x41b274]
call fcn.00403408
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bb9f
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.00449a30
test al, al
je 0x45bb92
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, 0x45bbe0
lea eax, [ebp - 0x254]
call fcn.00409bbc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bb92
xor eax, eax
push ebp
push 0x45bb8b
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 0x45bc18
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bb74
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040455c
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 0x45bb74
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040455c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bb92
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ba95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f99c
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 0x45bbd6
lea eax, [ebp - 0x260]
call fcn.004042ec
ret

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

Disassembly:
push ecx
mov eax, dword [0x4bdbc0]
cmp byte [eax + 0xa5], 0
jne 0x45c575
cmp dword [0x4bdbd8], 0
jne 0x45c536
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c4c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bdbd8], eax
cmp dword [0x4bdbd4], 0
jne 0x45c551
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bdbd4], eax
cmp dword [0x4bdbdc], 0
jne 0x45c575
push esp
push 0
push 0
push 0x45c464
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4bdbdc], eax
pop edx
ret
Function at 0x45c66c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c683
add esp, 0xfffffff0
call fcn.0040375c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423e54
mov eax, dword [0x4bbc28]
cmp word [eax + 2], 0
jne 0x45c6ab
mov eax, dword [0x4bbc28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045dd5c
mov eax, dword [0x4bbdb4]
cmp word [eax + 2], 0
jne 0x45c6c5
mov eax, dword [0x4bbdb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045df54
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ac10]
call fcn.00403408
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 [0x4263a8]
call fcn.0042da7c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c84c
mov eax, dword [0x4bba48]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042de4c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e4f4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bba48]
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.0040da0c
test eax, eax
je 0x45c7ba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040959c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da34
test eax, eax
je 0x45c7ce
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.0040455c
mov eax, dword [0x4bb794]
cmp byte [eax], 0
jne 0x45c802
mov eax, ebx
call fcn.0045c974
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.0045e6d0
mov eax, ebx
call fcn.0045f094
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c842
call fcn.004037b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cbf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bdbc0]
cmp dword [eax + 0x30], 0
je 0x45cc9e
cmp dword [ebx + 0x94], 0
jne 0x45cc98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cb84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45cc98
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 0x45cc5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45cc98
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.0041d2c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45cc6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d800
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 0x45d835
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.004043dc
jmp 0x45d842
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404340
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e8ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e8ed
mov eax, esi
call fcn.0044505c
test al, al
je 0x45e8ed
mov eax, dword [ebx + 0x84]
call fcn.00444d58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e8ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444d58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x461fb4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x461fe2
mov eax, ebx
call fcn.00462a68
cmp dword [ebx + 0x40], 0
je 0x461fdb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462053
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462045
cmp dword [ebx + 8], 0
je 0x462004
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 0x462016
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462045
cmp dword [ebx + 8], 0
je 0x461ff7
cmp eax, 3
je 0x462029
dec eax
jne 0x461ff7
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 0x461ff7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x461ff7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462071
cmp dword [ebx + 0x14], 0xcc
je 0x462071
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.0046207c
pop ebx
ret
Function at 0x48033c
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 0x480344
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x480536
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x48054c
mov eax, esi
call fcn.0047e1c8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404340
lea ecx, [ebp - 0x10]
mov edx, 0x480560
mov eax, esi
call fcn.0047e1c8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404340
lea ecx, [ebp - 0x14]
mov edx, 0x480578
mov eax, esi
call fcn.0047e1c8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404340
lea ecx, [ebp - 0x18]
mov edx, 0x480594
mov eax, esi
call fcn.0047e1c8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404340
lea ecx, [ebp - 0x1c]
mov edx, 0x4805b0
mov eax, esi
call fcn.0047e1c8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404340
lea ecx, [ebp - 0x24]
mov edx, 0x4805c8
mov eax, esi
call fcn.0047e1c8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408a3c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408f84
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4805e0
mov eax, esi
call fcn.0047e1c8
mov eax, dword [ebp - 0x28]
call fcn.00477b6c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4805f0
mov eax, esi
call fcn.0047e1c8
mov eax, dword [ebp - 0x2c]
call fcn.00477b6c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x480608
mov eax, esi
call fcn.0047e1c8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408f84
inc eax
je 0x4804d9
lea ecx, [ebp - 0x34]
mov edx, 0x480608
mov eax, esi
call fcn.0047e1c8
mov eax, dword [ebp - 0x34]
call fcn.00408f48
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.0040aa10
fstp qword [ebp - 0x3c]
wait
call fcn.0040ad74
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4804f4
lea ecx, [ebp - 0x40]
mov edx, 0x480608
mov eax, esi
call fcn.0047e1c8
mov eax, dword [ebp - 0x40]
call fcn.00477b6c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x480618
mov eax, esi
call fcn.0047e1c8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48053d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404310
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404310
ret

Function at 0x4a7084
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4a70a9
cmp dword [esp + 4], 5
jb 0x4a70a9
mov al, 1
jmp 0x4a70ab
xor eax, eax
add esp, 0x94
ret
Function at 0x4b7964
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.0040479c
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4b7ade
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004b782c
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004b784c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4b7aaa
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040455c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409414
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004087ec
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004087ec
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004046f8
je 0x4b7a84
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040455c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004087ec
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004087ec
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004046f8
jne 0x4b7a9b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.004b786c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4b79e5
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7ae5
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404310
lea eax, [ebp - 4]
call fcn.004042ec
ret
Function at 0x403737
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00403799
test eax, eax
je 0x40377a
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40377a
cmp word [eax], 0x5a4d
jne 0x40377a
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40377a
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00403869
mov eax, dword [ebp + 8]
jmp 0x403793
mov esp, ebp
pop ebp
ret 4

Function at 0x403799
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40384a
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x4086d4
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4086f6
mov eax, 0xfffffffd
jmp 0x4087d3
mov ebx, dword [0x4b990c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4087a1
mov ebx, dword [0x4b990c]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x408745
mov ebx, dword [0x4b990c]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x408745
mov eax, 1
jmp 0x408747
xor eax, eax
test eax, eax
je 0x408773
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40875c
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4b990c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4087c9
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4087d3
mov esp, ebp
pop ebp
ret 4

Function at 0x416371
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret