joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480c56
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, edi
je 0x480cad
push ebx
call fcn.004b5efe
mov esi, eax
pop ecx
cmp esi, edi
mov dword [ebp - 8], esi
je 0x480cad
push esi
push ebx
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x480ca6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x53c738
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x480cbb
push esi
call fcn.004b5e15
pop ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.00480c00
mov eax, dword [ebp + 8]
jmp 0x480d00
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x18]
push dword [ebp - 8]
movzx esi, word [eax + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
movzx ebx, word [eax + 0x10]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
shr ecx, 0x10
shr edx, 0x10
stosw word es:[edi], ax
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], bx
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], si
call fcn.004b5e15
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov edi, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49daf0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x49db64
lea eax, [ebp - 0x108]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x49db88
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004b646d
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004b91c0
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.004b4ed0
add esp, 0x24
test eax, eax
jne 0x49db88
cmp dword [ebp + 0xc], ebx
jne 0x49db68
mov al, 1
jmp 0x49dbcc
lea eax, [ebp - 0x108]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x49db88
push edi
call fcn.004b5efe
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x49db8c
xor al, al
jmp 0x49dbcc
push esi
push edi
lea eax, [ebp - 0x108]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x49dbc3
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x53c738
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x49dbc3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
sbb bl, bl
inc bl
push esi
call fcn.004b5e15
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49dc41
Capabilities:
Check os version

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 1
je 0x49dc7a
cmp eax, 2
je 0x49dc7a
cmp eax, 3
je 0x49dc6f
cmp eax, 4
je 0x49dc68
cmp eax, 5
je 0x49dc61
xor al, al
ret
call fcn.0049c8a7
jmp 0x49dc74
call fcn.0049c6ed
jmp 0x49dc74
call fcn.0049c7b1
test eax, eax
setne al
ret
mov al, 1
ret
Function at 0x4a2c4a
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4a2c57
mov al, 1
pop edi
ret
cmp edi, 2
jae 0x4a2c60
xor al, al
pop edi
ret
cmp byte [esp + 0x10], 0
push esi
je 0x4a2c71
mov esi, dword [esp + 0xc]
mov ax, word [esi]
jmp 0x4a2c8c
push 0
call fcn.004b90d3
push eax
call fcn.004b7b5b
pop ecx
pop ecx
call fcn.004b7b68
mov esi, dword [esp + 0xc]
mov word [esi], ax
inc esi
movzx eax, ax
inc esi
dec edi
push eax
dec edi
call fcn.004b7b5b
test edi, edi
pop ecx
je 0x4a2ca9
call fcn.004b7b68
xor byte [esi], al
inc esi
dec edi
jne 0x4a2c9e
pop esi
mov al, 1
pop edi
ret
Function at 0x4c0d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x54e870
cmp edx, dword [eax]
je 0x4c0d32
add eax, 8
inc ecx
cmp eax, 0x54e900
jl 0x4c0d23
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x54e870]
jne 0x4c0e60
mov eax, dword [0x55362c]
cmp eax, 1
je 0x4c0e3a
test eax, eax
jne 0x4c0d63
cmp dword [0x54bd24], 1
je 0x4c0e3a
cmp edx, 0xfc
je 0x4c0e60
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c0d9a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b91b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b85e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c0ddd
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b85e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x520fa8
push edi
call fcn.004b53f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b91b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b91c0
lea eax, [ebp - 0xa0]
push 0x53cd40
push eax
call fcn.004b91c0
push dword [esi + 0x54e874]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b91c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c797c
add esp, 0x2c
pop edi
jmp 0x4c0e60
lea eax, [ebp + 8]
lea esi, [esi + 0x54e874]
push 0
push eax
push dword [esi]
call fcn.004b85e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4ddd10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004b4fa0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4ddddb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ddddb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4ddd8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4ddd99
or bh, 8
and edi, 0x8000000
je 0x4dddb4
mov eax, dword [0x5553dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4ddddb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4de1b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4de1db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4de1ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4de21a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4e4a4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4e4a6e
cmp dword [edi + 0x3c], 0
jne 0x4e4a6e
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004fa7f5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004e4aad
pop edi
pop esi
pop ebx
ret 8

Function at 0x4e6b74
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e6bac
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e59f0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e59c8
jmp 0x4e6bb8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e8976
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e89b8
call fcn.004fa7f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e89b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e89af
xor eax, eax
jmp 0x4e89c0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e89c6
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f7a31
Capabilities:
Create http request

Disassembly:
mov eax, 0x50c83c
call fcn.004b865c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4f7a69
call fcn.004fa7f5
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4f7a8e
push eax
push dword [esi + 4]
call fcn.004f9ef4
jmp 0x4f7a9a
push esi
push eax
mov ecx, 0x553258
call fcn.004f7aab
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4f7f85
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x50c8eb
call fcn.004b865c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004ecc34
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x54a6a4]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.004e56d2
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004e56d2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

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

Disassembly:
mov eax, 0x50c913
call fcn.004b865c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004ecc34
mov eax, dword [0x54a6a4]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x553258
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004f7aab
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004e56d2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004a93ff
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004e5682
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004e5549
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x503016
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x503094
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x401d70
Capabilities:
Print debug messages

