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

Disassembly:
push 0xffffffffffffffff
push 0x4d9bc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00812350
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.008123d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.008123d0
lea ecx, [esi + 0xc]
call fcn.00829569
lea ecx, [esi + 0x10]
call fcn.00829569
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00813960
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00813960
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00813960
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.008295de
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.008295de
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401ac6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401b5a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401b15
cmp eax, 0x40
je 0x401b15
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401ab9
cmp eax, 0x40
je 0x401ab9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401ab9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x404090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push esi
push str.sound
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [esp + 0xc]
or ecx, 6
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
ret
Function at 0x40d770
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.00410a20
call fcn.0040fe80
push 0x188
call fcn.00411032
add esp, 8
test eax, eax
je 0x40d799
mov ecx, eax
call fcn.0040f9e0
jmp 0x40d79b
xor eax, eax
push 0x224
mov dword [0x42e3fc], eax
call fcn.00411032
add esp, 4
test eax, eax
je 0x40d7bc
push 0
mov ecx, eax
call fcn.0040d620
jmp 0x40d7be
xor eax, eax
push 0x258
push 0x320
push 0x45
push 0x70
push str.GameFrame
mov ecx, eax
mov dword [0x42e3f8], eax
call fcn.004061d0
mov ecx, dword [0x42e3f8]
push 1
call fcn.0040fd30
mov ecx, dword [0x42e3f8]
push 1
call fcn.0040fe40
mov ecx, dword [0x42e3f8]
mov edx, dword [ecx + 0x34]
push edx
call fcn.0040fe60
mov ecx, dword [0x42e3f8]
push 0
call fcn.00410760
call fcn.004106f0
push 0x42e268
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40d831
xor eax, eax
ret 0x10
push esi
mov dword [0x41f1cc], 0x42e404
call fcn.0040fea0
test al, al
je 0x40d87d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40d850
call fcn.0040d5c0
call fcn.004109f0
mov ecx, dword [0x42e3f8]
call fcn.00404800
mov ecx, dword [0x42e3f8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0xa
call esi
call fcn.0040fea0
test al, al
jne 0x40d850
mov ecx, dword [0x42e3f8]
test ecx, ecx
je 0x40d898
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [0x42e3f8], 0
mov ecx, dword [0x42e3fc]
test ecx, ecx
je 0x40d8bc
mov esi, ecx
call fcn.00404490
push esi
call fcn.0041102d
add esp, 4
mov dword [0x42e3fc], 0
call fcn.0040fe90
mov eax, 1
pop esi
ret 0x10
Function at 0x411bc9
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x41c668
call fcn.00411da0
mov edi, 0x94
mov eax, edi
call fcn.00411890
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x42e4a0], ecx
mov eax, dword [esi + 4]
mov dword [0x42e4ac], eax
mov edx, dword [esi + 8]
mov dword [0x42e4b0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x42e4a4], esi
cmp ecx, 2
je 0x411c29
or esi, 0x8000
mov dword [0x42e4a4], esi
shl eax, 8
add eax, edx
mov dword [0x42e4a8], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x411c64
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x411c64
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x411c7c
cmp eax, 0x20b
je 0x411c69
mov dword [ebp - 0x1c], esi
jmp 0x411c90
cmp dword [ecx + 0x84], 0xe
jbe 0x411c64
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x411c8a
cmp dword [ecx + 0x74], 0xe
jbe 0x411c64
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004142fc
pop ecx
test eax, eax
jne 0x411ca4
push 0x1c
call fcn.00411ba5
pop ecx
call fcn.00412b8d
test eax, eax
jne 0x411cb5
push 0x10
call fcn.00411ba5
pop ecx
call fcn.004159de
mov dword [ebp - 4], esi
call fcn.004157e0
test eax, eax
jge 0x411cce
push 0x1b
call fcn.00411b80
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x42fcf4], eax
call fcn.004156be
mov dword [0x42e47c], eax
call fcn.0041561c
test eax, eax
jge 0x411cf4
push 8
call fcn.00411b80
pop ecx
call fcn.004153e9
test eax, eax
jge 0x411d05
push 9
call fcn.00411b80
pop ecx
push 1
call fcn.00412ed3
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x411d1b
push eax
call fcn.00411b80
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0041538c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x411d3c
movzx eax, word [ebp - 0x40]
jmp 0x411d3f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040d770
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x411d5d
push edi
call fcn.00413000
call fcn.00413022
jmp 0x411d8f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00411ddb
ret
Function at 0x412f3d
Capabilities:
Terminate process

