joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d85d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0041d848
or eax, 0xffffffff
mov dword [esi], 0x4edd4c
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
xor edx, edx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x23c], 4
mov dword [esi + 0x238], edx
lea edi, [esi + 0x150]
mov ecx, 0x3a
rep stosd dword es:[edi], eax
push edx
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.00485420
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x493460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9618
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x28]
push ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.00424516
mov eax, dword [esp + 0x58]
cmp eax, 1
je 0x4934c8
cmp eax, 3
mov dword [esp + 0x58], 0
jne 0x4934d0
mov dword [esp + 0x58], 1
push 0xa
lea ecx, [esp + 0x28]
call fcn.0045baf0
mov edi, dword [ebx + 0x4c]
test edi, edi
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x48], 0
je 0x493535
mov edi, edi
mov eax, edi
mov esi, dword [eax + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov edi, dword [edi]
mov ecx, esi
call eax
test eax, eax
jne 0x493531
cmp esi, ebp
je 0x493531
push esi
lea ecx, [esp + 0x28]
call fcn.00492c60
cmp esi, dword [esp + 0x5c]
jne 0x493531
cmp dword [esp + 0x58], 0
push ebp
lea ecx, [esp + 0x28]
push eax
je 0x49352c
call fcn.00492c10
jmp 0x493531
call fcn.00492bc0
test edi, edi
jne 0x4934f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x80]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x38]
push eax
push ecx
push esi
call fcn.004925f0
add esp, 0x20
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call fcn.0045bb20
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10
Function at 0x4935a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9648
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
cmp eax, 1
je 0x4935d8
cmp eax, 3
je 0x4935d8
xor esi, esi
jmp 0x4935dd
mov esi, 1
test eax, eax
je 0x4935ea
cmp eax, 1
je 0x4935ea
xor ebx, ebx
jmp 0x4935ef
mov ebx, 1
push 0xa
lea ecx, [esp + 0x24]
call fcn.0045baf0
mov edi, dword [esp + 0x50]
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0
call fcn.00492c60
test esi, esi
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x20]
push esi
je 0x493624
call fcn.00492c60
jmp 0x493629
call fcn.00492b90
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0048f840
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x34]
push eax
push ebx
push esi
call fcn.004925f0
add esp, 0x20
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
call fcn.0045bb20
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret

Function at 0x493a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d96b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x4e4798
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov esi, dword [sym.imp.gdi32.dll_CreateRectRgnIndirect]
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x38], 1
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.00424989
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
push 0xfffffffffffffffc
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
push 0xfffffffffffffffc
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.user32.dll_InflateRect]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.user32.dll_IntersectRect]
lea eax, [esp + 0x1c]
push eax
call esi
push eax
lea ecx, [esp + 0x10]
call fcn.00424989
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.gdi32.dll_CreateRectRgn]
mov esi, dword [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00424989
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push 3
push ecx
push edx
push eax
call dword [sym.imp.gdi32.dll_CombineRgn]
mov esi, 0x4e2d94
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
mov dword [esp + 0xc], esi
call fcn.004249dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x14], esi
call fcn.004249dc
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret 0x14
Function at 0x4940f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9788
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x4e2fb0
mov dword [esp + 0x70], ebx
call fcn.0041cd37
movzx ecx, word [esp + 0x7c]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [0x5210b0]
push eax
lea ecx, [esp + 0x24]
call fcn.00424989
mov esi, dword [esp + 0x80]
mov edi, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
sub ebp, dword [esi + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x4e2fb0
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + 4]
push edi
push ebp
push edx
mov byte [esp + 0x7c], 1
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.00424989
cmp dword [esp + 0x1c], 0
je 0x4941f6
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x5c]
call fcn.00469b10
lea ecx, [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 2
call fcn.00469b10
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x44]
push 0xcc0020
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push edi
push ebp
push 0
push 0
push eax
call dword [sym.imp.gdi32.dll_BitBlt]
lea ecx, [esp + 0x40]
call fcn.00469ba0
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 1
call fcn.00469ba0
xor eax, eax
cmp dword [esp + 0x84], eax
jne 0x49420d
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x28]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x40]
push edx
push ebx
call fcn.00494020
mov esi, 0x4e2d94
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
mov dword [esp + 0x18], esi
call fcn.004249dc
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x20], esi
call fcn.004249dc
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10
Function at 0x494eb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9938
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push 0xa
lea ecx, [esp + 0x18]
call fcn.0045baf0
mov ecx, dword [edi + 0x10c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x40], 0
call eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x494f3a
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov eax, esi
mov eax, dword [eax + 8]
test eax, eax
mov esi, dword [esi]
je 0x494f20
add eax, 0xffffffe0
jmp 0x494f22
xor eax, eax
mov ecx, dword [edi + 0x108]
push ebx
push ebp
push eax
push 4
call fcn.0045b3c0
test eax, eax
jne 0x494f66
test esi, esi
jne 0x494f10
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045bb20
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045bb20
xor eax, eax
jmp 0x494f50

