joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435444
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x435490
mov eax, esi
call fcn.0044ac18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435490
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435490
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4355cf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4354d0
cmp eax, 0x108
ja 0x4354d0
mov eax, esi
call fcn.0044ac18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4355c6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4355cf
jmp 0x4355c6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4355af
cmp eax, 0x20a
ja 0x4355af
test byte [esi + 0x50], 0x80
jne 0x435502
sub eax, 0x203
je 0x4354ff
sub eax, 3
je 0x4354ff
sub eax, 3
jne 0x435502
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435516
dec eax
je 0x43552b
dec eax
je 0x435548
dec eax
je 0x43552b
jmp 0x43554f
mov ecx, ebx
mov eax, dword [0x470d58]
mov eax, dword [eax]
mov edx, esi
call fcn.00454464
jmp 0x4355c6
cmp byte [esi + 0x5d], 1
jne 0x435541
mov eax, esi
mov si, 0xffed
call fcn.00403420
jmp 0x4355cf
or word [esi + 0x54], 1
jmp 0x4355c6
and word [esi + 0x54], 0xfffe
jmp 0x4355c6
mov eax, dword [0x471b10]
cmp byte [eax + 0x20], 0
je 0x4355c6
mov eax, dword [0x471b10]
cmp dword [eax + 0x1c], 0
je 0x4355c6
mov eax, dword [ebx]
mov edx, dword [0x471b10]
cmp eax, dword [edx + 0x1c]
jne 0x4355c6
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044ab5c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403420
jmp 0x4355cf
cmp eax, 0xb00b
jne 0x4355c6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00433d64
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438b3c
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 0x438b58
cmp dword [esi + 4], 0
je 0x438b85
test byte [ebx + 0x55], 1
jne 0x438b77
mov eax, ebx
call fcn.004376dc
test eax, eax
jne 0x438b77
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x438c95
mov edx, esi
mov eax, ebx
call fcn.00438660
jmp 0x438c95
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 0x438c8e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043a9ac
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.00435378
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00438b3c
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.0043a9ac
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438c95
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 0x43f324
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x470f20]
cmp byte [eax + 0xc], 0
je 0x43f491
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f48a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471b64], 0
jne 0x43f378
push 0x43f498
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43f4a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b64], eax
cmp dword [0x462bbc], 0
jne 0x43f473
push 0x43f4b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x462bbc], eax
cmp dword [0x462bbc], 0
je 0x43f473
push 0x43f4bc
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b68], eax
push 0x43f4cc
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b6c], eax
push 0x43f4e0
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b70], eax
push 0x43f4f8
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b74], eax
push 0x43f510
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b78], eax
push 0x43f524
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b7c], eax
push 0x43f53c
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b80], eax
push 0x43f554
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b84], eax
push 0x43f570
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b88], eax
push 0x43f57c
mov eax, dword [0x462bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f491
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x443338
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.00403f5c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x443387
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.004041cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44aacc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ab1c]
test si, 4
je 0x44aae0
or bl, 1
test si, 8
je 0x44aaea
or bl, 4
test si, 1
je 0x44aaf4
or bl, 8
test si, 2
je 0x44aafe
or bl, 0x10
test si, 0x10
je 0x44ab08
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ab17
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ab20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ab58]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ab39
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ab48
or bl, 4
test esi, 0x20000000
je 0x44ab53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451200
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451212
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194f4
mov eax, dword [0x470aec]
mov dword [eax + 4], ebx
mov dword [eax], 0x4515a4
mov eax, dword [0x470af8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4515b0
mov eax, ebx
call fcn.004515bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
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, 0x44d9d8
push eax
push 0
push 0
mov eax, dword [0x470cb4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af20]
call fcn.0041c364
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af20]
call fcn.0041c364
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af20]
call fcn.0041c364
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004519dc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4518b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4518b8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4518b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45134f
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45169c
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 0x451847
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451828
mov dl, 1
mov eax, dword [0x411a1c]
call fcn.004031f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f5c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451817
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.0043f684
test al, al
je 0x45180a
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, 0x451858
lea eax, [ebp - 0x254]
call fcn.00408aac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45180a
xor eax, eax
push ebp
push 0x451803
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 0x451890
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4517ec
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
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 0x4517ec
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45180a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45170d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004156e4
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 0x45184e
lea eax, [ebp - 0x260]
call fcn.00403f5c
ret

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