Disassembly:
push 8
push 0x41c960
call fcn.00411da0
push 8
call fcn.004144a0
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x42e4e0], esi
jne 0x412f71
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x42e4dc], esi
mov al, byte [ebp + 0x10]
mov byte [0x42e4d8], al
cmp dword [ebp + 0xc], edi
jne 0x412fbb
cmp dword [0x42fcec], edi
je 0x412fab
mov eax, dword [0x42fce8]
sub eax, 4
mov dword [0x42fce8], eax
cmp eax, dword [0x42fcec]
jb 0x412fab
mov eax, dword [eax]
cmp eax, edi
je 0x412f8c
call eax
jmp 0x412f8c
push 0x41f044
mov eax, 0x41f03c
call fcn.00412ebb
pop ecx
push 0x41f050
mov eax, 0x41f048
call fcn.00412ebb
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x412fec
cmp dword [ebp + 0x10], edi
jne 0x412ffa
mov dword [0x42e4e0], esi
push dword [ebp + 8]
call fcn.00412e79
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x412ff9
push 8
call fcn.004143eb
pop ecx
ret
call fcn.00411ddb
ret

Function at 0x415078
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x42d224]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x42d620]
je 0x4150ad
inc eax
cmp eax, 0x13
jb 0x41509e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x42d620]
jne 0x4151d3
mov eax, dword [0x42e484]
cmp eax, 1
je 0x4151ab
cmp eax, edx
jne 0x4150dd
cmp dword [0x42d264], 1
je 0x4151ab
cmp ecx, 0xfc
je 0x4151d3
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x415113
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00415da0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00415fd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x415147
mov eax, edi
push eax
call fcn.00415fd0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x41c6cc
push edi
call fcn.00415ea0
add esp, 0x10
push edi
call fcn.00415fd0
push dword [esi + 0x42d624]
mov ebx, eax
call fcn.00415fd0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00411890
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00415da0
push edi
push ebx
call fcn.00415db0
push 0x41c6c8
push ebx
call fcn.00415db0
push dword [esi + 0x42d624]
push ebx
call fcn.00415db0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00415ca7
add esp, 0x2c
jmp 0x4151d3
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x42d624]
push dword [esi]
call fcn.00415fd0
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00410cd8
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x415a66
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x415a94
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x415a9b
cmp ebx, dword [eax + 4]
jae 0x415a9b
xor eax, eax
jmp 0x415c8b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x415aac
xor eax, eax
inc eax
jmp 0x415c8a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x415ac2
cmp ecx, edx
jae 0x415c07
cmp dword [eax + 4], 0
je 0x415acb
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x415ab3
cmp dword [ebp + 8], 0
je 0x415aed
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x415c07
cmp eax, esi
jae 0x415c07
mov eax, dword [0x42e838]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x415b12
cmp dword [esi*4 + 0x42e840], edi
je 0x415c0b
inc esi
cmp esi, eax
jl 0x415b00
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x415c87
cmp dword [ebp - 8], 0x1000000
jne 0x415c87
test byte [ebp - 0xc], 0xcc
je 0x415b90
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x415c87
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x415c87
cmp word [eax + 0x18], 0x10b
jne 0x415c87
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x415c87
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x415b90
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x415b90
test byte [ecx + 0x27], 0x80
jne 0x415c07
push 1
push 0x42e880
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x415aa4
mov ecx, dword [0x42e838]
test ecx, ecx
mov edx, ecx
jle 0x415bc4
lea eax, [ecx*4 + 0x42e83c]
cmp dword [eax], edi
je 0x415bc4
dec edx
sub eax, 4
test edx, edx
jg 0x415bb8
test edx, edx
jne 0x415bf5
push 0xf
pop ebx
cmp ecx, ebx
jg 0x415bd1
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x415be9
lea eax, [edx*4 + 0x42e840]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x415bd7
cmp ecx, 0x10
jge 0x415bf5
inc ecx
mov dword [0x42e838], ecx
push 0
push 0x42e880
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x415aa4
xor eax, eax
jmp 0x415c8a
test esi, esi
jle 0x415aa4
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x42e880
call ebx
test eax, eax
jne 0x415aa4
cmp dword [esi*4 + 0x42e840], edi
je 0x415c61
mov eax, dword [0x42e838]
lea esi, [eax - 1]
test esi, esi
jl 0x415c4f
cmp dword [esi*4 + 0x42e840], edi
je 0x415c4b
dec esi
jns 0x415c3f
test esi, esi
jge 0x415c5f
cmp eax, 0x10
jge 0x415c5a
inc eax
mov dword [0x42e838], eax
lea esi, [eax - 1]
jmp 0x415c61
je 0x415c79
xor ecx, ecx
test esi, esi
jl 0x415c79
lea eax, [ecx*4 + 0x42e840]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x415c67
push 0
push 0x42e880
call ebx
jmp 0x415aa4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415ca7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x42e884], ebx
push esi
push edi
jne 0x415d27
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x415d62
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41d054
push edi
call esi
test eax, eax
mov dword [0x42e884], eax
je 0x415d62
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x42e888], eax
call esi
cmp dword [0x42e4a0], 2
mov dword [0x42e88c], eax
jne 0x415d27
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x42e894], eax
je 0x415d27
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x42e890], eax
mov eax, dword [0x42e890]
test eax, eax
je 0x415d6c
call eax
test eax, eax
je 0x415d53
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x42e894]
test eax, eax
je 0x415d53
test byte [ebp - 8], 1
jne 0x415d6c
cmp dword [0x42e4ac], 4
jb 0x415d66
or byte [ebp + 0x12], 0x20
jmp 0x415d8b
xor eax, eax
jmp 0x415d9b
or byte [ebp + 0x12], 4
jmp 0x415d8b
mov eax, dword [0x42e888]
test eax, eax
je 0x415d8b
call eax
mov ebx, eax
test ebx, ebx
je 0x415d8b
mov eax, dword [0x42e88c]
test eax, eax
je 0x415d8b
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x42e884]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4173e0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x42d224]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x417411
xor eax, eax
jmp 0x41759a
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x42fbc0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x41744d
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00419023
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x417528
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x417566
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x4174b1
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4174a2
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x417482
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4174f1
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x4174fa
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x417473
jmp 0x4174fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x417595
cmp dword [ebp - 0x6c], edi
je 0x417566
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x41755b
call fcn.00417f60
mov dword [eax], 9
call fcn.00417f69
mov dword [eax], esi
jmp 0x417590
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x417550
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x4174fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x4174fc
push dword [ebp - 0x6c]
call fcn.00417f72
pop ecx
jmp 0x417590
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x41757e
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x41757e
xor eax, eax
jmp 0x417598
call fcn.00417f60
mov dword [eax], 0x1c
call fcn.00417f69
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x417598
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00410cd8
add ebp, 0x3a0
leave
ret
Function at 0x4194b6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00411890
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x419551
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x42e4a0]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x419551
cmp eax, 1
je 0x419572
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x419551
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x41951e
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x41954d
xor eax, eax
inc eax
jmp 0x419591
cmp edi, eax
jae 0x419555
xor eax, eax
jmp 0x419591
cmp eax, esi
jae 0x41955c
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x42e4a0]
jmp 0x419575
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3f124625
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x11391d5c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40cede
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00449587
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00449587
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
push 0x10
call fcn.00449587
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x44ca90
call fcn.00449593
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x40cf9e
mov eax, 0
jmp 0x40d10a
cmp dword [ebp + 0xc], 0
jne 0x40cfca
mov dword [ebp - 0x1c], esp
mov eax, 9
call fcn.0044959f
cmp dword [ebp - 0x1c], esp
je 0x40cfc7
push 6
call fcn.00449599
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x40cff2
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cfec
push ebx
call fcn.0044958d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x3c
call fcn.0044959f
cmp dword [ebp - 0x1c], esp
je 0x40d01d
push 6
call fcn.00449599
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4fa085
mov eax, 0x3d
call fcn.0044959f
cmp dword [ebp - 0x1c], esp
je 0x40d049
push 6
call fcn.00449599
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x3e
call fcn.0044959f
cmp dword [ebp - 0x1c], esp
je 0x40d0dd
push 6
call fcn.00449599
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 2
call fcn.0044959f
cmp dword [ebp - 0x1c], esp
je 0x40d102
push 6
call fcn.00449599
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40d10a
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0044958d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0044958d
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0044958d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10