joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439450
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 0x43946c
cmp dword [esi + 4], 0
je 0x439499
test byte [ebx + 0x55], 1
jne 0x43948b
mov eax, ebx
call fcn.00437ff0
test eax, eax
jne 0x43948b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4395a9
mov edx, esi
mov eax, ebx
call fcn.00438f74
jmp 0x4395a9
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 0x4395a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b2c0
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.00435c78
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00439450
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.0043b2c0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4395a9
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 0x43fcec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46b2fc]
cmp byte [eax + 0xc], 0
je 0x43fe59
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43fe52
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46caf8], 0
jne 0x43fd40
push 0x43fe60
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43fe68
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46caf8], eax
cmp dword [0x46ab84], 0
jne 0x43fe3b
push 0x43fe78
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ab84], eax
cmp dword [0x46ab84], 0
je 0x43fe3b
push 0x43fe84
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cafc], eax
push 0x43fe94
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb00], eax
push 0x43fea8
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb04], eax
push 0x43fec0
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb08], eax
push 0x43fed8
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb0c], eax
push 0x43feec
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb10], eax
push 0x43ff04
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb14], eax
push 0x43ff1c
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb18], eax
push 0x43ff38
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb1c], eax
push 0x43ff44
mov eax, dword [0x46ab84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fe59
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4441e0
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.00404290
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44422f
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.00404500
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c344
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c394]
test si, 4
je 0x44c358
or bl, 1
test si, 8
je 0x44c362
or bl, 4
test si, 1
je 0x44c36c
or bl, 8
test si, 2
je 0x44c376
or bl, 0x10
test si, 0x10
je 0x44c380
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c38f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c398
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c3d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c3b1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c3c0
or bl, 4
test esi, 0x20000000
je 0x44c3cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452b8c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452b9e
add esp, 0xfffffff0
call fcn.0040383c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a4fc
mov eax, dword [0x46af94]
mov dword [eax + 4], ebx
mov dword [eax], 0x452f30
mov eax, dword [0x46afa0]
mov dword [eax + 4], ebx
mov dword [eax], 0x452f3c
mov eax, ebx
call fcn.00452f48
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411db0]
call fcn.004034d4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411db0]
call fcn.004034d4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411db0]
call fcn.004034d4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411db0]
call fcn.004034d4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411db0]
call fcn.004034d4
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, 0x44f360
push eax
push 0
push 0
mov eax, dword [0x46b0fc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.0041d76c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.0041d76c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.0041d76c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453398
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453260
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453260
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453260
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452cdb
call fcn.00403894
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453044
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 0x4531ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4531d0
mov dl, 1
mov eax, dword [0x412358]
call fcn.004034d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404290
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4531bf
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.0044004c
test al, al
je 0x4531b2
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, 0x453200
lea eax, [ebp - 0x254]
call fcn.00409108
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4531b2
xor eax, eax
push ebp
push 0x4531ab
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 0x453238
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453194
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404500
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 0x453194
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4530b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416694
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 0x4531f6
lea eax, [ebp - 0x260]
call fcn.00404290
ret

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

Disassembly:
push ecx
mov eax, dword [0x46cb44]
cmp byte [eax + 0xa5], 0
jne 0x453ba9
cmp dword [0x46cb5c], 0
jne 0x453b6a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453af4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cb5c], eax
cmp dword [0x46cb58], 0
jne 0x453b85
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cb58], eax
cmp dword [0x46cb60], 0
jne 0x453ba9
push esp
push 0
push 0
push 0x453a98
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46cb60], eax
pop edx
ret
Function at 0x45423c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cb44]
cmp dword [eax + 0x30], 0
je 0x4542e6
cmp dword [ebx + 0x94], 0
jne 0x4542e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4541cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4542e0
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 0x4542a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4542e0
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.004142b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4542b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454e44
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 0x454e79
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.00404380
jmp 0x454e86
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455fb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455ff1
mov eax, esi
call fcn.0043b5c4
test al, al
je 0x455ff1
mov eax, dword [ebx + 0x84]
call fcn.0043b2c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455ff1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b2c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4600e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x468f54
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
je 0x46910a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
cmp dword [eax + 0xc], 0
je 0x46910a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x180], 0
jne 0x46910a
mov eax, dword [ebp - 4]
mov byte [eax + 0x180], 1
xor eax, eax
push ebp
push 0x469103
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4579c8]
call fcn.00457b28
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, esi
call fcn.00458030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov dl, 0xff
call fcn.00457b04
mov edx, eax
mov eax, esi
call fcn.004581f0
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x184]
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x46900e
lea ecx, [ebp - 0x14]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00468ecc
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
call fcn.0045869c
mov dl, 1
mov eax, dword [0x4579c8]
call fcn.00457b28
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, ebx
call fcn.00458030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov dl, 0xff
call fcn.00457b04
mov edx, eax
mov eax, ebx
call fcn.004581f0
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x168]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00468ecc
lea ecx, [ebp - 0x14]
mov edx, dword [edi + 0xc]
mov eax, ebx
call fcn.0045869c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov edx, esi
call fcn.004683fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov edx, ebx
call fcn.004683e8
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x160]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
xor ecx, ecx
call fcn.0046810c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
xor edx, edx
call fcn.004683fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
xor edx, edx
call fcn.004683e8
mov eax, esi
call fcn.00403504
mov eax, ebx
call fcn.00403504
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x168]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46910a
mov eax, dword [ebp - 4]
mov byte [eax + 0x180], 0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x417072
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417068
mov eax, 1
add ebx, ebx
jne 0x41708b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417080
jne 0x41709c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417080
xor ecx, ecx
sub eax, 3
jb 0x4170b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417122
mov ebp, eax
add ebx, ebx
jne 0x4170bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4170c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4170ec
inc ecx
add ebx, ebx
jne 0x4170d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4170cd
jne 0x4170e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4170cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41710c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4170fd
jmp 0x41706e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41710c
add edi, ecx
jmp 0x41706e
pop esi
mov edi, esi
mov ecx, 0xb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41712a
cmp byte [edi], 2
jne 0x41712a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41712f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4171a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f968]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f9a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41715c
mov ecx, edi
jns 0x41718b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f9a8]
or eax, eax
je 0x4171a1
mov dword [ebx], eax
add ebx, 4
jmp 0x417179
call dword [esi + 0x1f9b8]
mov ebp, dword [esi + 0x1f9ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4171db
sub esp, 0xffffff80
jmp 0x401294
Function at 0x420590
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x420596
ret

Function at 0x44b411
Capabilities:
Encode data using xor

Disassembly:
rcl byte [ebp - 0x75], 0xec
dec eax
pop ds
add byte [eax], al
add bl, ch
sbb esp, dword [esi - 0x7d]
cli
and byte [ebp + 0x68], dh
dec ecx
add byte [edx], bl
inc ebp
salc
xor ebp, eax
mov esi, dword [ebp - 0x20]
sub eax, esi
sub eax, ebx
in al, dx
dec eax
jge 0x44b418
push edi
mov eax, esi
add eax, ebx
in al, dx
dec eax
pop ds
add byte [eax], al
add byte [eax + 0x1b], bl
sub word [eax + 0x49], 0
pop edx
add byte [ebx - 0x38d4132d], cl
sub eax, ebx
in al, dx
inc ebp
salc
mov dword [ebx], 0x1f48ecc3
call 0x49317788
pop ds
add byte [eax], al
add byte [eax + 0x1b], bl
sub word [eax + 0x49], 0
pop edx
add byte [ebp - 0x2a], al
xor ebp, eax
sub eax, dword [ebp - 0x20]
sub eax, ebx
push eax
mov edx, ebx
in al, dx
sub eax, ebx
push eax
push esi
dec eax
pop ds
add byte [eax], al
add byte [eax + 0x1b], bl
sub word [eax + 0x49], 0
pop edx
add byte [ebx + 0x452becd3], cl
in al, 0x2b
ret
Function at 0x405f40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax - 4]
add edx, 0xffffffae
mov dword [eax], edx
pop es
xor byte [edx - 0x2d7bb9ea], cl
mov dword [eax], esi
jne 0x405eeb
mov ebp, dword [ebp + 0x4c0830c]
pop ebx
mov dword [ebp + 0xc], edx
jne 0x405ee3
mov ebx, esp
or byte [ecx + 4], ah
pop dword [eax]
add byte [eax], al
add byte [ecx - 0x3c74a0c8], cl
pop esi
push ss
mov esp, ebp
pop ebp
movsb byte es:[edi], byte [esi]
nop
mov eax, 0xc4909034
nop
nop
nop
xor dword [ebp - 0x7d], edx
push edx
call fcn.0040a720
sbb dword [ebp + 0x37], 0xffffff85
jno 0x405ee9
aas
add byte [eax], 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_TlsAlloc
mov dword [0x7c0954], eax
call fcn.00404940
test eax, eax
jne 0x405fdb
push eax
push eax
push eax
invalid
pop ecx
pop es
pop ebp
ret

Function at 0x406b10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4799
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
jge 0x406b2e
mov ecx, esi
mov eax, edi
push 0xffffffffffffffab
add eax, 0x48864060
push 0x73
xor edx, ecx
cld
jae 0x406b63
sar esp, 1
pop esi
sub dword [eax], eax
push ecx
jp 0x406b20
add al, 0x4a
add byte [eax], al
mov dword [ebp - 0x14], eax
mov eax, edx
sar eax, 0x1f
mov eax, dword [0x144108dc]
test byte [ebp - 0x10], dl
cmp eax, 0x14
invalid
fmul qword [ebp + 0x5052ec45]
call dword [0xa0c07c]
mov eax, dword [ebp - 4]
lea edi, [0xdc558dcc]
push ecx
push edx
mov bh, bh
mov eax, 0x40c05b
mov ebx, dword [ebp + 8]
lea edi, [ecx - 0x34]
in eax, dx
push ebx
call 0x1f6a83
adc al, ah
or byte [edx], ch
fild word [eax + 0x42]
lldt word [esi + 0x57]
out 0xb1, eax
dec ebx
add byte [eax], al
adc eax, 0xf4558d03
lea ecx, [ebx]
int3
Function at 0x406ff5
Capabilities:
Encode data using xor

Disassembly:
rol dword [eax], 0x89
inc ebp
out 0x8d, eax
pop es
clc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x24]
in al, 0xdb
in al, dx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp dword [ecx], ebx
je 0xc6b3c6
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0x1c]
ja 0x407099
push edx
call fcn.00404a60
mov edi, eax
xor eax, eax
mov esi, edi
mov ecx, 0x3c00258a
out 0x2f, al
inc ebp
sbb al, 0x8b
dec ebp
or al, 0x5a
jge 0x40703e
mov dword [esi], eax
mov edx, dword [ecx + 0xc]
mov eax, dword [edi + edx]
push es
push ebp
adc al, 0x52
push 2
mov ecx, dword [eax]
push esi
mov dword [esi + 0x2c], ecx
sahf
jne 0x40700a
cmc
inc dword [ebx - 0x247af33c]
jne 0x4070a5
mov eax, dword [ebp - 0xc]
test dword [ecx], ebx
mov al, byte [0x4574500d]
sbb al, 0x50
call 0x45405850
stc
inc esi
add al, 0x8b
dec ebp
or byte [ecx + 0x5631eb31], cl
push dword [esp + ebp*4 + 0x3b00404b]
add byte [ebx], bh
add ecx, dword [ecx - 0x7a111c64]
mov esi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
scasd eax, dword es:[edi]
sahf
test dword [esi - 0x2900d08c], ebx
pop edi
pop esi
or eax, dword [eax + 0x5b000add]
mov edi, dword [esi + 0x68]
ret
inc edx
push ebx
add al, 0x64
push esi
add al, 0x89
jae 0x4070d2
mov eax, dword [ebp + 0xc]
add edi, 4
mov esp, dword [ebx - 0x74038277]
dec eax
or al, 0xcd
cmp al, 0xf
add byte [edi], cl
pop ebx
leave
invalid
in al, dx
sub esp, 0xb70254
mov ecx, dword [ebp - 0x28]
push ebx
push esi
fcom dword [ebx + 0x56]
xor eax, dword [eax]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
cmp al, 0x89
jne 0x4070db
mov dword [ebp - 0x14], esi
mov al, byte [eax]
mov dword [ebp - 4], esi
test byte [esi - 0x77], ah
loopne 0x407083
jne 0x4070ec
mov dword [ebp - 0x12], esi
mov edi, esp
ljmp 0

Function at 0x40b7db
Capabilities:
Encode data using xor

Disassembly:
call fcn.0040b6c3
sub ecx, ecx
sub ecx, 0xffffff88
call 0x40b7db
rcr byte [esi - 0x7f], 0x76
push cs
popfd
retf