Disassembly:
push ecx
mov eax, dword [0x471bb0]
cmp byte [eax + 0xa5], 0
jne 0x4521ed
cmp dword [0x471bc8], 0
jne 0x4521ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452138
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bc8], eax
cmp dword [0x471bc4], 0
jne 0x4521c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bc4], eax
cmp dword [0x471bcc], 0
jne 0x4521ed
push esp
push 0
push 0
push 0x4520dc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471bcc], eax
pop edx
ret
Function at 0x4522e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4522fb
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194f4
mov eax, dword [0x470c98]
cmp word [eax + 2], 0
jne 0x452323
mov eax, dword [0x470c98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453a4c
mov eax, dword [0x470d80]
cmp word [eax + 2], 0
jne 0x45233d
mov eax, dword [0x470d80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453c44
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411600]
call fcn.004031f4
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 [0x41b6d0]
call fcn.0042140c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4524c4
mov eax, dword [0x470b7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004217dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4541f4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x470b7c]
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.0040c15c
test eax, eax
je 0x452432
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408464
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c184
test eax, eax
je 0x452446
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.004041cc
mov eax, dword [0x470a08]
cmp byte [eax], 0
jne 0x45247a
mov eax, ebx
call fcn.004525ec
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.004543d0
mov eax, ebx
call fcn.00454d94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4524ba
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45286c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb0]
cmp dword [eax + 0x30], 0
je 0x452916
cmp dword [ebx + 0x94], 0
jne 0x452910
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4527fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452910
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 0x4528d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452910
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.00413968
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4528e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453478
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 0x4534ad
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.0040404c
jmp 0x4534ba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4545ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4545ed
mov eax, esi
call fcn.0043acb0
test al, al
je 0x4545ed
mov eax, dword [ebx + 0x84]
call fcn.0043a9ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4545ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a9ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4605f4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040440c
mov eax, dword [ebp - 0xc]
call fcn.0040440c
xor eax, eax
push ebp
push 0x460694
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x4606ac
call fcn.00404224
mov eax, dword [ebp - 0xc]
call fcn.0040421c
mov esi, eax
inc esi
mov edx, esi
dec edx
test edx, edx
jl 0x46065b
inc edx
xor ecx, ecx
lea eax, [ebp - 0x10c]
mov ebx, dword [ebp - 0xc]
mov bl, byte [ebx + ecx]
mov byte [eax], bl
inc ecx
inc eax
dec edx
jne 0x46064e
push esi
lea eax, [ebp - 0x10c]
push eax
push 7
push 0
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46069b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403f80
ret
Function at 0x4062ee
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov byte [0x44167c], bl
mov dword [0x441618], ebx
mov dword [0x441608], ebx
mov dword [0x441620], 1
mov dword [0x441624], ebx
mov dword [0x441630], 0x4037f0
mov dword [0x4410a0], 0x441608
call fcn.00406207
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x406350
test byte [eax + 0x1c], 0x10
je 0x406350
cmp byte [eax + 0x19], 4
jae 0x41e9c9
push 0x10
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_GetHandleInformation]
test eax, eax
je 0x41e9e4
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapSetInformation]
push ecx
push ecx
call fcn.00406258
push ecx
mov dword [0x441698], edi
call fcn.0040628b
mov esi, eax
test esi, esi
js 0x4063d4
cmp byte [0x4417a8], bl
jne 0x4063e4
call dword [sym.imp.api_ms_win_core_processenvironment_l1_2_0.dll_GetCommandLineW]
push ecx
mov ecx, 0x441640
call fcn.0040643b
mov esi, eax
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x4063cf
test byte [eax + 0x1c], 0x10
je 0x4063cf
cmp byte [eax + 0x19], 4
jae 0x41ea22
call fcn.00405f8b
call fcn.00405ba5
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or esi, 0xffffffff
jmp 0x4063b3
pushfd
xor bl, cl
retf
add byte [eax], al
and byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], dl
inc esp
add byte [0x4410a0], bh
je 0x4063d4
test byte [eax + 0x1c], 0x10
je 0x4063d4
cmp byte [eax + 0x19], 4
jb 0x4063d4
push esi
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042811e
jmp 0x4063d4
push esi
push dword [eax + 0x14]
mov edx, 0x403b58
push dword [eax + 0x10]
push 0x27
pop ecx
call fcn.00419c0e
jmp 0x4063cf

