joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ddc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4158f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41c038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
test eax, eax
je 0x40de06
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
push 0x2c
mov word [ebx + 4], 0
mov dword [ebp - 0x14], 0
call fcn.00412c9d
mov esi, eax
lea ecx, [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi], 0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0xc
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0
call fcn.00402430
call fcn.00402170
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00402250
mov ecx, str.Advapi32.dll
call fcn.00402220
push eax
push str.Advapi32.dll
lea ecx, [ebp - 0x34]
call fcn.004034c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.0040cb40
mov ecx, eax
call fcn.0040cc00
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402030
sub esp, 8
lea ecx, [ebp - 0x14]
push edi
call fcn.0040ea70
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [ebp - 4], 1
cmp dword [esi], 0
je 0x40ded2
lea edi, [esi + 8]
jmp 0x40ded4
xor edi, edi
mov ecx, dword [ebp - 0x1c]
call fcn.00402170
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40deea
call fcn.00401fa0
jmp 0x40deec
xor eax, eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
test eax, eax
je 0x40df0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40df0d
mov byte [ebx + 5], 1
cmp dword [ebx], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40df36
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40df4b
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.00412ccd
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412c8c
mov esp, ebp
pop ebp
ret 4
Function at 0x40ea70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x41a4f0
push 0x4139db
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41c038]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x40ead9
xor eax, eax
jmp 0x40ec4f
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec1a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x40ec1a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec1a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x40ec1a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec1a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x40ec1a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec1a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x40ec1a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec1a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x40ec1a
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40ec1a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40ec03
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x40ebf0
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x40ec00
jmp 0x40ec1a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0040ec76
test ebx, ebx
jne 0x40ec4d
test esi, esi
je 0x40ec3f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40ec4d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00412c8c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ffb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x41c938], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x41c638], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x41c838], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x41c738], al
inc esi
cmp esi, 0x100
jl 0x4100c0
pop esi
add esp, 0x80
ret
Function at 0x401be0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40802c
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x408024]
sub esp, 4
test ebx, ebx
je 0x401c2b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401c24
test esi, esi
je 0x401c24
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c00
mov dword [esp], 0x40802c
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e10
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x401e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401f34
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401e9e
cmp eax, 4
jne 0x401ec0
test esi, esi
je 0x401eb2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401ea4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401eff
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401ef1
cmp ecx, 0x40
je 0x401eb2
cmp ecx, 4
je 0x401eb2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e10
lea esi, [esi]
Function at 0x546224
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00545ee4
Function at 0x402560
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408214
call sym._EnterCriticalSection_4
mov ebx, dword [0x40820c]
sub esp, 4
test ebx, ebx
je 0x4025ab
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4025a4
test esi, esi
je 0x4025a4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402580
mov dword [esp], 0x408214
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402790
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4027e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
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 0x4028b4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40281e
cmp eax, 4
jne 0x402840
test esi, esi
je 0x402832
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x402824
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40287f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x402871
cmp ecx, 0x40
je 0x402832
cmp ecx, 4
je 0x402832
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402790
lea esi, [esi]
Function at 0x4cb795
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x549689
call fcn.00528c47
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call main
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x552bc8
call main
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x55a858
lea ecx, [ebp - 0x4d0]
call main
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x554a24
lea ecx, [ebp - 0x4d0]
call main
cmp eax, 0xffffffff
jne 0x4cb849
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call main
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
jne 0x4cb825
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401fd0
jmp 0x4cb878
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call main
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401fd0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4cb86f
mov ebx, dword [ebp - 0x4cc]
jmp 0x4cb878
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401fd0
mov eax, ebx
call fcn.00528bf6
ret