Disassembly:
push edi
xor edi, edi
cmp dword [0x415150], edi
je 0x401d86
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp dword [0x415148], edi
je 0x401d97
mov eax, 1
pop edi
ret 4
push esi
cmp dword [0x415150], edi
jne 0x401da9
call fcn.00401b60
test eax, eax
je 0x401deb
mov eax, dword [0x41517c]
mov esi, dword [0x414010]
test eax, eax
jne 0x401dd5
push str.ActivateActCtx
push 0x415174
push 0x40f3b8
call fcn.00401030
mov dword [0x41517c], eax
test eax, eax
je 0x401deb
mov ecx, dword [esp + 0xc]
push ecx
push esi
call eax
test eax, eax
je 0x401deb
pop esi
mov eax, 1
pop edi
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7f
je 0x401e00
cmp eax, 0x7e
je 0x401e00
cmp eax, 0x78
jne 0x401e0f
mov eax, 1
pop esi
mov dword [0x415148], eax
pop edi
ret 4
pop esi
mov eax, edi
pop edi
ret 4

Function at 0x402df0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 8], ecx
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
push esi
push edi
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
lea ebx, [ebp + ebp]
push ebx
mov esi, eax
push 0
push esi
call sub.MSVCR90.dll_memset
mov edi, dword [esp + 0x2c]
add esp, 0x10
push edi
push esi
call dword [sym.imp.kernel32.dll_lstrcpyW]
push ebx
push 0
push edi
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
add eax, 0x254
push eax
push ebp
push edi
push esi
push ecx
push str.labels
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x403260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40326f
pop dword [ebp - 0x34]
mov eax, 0x393c770f
add eax, 0xc703bb60
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3747b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x4aa8
mov edx, eax
mov edi, 0x419c00
add edi, dword [ebp - 0x34]
mov esi, 0x6beedab0
sub esi, 0xe490eb35
xor dword [ebp - 0x28], 0x31644229
mov ebx, dword [edi]
add ebx, esi
sub dword [ebp - 0x24], edi
mov dword [edx], ebx
sub dword [ebp - 0x10], 0x73826184
add edx, 0x286d07d7
sub edx, 0x286d07d3
add edi, 0x231cf51c
sub edi, 0x231cf518
loop 0x4032bd
add eax, 0xb468320
sub eax, 0xb4565ad
mov ebx, eax
add eax, 0x643569fd
sub eax, 0x643569f8
mov ecx, 0x92ba1997
add ecx, 0x6d85e669
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x99f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0099f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x99f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x99f06a
add dl, dl
jne 0x99f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x99f0dc
xor eax, eax
add dl, dl
jne 0x99f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x99f17d
add dl, dl
jne 0x99f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x99f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x99f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x99f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x99f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x99f075
mov eax, 1
add dl, dl
jne 0x99f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x99f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x99f0e1
sub eax, ebx
mov ebx, 1
jne 0x99f128
mov ecx, 1
add dl, dl
jne 0x99f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x99f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x99f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x99f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x99f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x99f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x99f136
cmp eax, 0x7d00
jae 0x99f16d
cmp eax, 0x500
jb 0x99f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x99f075
cmp eax, 0x7f
ja 0x99f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x99f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x99f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x99f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42061d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x420655
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x420643
mov al, 1
jmp 0x4206b4
cmp dword [ebx + 0x54], ecx
jne 0x42064c
mov al, 2
jmp 0x4206b4
cmp dword [ebx + 0x7c], ecx
jne 0x4206b4
mov al, 3
jmp 0x4206b4
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x42066a
mov al, 4
jmp 0x4206b4
cmp ecx, 5
jne 0x42068a
cmp ebx, 0
jne 0x420678
mov al, 5
jmp 0x4206b4
cmp ebx, 1
jne 0x420681
mov al, 6
jmp 0x4206b4
cmp ebx, 2
jne 0x42068a
mov al, 7
jmp 0x4206b4
cmp ecx, 6
jne 0x4206b2
cmp ebx, 0
jne 0x420698
mov al, 8
jmp 0x4206b4
cmp ebx, 1
jne 0x42069f
mov al, 9
cmp ebx, 2
jne 0x4206a6
mov al, 0xa
cmp ebx, 3
jne 0x4206ad
mov al, 0xb
cmp ebx, 4
jne 0x4206b4
mov al, 0xc
pop ebx
leave
ret

Function at 0x423143
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.00423185
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x423177
push ebx
call fcn.0048f0a3
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x42317f
mov esp, ebp
pop ebp
ret 8
Function at 0x423185
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0048f09d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0048f09d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x42320b
mov eax, 0
call fcn.0048f0a9
mov dword [ebp - 4], eax
jmp 0x423225
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 1
call fcn.0048f0a9
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x423239
mov eax, 0
jmp 0x42335e
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 8
push 2
mov ebx, 0x48f5a0
call fcn.0048f097
add esp, 0x1c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 4]
mov eax, 0x47
call fcn.0048f0a9
test eax, eax
je 0x423349
cmp dword [ebp + 0x14], 0
jne 0x4232a8
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x48
call fcn.0048f0a9
jmp 0x4232bf
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0
mov eax, 0x48
call fcn.0048f0a9
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
push 0
push 0
push 0x10
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x49
call fcn.0048f0a9
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
mov eax, 3
call fcn.0048f0a9
push dword [ebp - 4]
mov eax, 3
call fcn.0048f0a9
mov eax, dword [ebp - 0x14]
jmp 0x42335e
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0048f0a3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0048f0a3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10