Function at 0x407166
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
mov ebx, ecx
call fcn.00406fc0
mov edi, dword [ebp - 4]
mov esi, eax
test esi, esi
js 0x4071c0
xor eax, eax
push eax
push eax
push ebx
push 0x406cd0
push eax
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov ecx, eax
mov dword [ebx + 0x18], eax
call fcn.00406c31
test eax, eax
je 0x41ee48
mov eax, dword [ebp + 8]
mov dword [eax], edi
test esi, esi
js 0x4071c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x4071b5
push edi
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
jmp 0x4071b5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4071b3
movzx esi, si
or esi, 0x80070000
jmp 0x4071b1
Function at 0x41a3c0
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x43cd98
call fcn.0041a914
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x4415e4
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41a1c5
cmp eax, edi
jne 0x41a1d7
mov esi, ebx
cmp dword [0x4415e8], ebx
jne 0x41a1e4
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x41a213
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x41a1ae
cmp dword [0x4415e8], 0
jne 0x41a20d
mov dword [0x4415e8], ebx
push 0x401050
push 0x401044
call fcn.0041a364
pop ecx
pop ecx
test eax, eax
je 0x41a213
jmp 0x41a34d
mov dword [0x44128c], ebx
cmp dword [0x4415e8], ebx
jne 0x41a236
push 0x401040
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4415e8], 2
test esi, esi
jne 0x41a243
xor eax, eax
mov ecx, 0x4415e4
xchg dword [ecx], eax
cmp dword [0x4415f4], 0
je 0x41a271
push 0x4415f4
call fcn.0041a740
pop ecx
test eax, eax
je 0x41a271
push 0
push 2
push 0
mov esi, dword [0x4415f4]
mov ecx, esi
call dword [0x442374]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x41a34d
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x24]
movzx eax, word [ecx]
cmp ax, si
ja 0x41a2e1
test ax, ax
je 0x41a29a
test edx, edx
jne 0x41a2e1
movzx eax, word [ecx]
test ax, ax
je 0x41a2af
cmp ax, si
ja 0x41a2af
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x41a29a
test byte [ebp - 0x40], 1
je 0x41a2bb
movzx eax, word [ebp - 0x3c]
jmp 0x41a2be
push 0xa
pop eax
push eax
push ecx
push 0
push 0x400000
call main
mov dword [0x441288], eax
cmp dword [0x4412a0], 0
jne 0x41a329
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x41a2f2
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x24], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x41a289
cmp dword [0x44128c], 0
jne 0x41a33d
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x441288]
mov dword [ebp - 4], 0xfffffffe
jmp 0x41a359
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0041a95c
ret
call fcn.0041a848
jmp 0x41a178

Function at 0x41a61f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x43ce38
call fcn.0041adc8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41a67f
cmp eax, 0xffffffff
je 0x41a67f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41a678
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41a678
cmp edx, 0x10000000
jae 0x41a678
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41a675
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0041ae0d
ret 4