joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4443a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x470bbc]
cmp byte [eax + 0xc], 0
je 0x444511
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44450a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471b90], 0
jne 0x4443f8
push 0x444518
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444520
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b90], eax
cmp dword [0x46fc54], 0
jne 0x4444f3
push 0x444530
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46fc54], eax
cmp dword [0x46fc54], 0
je 0x4444f3
push 0x44453c
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b94], eax
push 0x44454c
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b98], eax
push 0x444560
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b9c], eax
push 0x444578
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471ba0], eax
push 0x444590
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471ba4], eax
push 0x4445a4
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471ba8], eax
push 0x4445bc
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bac], eax
push 0x4445d4
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bb0], eax
push 0x4445f0
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bb4], eax
push 0x4445fc
mov eax, dword [0x46fc54]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444511
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448870
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.00403e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4488bf
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.004040bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fffc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45004c]
test si, 4
je 0x450010
or bl, 1
test si, 8
je 0x45001a
or bl, 4
test si, 1
je 0x450024
or bl, 8
test si, 2
je 0x45002e
or bl, 0x10
test si, 0x10
je 0x450038
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450047
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450088]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450069
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450078
or bl, 4
test esi, 0x20000000
je 0x450083
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456730
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456742
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041936c
mov eax, dword [0x47086c]
mov dword [eax + 4], ebx
mov dword [eax], 0x456ad4
mov eax, dword [0x470878]
mov dword [eax + 4], ebx
mov dword [eax], 0x456ae0
mov eax, ebx
call fcn.00456aec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
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, 0x452f08
push eax
push 0
push 0
mov eax, dword [0x4709c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41adf0]
call fcn.0041c564
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41adf0]
call fcn.0041c564
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41adf0]
call fcn.0041c564
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456f0c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456de8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456de8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456de8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45687f
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456bcc
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 0x456d77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456d58
mov dl, 1
mov eax, dword [0x411a68]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456d47
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.00444704
test al, al
je 0x456d3a
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, 0x456d88
lea eax, [ebp - 0x254]
call fcn.004089c4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456d3a
xor eax, eax
push ebp
push 0x456d33
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 0x456dc0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456d1c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
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 0x456d1c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d3a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456c3d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041555c
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 0x456d7e
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x471bdc]
cmp byte [eax + 0xa5], 0
jne 0x45771d
cmp dword [0x471bf4], 0
jne 0x4576de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457668
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bf4], eax
cmp dword [0x471bf0], 0
jne 0x4576f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bf0], eax
cmp dword [0x471bf8], 0
jne 0x45771d
push esp
push 0
push 0
push 0x45760c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471bf8], eax
pop edx
ret
Function at 0x457814
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45782b
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041936c
mov eax, dword [0x4709b4]
cmp word [eax + 2], 0
jne 0x457853
mov eax, dword [0x4709b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458eec
mov eax, dword [0x470a64]
cmp word [eax + 2], 0
jne 0x45786d
mov eax, dword [0x470a64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004590e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41164c]
call fcn.004030cc
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 [0x41b8d0]
call fcn.00423034
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4579f4
mov eax, dword [0x4708d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423404
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459684
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4708d8]
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.0040c094
test eax, eax
je 0x457962
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0bc
test eax, eax
je 0x457976
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.004040bc
mov eax, dword [0x4707b4]
cmp byte [eax], 0
jne 0x4579aa
mov eax, ebx
call fcn.00457b1c
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.00459860
mov eax, ebx
call fcn.0045a224
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4579ea
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457d9c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bdc]
cmp dword [eax + 0x30], 0
je 0x457e46
cmp dword [ebx + 0x94], 0
jne 0x457e40
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457d2c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457e40
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 0x457e06
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457e40
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.004139b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457e15
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4589a8
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 0x4589dd
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.00403f3c
jmp 0x4589ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459a3c
Capabilities:
Hide graphical window

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

Function at 0x45d144
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45d172
mov eax, ebx
call fcn.0045dbf8
cmp dword [ebx + 0x40], 0
je 0x45d16b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45d1e3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45d1d5
cmp dword [ebx + 8], 0
je 0x45d194
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 0x45d1a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45d1d5
cmp dword [ebx + 8], 0
je 0x45d187
cmp eax, 3
je 0x45d1b9
dec eax
jne 0x45d187
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 0x45d187
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45d187
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45d201
cmp dword [ebx + 0x14], 0xcc
je 0x45d201
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.0045d20c
pop ebx
ret
Function at 0x40b5ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8225f8]
jne 0x40b5d8
repz ret
jmp fcn.0040e04b

Function at 0x40cb03
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8225f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040818d
and dword [ebp - 0x14], 0
cmp dword [0x826718], 0
mov dword [ebp - 0x18], eax
jne 0x40cbb6
push 0x4023e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cc5e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023d8
push ebx
call edi
test eax, eax
je 0x40cc5e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4023c8
push ebx
mov dword [0x826718], eax
call edi
push eax
call esi
push 0x4023b4
push ebx
mov dword [0x82671c], eax
call edi
push eax
call esi
push 0x402398
push ebx
mov dword [0x826720], eax
call edi
push eax
call esi
mov dword [0x826728], eax
test eax, eax
je 0x40cbb6
push 0x402380
push ebx
call edi
push eax
call esi
mov dword [0x826724], eax
mov eax, dword [0x826724]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cc0f
cmp dword [0x826728], ecx
je 0x40cc0f
push eax
call esi
push dword [0x826728]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cc0f
test ebx, ebx
je 0x40cc0f
call edi
test eax, eax
je 0x40cc06
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cc06
test byte [ebp - 8], 1
jne 0x40cc0f
or dword [ebp + 0x10], 0x200000
jmp 0x40cc42
mov eax, dword [0x82671c]
cmp eax, dword [ebp - 0x18]
je 0x40cc42
push eax
call esi
test eax, eax
je 0x40cc42
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cc42
mov eax, dword [0x826720]
cmp eax, dword [ebp - 0x18]
je 0x40cc42
push eax
call esi
test eax, eax
je 0x40cc42
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x826718]
call esi
test eax, eax
je 0x40cc5e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cc60
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b5ce
leave
ret
Function at 0x809310
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1020
call fcn.0040e020
cmp dword [0x2975aa4], 0x37
jne 0x8093d8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403450
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
mov eax, dword [esp]
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push 0
lea ecx, [esp + 0x424]
push ecx
push 0x403460
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 4]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea edx, [esp + 8]
push edx
push 0x4034b8
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x20]
push eax
push 0
push 0x4034c0
push 0x4034d0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x403520
push 0x4035e0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ecx, dword [0x2975aa8]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x82b834]
mov byte [ecx + esi], al
add esp, 0x1020
ret

Function at 0x809400
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
mov edx, dword [0x823368]
push ebx
push ebp
mov ebp, dword [0x823364]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x823360]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x82336c]
push edi
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0x20
jmp 0x80944b
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x1c]
shl ecx, 4
add ecx, dword [esp + 0x20]
add eax, ebx
xor edx, ecx
xor edx, eax
sub esi, edx
mov ecx, esi
shl ecx, 4
mov dword [0x296ba54], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
cmp dword [0x2975aa4], 0x1be
lea edi, [ebx + esi]
jne 0x8094a0
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, ebp
xor eax, edi
xor dword [esp + 0x10], eax
mov dword [0x296ba58], 0xff6b3619
mov dword [0x296ba5c], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov eax, dword [0x2975aa4]
cmp eax, 0x93
je 0x8094db
add ebx, 0x61c88647
dec dword [esp + 0x18]
jne 0x809447
cmp eax, 0x8d4
jne 0x80950e
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x60
ret 4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x60
ret 4
Function at 0x809530
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x2975aa4]
shr eax, 3
push esi
mov esi, dword [0x82b834]
test eax, eax
je 0x809574
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x2975aa4], 0x1c
jne 0x809566
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.00809400
add esi, 8
dec edi
jne 0x809550
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x40688e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40689c
call 0x856684e
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x446630], eax
sub eax, eax
je 0x4068c1
call 0xa8cf50f6
invalid
call 0x401154
call 0x406651
pop edi
xor eax, eax
pop esi
ret

Function at 0x407515
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407554
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407554
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407554
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407554
cmp dword [ecx + 0x74], 0xe
jbe 0x407554
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5cfc149d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x578e5064
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219