Function at 0x497240
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4971d0
push 0
mov esi, ecx
push 0
mov dword [esi], 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi + 8], eax
je 0x49727c
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.kernel32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x499cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9dd8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push 1
push eax
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
push esi
mov dword [esp + 0x28], 0
call fcn.0040b760
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 4
add eax, 0x10
push ecx
mov dword [ebx], eax
mov ecx, dword [edi + 0x94]
push edx
call fcn.004839e0
mov dword [esp + 0x18], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x499d46
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x49e090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da220
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x517050]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov eax, 0xaa
mov ebp, ecx
mov ecx, 0x55
xor ebx, ebx
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], ax
mov word [esp + 0x30], cx
mov word [esp + 0x32], ax
mov word [esp + 0x34], cx
mov word [esp + 0x36], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3a], ax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x4e2fb0
lea eax, [esp + 0x2c]
push eax
push 1
push 1
push 8
push 8
mov dword [esp + 0x5c], ebx
call dword [sym.imp.gdi32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.00424989
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x4e2fa0
mov ecx, dword [esp + 0x24]
push ecx
mov byte [esp + 0x4c], 1
call dword [sym.imp.gdi32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x1c]
call fcn.00424989
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00424aaa
mov ebx, eax
mov eax, dword [esi]
push 0xf
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.00465b00
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
push 0x14
mov ecx, ebp
mov dword [esp + 0x2c], eax
call fcn.00465b00
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push 0xf00021
sub eax, ecx
push eax
sub edi, edx
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call dword [sym.imp.gdi32.dll_PatBlt]
push ebx
mov ecx, esi
call fcn.00424aaa
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebp
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
call fcn.004249dc
mov esi, 0x4e2d94
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
mov dword [esp + 0x18], esi
call fcn.004249dc
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], esi
call fcn.004249dc
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0043d16a
add esp, 0x38
ret 8
Function at 0x4a9390
Capabilities:
Open clipboard

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x5c], 0
je 0x4a93a8
call fcn.00425d38
test eax, 0x800
je 0x4a93c2
mov eax, dword [esi]
mov edx, dword [eax + 0x110]
push 0
push 0
push 0x302
mov ecx, esi
call edx
pop esi
add esp, 8
ret
push ebp
lea eax, [esi + 0x58]
push eax
mov eax, dword [esi + 0x20]
lea ebp, [esi + 0x54]
push ebp
push 0xb0
push eax
call dword [fcn.005210f8]
mov ecx, esi
call fcn.004a9020
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4a94c2
push ebx
push edi
push 1
xor ebx, ebx
call dword [0x521064]
mov edi, eax
test edi, edi
je 0x4a9419
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4a9419
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
mov ebp, dword [ebp]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9427
sub eax, edx
sar eax, 1
xor edi, edi
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4a9485
movzx edx, word [ebx + edi*2]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x138]
push ecx
mov ecx, esi
call edx
test al, al
je 0x4a947c
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x148]
push ecx
push ebp
mov ecx, esi
call edx
mov eax, dword [esi + 0x74]
add ebp, 1
cmp ebp, dword [eax - 0xc]
je 0x4a9485
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x4a9440
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
mov byte [esi + 0x5e], 0
mov byte [esi + 0x5f], 1
call fcn.00425dc0
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x20]
mov edi, dword [fcn.005210f8]
push eax
push eax
push 0xb1
push edx
mov dword [esi + 0x58], eax
call edi
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call edi
pop edi
pop ebx
pop ebp
pop esi
add esp, 8
ret
Function at 0x4aa9f0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5c], 0
je 0x4aaa05
call fcn.00425d38
test eax, 0x800
je 0x4aaa15
mov eax, dword [esp + 8]
push eax
mov ecx, esi
call fcn.0041e5ac
pop esi
ret 4
push ebx
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 4], 0x100
jne case.0x4aaa67.68
mov ebx, dword [sym.imp.user32.dll_GetKeyState]
push 0x6d
call ebx
test ax, ax
jl 0x4aaac0
push 0x6b
call ebx
test ax, ax
jl 0x4aaad8
push 0x11
call ebx
test ax, ax
mov eax, dword [edi + 8]
jge 0x4aaab6
add eax, 0xffffffbd
cmp eax, 0x37
ja case.0x4aaa67.68
movzx ecx, byte [eax + 0x4aab14]
jmp dword [ecx*4 + 0x4aab00]
mov ecx, esi
call fcn.004aa960
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.004a9b80
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.004a9390
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.004a8750
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
sub eax, 0x2b
je 0x4aaad8
sub eax, 2
jne case.0x4aaa67.68
push 1
push 1
push 0x2d
mov ecx, esi
call fcn.004aa560
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push 1
push 1
push 0x2b
mov ecx, esi
call fcn.004aa560
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push edi
mov ecx, esi
call fcn.0041e5ac
pop edi
pop ebx
pop esi
ret 4
Function at 0x4ca337
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x517050]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004ca2cc
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043edc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4ca386
cmp dword [ebp - 0x1c], 5
jb 0x4ca39e
jmp 0x4ca39a
cmp dword [ebp - 0x10], 1
jne 0x4ca39e
cmp dword [ebp - 0x1c], 4
ja 0x4ca39a
jne 0x4ca39e
cmp dword [ebp - 0x18], 0
jbe 0x4ca39e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4f3374
call fcn.004ca1a0
test eax, eax
jge 0x4ca3bf
mov byte [0x5326f4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043d16a
add ebp, 0x78
leave
ret
Function at 0x57a000
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4de541
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x517050]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x24]
call fcn.0041b9ac
push 0
push 0x40
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x14c], 0
call fcn.0041bf61
test eax, eax
lea ecx, [esp + 0x24]
jne 0x57a07e
mov dword [esp + 0x140], 0xffffffff
call fcn.0041bb6c
xor eax, eax
jmp 0x57a34b
mov esi, dword [0x5302e4]
neg esi
push 0
sbb esi, esi
push 0
and esi, 0xe
push 0
add esi, 0x3a8
call fcn.0041b720
jmp 0x57a13a
push 0x3000
call fcn.0041b40f
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0x140], 1
push 0xf00
push edi
lea ecx, [esp + 0x2c]
call fcn.0041b695
mov eax, dword [esp + 0x18]
jmp 0x57a19a
xor ebp, ebp
cmp dword [0x51b980], ebp
jbe 0x57a1d8
mov ebx, 0x5282b0
lea esp, [esp]
mov ebp, 0x68
jmp 0x57a48d
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ebp, 1
add edi, 0x19
add ebx, 0x22
cmp ebp, 0xff
jb 0x57a1b5
jmp 0x57a314
add dh, al
test byte [esp + eax*2], ah
add dword [eax], eax
add byte [eax], al
call fcn.0041b414
add esp, 4
jmp 0x57a359
mov edi, dword [esp + 0x1c]
push edi
mov byte [esp + 0x144], 0
call fcn.0041b414
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0041b94a
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0xffffffff
call fcn.0041bb6c
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0043d16a
add esp, 0x130
ret
push ecx
cmp ebp, 0xa
jge 0x57a4a9
mov ecx, ebp
mov word [ebx], cx
add word [ebx], 0x30
mov word [ebx + 2], 0x3a
add ebx, 4
push 4
jmp 0x57a517
cmp ebp, 0x64
jge 0x57a4d9
push eax
push edx
mov eax, ebp
mov ecx, 0xa
div cl
nop
mov byte [ebx], al
nop
add word [ebx], 0x30
mov byte [ebx + 2], ah
nop
add word [ebx + 2], 0x30
mov word [ebx + 4], 0x3a
add ebx, 6
pop edx
pop eax
push 6
jmp 0x57a517
push eax
push edx
mov eax, ebp
mov ecx, 0x64
div cl
nop
mov byte [ebx], al
nop
add word [ebx], 0x30
mov al, ah
mov ah, 0
mov ecx, 0xa
div cl
nop
mov byte [ebx + 2], al
nop
add word [ebx + 2], 0x30
mov byte [ebx + 4], ah
nop
add word [ebx + 4], 0x30
mov word [ebx + 6], 0x3a
add ebx, 8
pop edx
pop eax
push 8
push 0x10
push ebx
push 0xffffffffffffffff
push edi
push 0
push esi
mov byte [edi + 0x10], 0
call dword [fcn.00520fbc]
pop ecx
sub ebx, ecx
pop ecx
jmp 0x57a1ba
Function at 0x49eb90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x46402e
lea edi, [esi - 0x6302e]
mov dword [edi + 0x836a8], 0x37e25ea5
push edi
or ebp, 0xffffffff
jmp 0x49ebba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49ebc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ebb0
mov eax, 1
add ebx, ebx
jne 0x49ebd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49ebe4
jne 0x49ebf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ebf4
dec eax
add ebx, ebx
jne 0x49ebf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49ebc8
xor ecx, ecx
sub eax, 3
jb 0x49ec0c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49ec7e
sar eax, 1
mov ebp, eax
jmp 0x49ec17
add ebx, ebx
jne 0x49ec17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49ec24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49ec48
inc ecx
add ebx, ebx
jne 0x49ec34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49ec29
jne 0x49ec45
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49ec29
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49ec68
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49ec59
jmp 0x49ebb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49ec68
add edi, ecx
jmp 0x49ebb6
pop esi
mov edi, esi
mov ecx, 0x38a1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49ec86
cmp byte [edi], 0x1b
jne 0x49ec86
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 eax, ebx
loop 0x49ec8b
lea edi, [esi + 0x9b000]
mov eax, dword [edi]
or eax, eax
je 0x49ed03
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9e9e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9eaa8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49ecb8
mov ecx, edi
jns 0x49ece7
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 + 0x9eaac]
or eax, eax
je 0x49ecfd
mov dword [ebx], eax
add ebx, 4
jmp 0x49ecd5
call dword [esi + 0x9eab0]
popal
jmp 0x401320

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx