joyce8/EMBER2024-capa huggingface dataset:
Function at 0x738f88d8
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 0x738f88f4
cmp dword [esi + 4], 0
je 0x738f8921
test byte [ebx + 0x55], 1
jne 0x738f8913
mov eax, ebx
call fcn.738f7478
test eax, eax
jne 0x738f8913
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x738f8a31
mov edx, esi
mov eax, ebx
call fcn.738f83fc
jmp 0x738f8a31
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 0x738f8a2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.738fa748
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.738f5114
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.738f88d8
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.738fa748
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x738f8a31
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 0x738ff0c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x739171f4]
cmp byte [eax + 0xc], 0
je 0x738ff22d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x738ff226
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x73918b90], 0
jne 0x738ff114
push 0x738ff234
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x738ff23c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918b90], eax
cmp dword [0x73916bc0], 0
jne 0x738ff20f
push 0x738ff24c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x73916bc0], eax
cmp dword [0x73916bc0], 0
je 0x738ff20f
push 0x738ff258
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918b94], eax
push 0x738ff268
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918b98], eax
push 0x738ff27c
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918b9c], eax
push 0x738ff294
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918ba0], eax
push 0x738ff2ac
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918ba4], eax
push 0x738ff2c0
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918ba8], eax
push 0x738ff2d8
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918bac], eax
push 0x738ff2f0
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918bb0], eax
push 0x738ff30c
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918bb4], eax
push 0x738ff318
mov eax, dword [0x73916bc0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x73918bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x738ff22d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x739030b8
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.738c3e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x73903107
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.738c40bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x7390a844
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x7390a894]
test si, 4
je 0x7390a858
or bl, 1
test si, 8
je 0x7390a862
or bl, 4
test si, 1
je 0x7390a86c
or bl, 8
test si, 2
je 0x7390a876
or bl, 0x10
test si, 0x10
je 0x7390a880
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x7390a88f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x7390a898
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x7390a8d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x7390a8b1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x7390a8c0
or bl, 4
test esi, 0x20000000
je 0x7390a8cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x73910f78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x73910f8a
add esp, 0xfffffff0
call fcn.738c3420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.738d9440
mov eax, dword [0x73916ec4]
mov dword [eax + 4], ebx
mov dword [eax], 0x7391131c
mov eax, dword [0x73916ed0]
mov dword [eax + 4], ebx
mov dword [eax], 0x73911328
mov eax, ebx
call fcn.73911334
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
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, 0x7390d750
push eax
push 0
push 0
mov eax, dword [0x73917010]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x738dae9c]
call fcn.738dc610
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x738dae9c]
call fcn.738dc610
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x738dae9c]
call fcn.738dc610
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.73911754
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x73911630
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x73911630
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x73911630
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x739110c7
call fcn.738c3478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x73911414
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 0x739115bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x739115a0
mov dl, 1
mov eax, dword [0x738d1b4c]
call fcn.738c30cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.738c3e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x7391158f
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.738ff420
test al, al
je 0x73911582
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, 0x739115d0
lea eax, [ebp - 0x254]
call fcn.738c8ad0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x73911582
xor eax, eax
push ebp
push 0x7391157b
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 0x73911608
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x73911564
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.738c40bc
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 0x73911564
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.738c40bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x73911582
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x73911485
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.738d5630
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 0x739115c6
lea eax, [ebp - 0x260]
call fcn.738c3e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x73918bdc]
cmp byte [eax + 0xa5], 0
jne 0x73911f65
cmp dword [0x73918bf4], 0
jne 0x73911f26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x73911eb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x73918bf4], eax
cmp dword [0x73918bf0], 0
jne 0x73911f41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x73918bf0], eax
cmp dword [0x73918bf8], 0
jne 0x73911f65
push esp
push 0
push 0
push 0x73911e54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x73918bf8], eax
pop edx
ret
Function at 0x7391205c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x73912073
add esp, 0xfffffff0
call fcn.738c3420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.738d9440
mov eax, dword [0x73916ffc]
cmp word [eax + 2], 0
jne 0x7391209b
mov eax, dword [0x73916ffc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.73913734
mov eax, dword [0x739170a8]
cmp word [eax + 2], 0
jne 0x739120b5
mov eax, dword [0x739170a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.7391392c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x738d1730]
call fcn.738c30cc
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 [0x738db97c]
call fcn.738e2cf4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x7391223c
mov eax, dword [0x73916f24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.738e30c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x73913ecc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x73916f24]
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.738cc1a0
test eax, eax
je 0x739121aa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.738c84c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.738cc1c8
test eax, eax
je 0x739121be
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.738c40bc
mov eax, dword [0x73916e18]
cmp byte [eax], 0
jne 0x739121f2
mov eax, ebx
call fcn.73912364
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.739140a8
mov eax, ebx
call fcn.73914a6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x73912232
call fcn.738c3478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x739125e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x73918bdc]
cmp dword [eax + 0x30], 0
je 0x7391268e
cmp dword [ebx + 0x94], 0
jne 0x73912688
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x73912574
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x73912688
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 0x7391264e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x73912688
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.738d3a98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x7391265d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x739131f0
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 0x73913225
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.738c3f3c
jmp 0x73913232
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.738c3ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x73914284
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x739142c5
mov eax, esi
call fcn.738faa4c
test al, al
je 0x739142c5
mov eax, dword [ebx + 0x84]
call fcn.738fa748
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x739142c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.738fa748
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x659a7d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x663168
cmp edx, dword [eax]
je 0x659a9f
add eax, 8
inc ecx
cmp eax, 0x6631f8
jl 0x659a90
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x663168]
jne 0x659bcd
mov eax, dword [0xa68a90]
cmp eax, 1
je 0x659ba7
test eax, eax
jne 0x659ad0
cmp dword [0x663094], 1
je 0x659ba7
cmp edx, 0xfc
je 0x659bcd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659b07
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0065a460
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a8f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659b4a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a8f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eeac
push edi
call fcn.0065c7c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0065a460
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a470
lea eax, [ebp - 0xa0]
push 0x65ee8c
push eax
call fcn.0065a470
push dword [esi + 0x66316c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a470
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065c734
add esp, 0x2c
pop edi
jmp 0x659bcd
lea eax, [ebp + 8]
lea esi, [esi + 0x66316c]
push 0
push eax
push dword [esi]
call fcn.0065a8f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40b728
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
invalid
inc ebp
pushfd

Function at 0x40b73b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x40ba60
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40ba34
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40ba52
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40bab0
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40ba97
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40baa0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40baaa
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40ba8c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40ba16
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40bafd
dec eax
je 0x40baf4
sub eax, 3
je 0x40baeb
mov dword [ebp - 4], 0x40
jmp 0x40bb1a
mov dword [ebp - 4], 4
jmp 0x40bb00
mov dword [ebp - 4], 0x20
jmp 0x40bb00
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40bb4c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40bacc
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040b35d
invalid
Function at 0x40bbdb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebx, 0x40fffffc
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040b36d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b322
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
invalid

Function at 0x40bec6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx - 0x7000007], ebp
lea eax, [ebp - 0x664]
push eax
call fcn.0040b36d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b322
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
invalid