Function at 0x526434
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x59c7e0
call fcn.00528f70
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x5262eb
xor ebx, ebx
jmp 0x52631e
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x5262e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x5262e7
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x52631e
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.0052d8fc
test eax, eax
jne 0x526332
push 0x1c
call main
pop ecx
call fcn.0052d869
test eax, eax
jne 0x526343
push 0x10
call main
pop ecx
call fcn.0052e1e7
and dword [ebp - 4], 0
call fcn.0052d911
test eax, eax
jns 0x52635d
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x5ae9bc], eax
call main
mov dword [0x5ac8f0], eax
call main
test eax, eax
jns 0x526383
push 8
call main
pop ecx
call fcn.0052de02
test eax, eax
jns 0x526394
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x5263a7
push eax
call main
pop ecx
call fcn.0052e680
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x5263c9
push esi
call main
call fcn.00528021
jmp 0x5263fe
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00528fb5
ret
call main
jmp 0x5262bd
Function at 0x53b556
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x53b565
pop dword [ebp - 0x44]
mov eax, 0x53b565
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x90719
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x1479868a
sub ecx, 0x14793a67
xor edx, edx
add edx, eax
mov ebx, 0x5ca400
add ebx, dword [ebp - 0x44]
mov edi, 0xa0eaf7c3
xor dword [ebp - 0x3c], 0xcce17062
mov esi, dword [ebx]
add dword [ebp - 0x14], esi
xor esi, edi
mov dword [edx], esi
add dword [ebp - 0x34], ecx
add edx, 4
add ebx, 0x95be2b54
sub ebx, 0x95be2b50
loop 0x53b5b0
add eax, 0x1235f
xor ebx, ebx
add ebx, eax
add eax, 0x6bac436
add eax, 0xf9453bcf
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4b51c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
or ebp, 0xffffffff
jmp 0x4b51e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b51e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b51d8
mov eax, 1
add ebx, ebx
jne 0x4b51fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b520c
jne 0x4b522b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b522b
dec eax
add ebx, ebx
jne 0x4b5218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b51f0
add ebx, ebx
jne 0x4b5227
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b527d
xor ecx, ecx
sub eax, 3
jb 0x4b5243
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b52b2
sar eax, 1
mov ebp, eax
jmp 0x4b524e
add ebx, ebx
jne 0x4b524e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b521c
inc ecx
add ebx, ebx
jne 0x4b525c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b521c
add ebx, ebx
jne 0x4b5269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b525e
jne 0x4b527a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b525e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b529c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b528e
jmp 0x4b51de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b529c
add edi, ecx
jmp 0x4b51de
pop esi
mov edi, esi
mov ecx, 0x370c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b52ba
cmp byte [edi], 0x4a
jne 0x4b52ba
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 0x4b52bf
lea edi, [esi + 0xb1000]
mov eax, dword [edi]
or eax, eax
je 0x4b5337
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbc038]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbc18c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b52ec
mov ecx, edi
jns 0x4b531b
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 + 0xbc190]
or eax, eax
je 0x4b5331
mov dword [ebx], eax
add ebx, 4
jmp 0x4b5309
call dword [esi + 0xbc1a0]
mov ebp, dword [esi + 0xbc194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b536b
sub esp, 0xffffff80
jmp 0x418150
Function at 0x401000
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44e611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esi + 4], ebp
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], eax
mov dword [esi + 0x34], ebp
mov dword [esp + 0x18], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
push 0x401100
push 0x4010f0
push 2
lea ecx, [esi + 0x174]
push 0x14
push ecx
mov byte [esp + 0x2c], 3
call fcn.004450f8
mov cl, byte [esi + 0x38]
push ebp
and cl, 0xfe
mov byte [esp + 0x1c], 4
mov byte [esi + 0x38], cl
mov ecx, esi
mov dword [esi], 0x4544e0
call fcn.00401240
mov dl, byte [esi + 0x38]
mov al, byte [esi + 0x39]
and dl, 0x1f
and al, 0xf1
or dl, 0x60
push ebp
mov ecx, esi
mov dword [esi + 0x28], ebp
mov byte [esi + 0x38], dl
mov byte [esi + 0x39], al
call fcn.004011f0
mov dl, byte [esi + 0x38]
mov dword [esi + 0x34], ebp
and dl, 0xfd
mov ecx, 0x41
mov byte [esi + 0x38], dl
xor eax, eax
lea edi, [esi + 0x58]
mov dword [esi + 0x44], ebp
rep stosd dword es:[edi], eax
mov cl, byte [esi + 0x39]
mov al, byte [esi + 0x38]
and cl, 0xfe
and al, 0xe3
mov byte [esi + 0x39], cl
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x38], al
mov dword [esi + 0x30], ebp
mov dword [esi + 0x2c], 0x64
mov dword [esi + 0x20], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4018c0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x20]
push edx
push ebp
call ebx
test eax, eax
je 0x401916
lea eax, [esp + 0x28]
push eax
push ebp
call ebx
mov eax, dword [esi + 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x40198b
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x20]
push 0xcc0020
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push edi
sub ecx, eax
mov eax, dword [esp + 0x20]
sub edx, eax
mov eax, dword [esi + 0x3c]
push ecx
push edx
push 0
push 0
push eax
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x3c]
push 0xcc0020
push 0
push 0
sub edx, eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
sub eax, edx
push eax
push 0
push 0
push ecx
call ebx
push edi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x402510
Capabilities:
Create process on windows

Disassembly:
mov al, byte [ecx + 0x39]
push esi
test al, 4
je 0x40253a
mov dl, al
push 1
not dl
xor dl, al
push 0
and dl, 8
xor dl, al
mov eax, dword [ecx + 4]
push eax
mov byte [ecx + 0x39], dl
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop esi
ret 0xc
lea esi, [ecx + 0x58]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40255c
push 3
push 0
push 0
push esi
push 0x45c088
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop esi
ret 0xc