Function at 0x40c061
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b65b], al
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0040b36d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b322
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
invalid
in al, dx
Function at 0x417c82
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x422c90], ebx
push esi
push edi
jne 0x417d02
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x417d3d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41f6f0
push edi
call esi
test eax, eax
mov dword [0x422c90], eax
je 0x417d3d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x422c94], eax
call esi
cmp dword [0x422964], 2
mov dword [0x422c98], eax
jne 0x417d02
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x422ca0], eax
je 0x417d02
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x422c9c], eax
mov eax, dword [0x422c9c]
test eax, eax
je 0x417d47
call eax
test eax, eax
je 0x417d2e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x422ca0]
test eax, eax
je 0x417d2e
test byte [ebp - 8], 1
jne 0x417d47
cmp dword [0x422970], 4
jb 0x417d41
or byte [ebp + 0x12], 0x20
jmp 0x417d66
xor eax, eax
jmp 0x417d76
or byte [ebp + 0x12], 4
jmp 0x417d66
mov eax, dword [0x422c94]
test eax, eax
je 0x417d66
call eax
mov ebx, eax
test ebx, ebx
je 0x417d66
mov eax, dword [0x422c98]
test eax, eax
je 0x417d66
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x422c90]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418bc7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4240e4], 0
jne 0x418bd9
pop ebp
jmp fcn.0040b5d0
mov ecx, dword [ebp + 8]
jmp 0x418c0f
movzx edx, al
test byte [edx + 0x424101], 4
je 0x418c06
inc ecx
mov dl, byte [ecx]
test dl, dl
je 0x418c2a
movzx eax, ax
movzx edx, dl
shl eax, 8
or eax, edx
cmp dword [ebp + 0xc], eax
jne 0x418c0e
lea eax, [ecx - 1]
pop ebp
ret
movzx edx, ax
cmp dword [ebp + 0xc], edx
je 0x418c18
inc ecx
movzx ax, byte [ecx]
test ax, ax
jne 0x418bde
movzx edx, ax
mov eax, dword [ebp + 0xc]
sub eax, edx
neg eax
sbb eax, eax
not eax
and eax, ecx
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x418cb6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418cd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040fa3d
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x418cf7
test byte [esp + 8], 2
je 0x418cf7
mov dword [0x422958], 0xd
mov dword [0x42295c], 5
jmp 0x418cd2
xor eax, eax
ret