joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b116
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59806f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x30]
call fcn.0041be6f
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x194], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [esp + 0x18], esp
push str.0_0__0__0
sub esi, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.0042fe41
push ecx
mov byte [esp + 0x1a0], 1
mov eax, esp
mov dword [esp + 0x18], esp
push 0x5e47e8
push eax
call fcn.0042fe41
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041bca3
lea eax, [esp + 0x14]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x3c]
call fcn.00431e76
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov esi, 0x5e2b34
push esi
push eax
call fcn.0042fe41
push ecx
mov byte [esp + 0x1a0], 2
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_left
push eax
call fcn.0042fe41
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041bca3
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.0042fe41
push ecx
mov byte [esp + 0x1a0], 3
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_right
push eax
call fcn.0042fe41
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041bca3
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.0042fe41
push ecx
mov byte [esp + 0x1a0], 4
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_top
push eax
call fcn.0042fe41
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041bca3
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.0042fe41
push ecx
mov byte [esp + 0x1a0], 5
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_bottom
push eax
call fcn.0042fe41
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041bca3
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push str.cnm_showdow
push eax
call fcn.0042fe41
push ecx
mov byte [esp + 0x1a0], 6
mov eax, esp
mov dword [esp + 0x1c], esp
push str.skin
push eax
call fcn.0042fe41
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041bca3
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push 0xf
call fcn.00431e76
or dword [esp + 0x194], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
call fcn.004011c0
lea ecx, [esp + 0x30]
call fcn.00430b69
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b81b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
xor eax, eax
push 0x1fe
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0049a380
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x204]
push 0x100
push eax
mov eax, dword [ebp + 0xc]
push 0x5e4264
push dword [eax]
push 0x5e7dd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call fcn.0043229f
mov eax, dword [ebp + 8]
leave
ret

Function at 0x43b87f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599038
call fcn.00593620
push edi
push 0x12c
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.00483df3
add esp, 0x14
test eax, eax
jne 0x43b8bc
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b8bc
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret

Function at 0x43c013
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x594fee
call fcn.00593620
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c076
cmp dword [ebp + 0xc], 0
je 0x43c076
mov esi, dword [ebp + 8]
call fcn.00418f7e
push esi
push eax
call fcn.00432279
call fcn.00417364
mov ebx, eax
call fcn.004174c5
push 0x1770
call fcn.004489fb
mov dword [esp], 0x1771
call fcn.004412b1
mov dword [esp], 0x1772
call fcn.00440e89
jmp 0x43c098
push 0x2710
call fcn.004412b1
mov dword [esp], 0x2711
call fcn.00440e89
mov dword [esp], 0x2712
call fcn.004489fb
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43c139
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599695
call fcn.00593620
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.0040135c
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0047f931
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
test edi, edi
je 0x43c1c7
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.0043b87f
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43d29e
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61c59c]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43d2bb
mov edi, dword [eax + 4]
jmp 0x43d2bd
xor edi, edi
cmp edi, esi
jne 0x43d2cd
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x43d2f2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x43d2f2
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43d2f2
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x4d0], esi
call fcn.0043d746
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43d318
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43d41a
mov edx, eax
call fcn.00419d86
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.0043879e
cmp dword [ebx + 0x4c0], esi
je 0x43d3bd
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x43d382
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x43d39e
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x43d3bd
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4d0], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43d402
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x43d402
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43d402
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.00419d86
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x4d4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x442fb2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x595eb5
call fcn.00593620
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.0047ed1d
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x444341
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x4444e7
cmp dword [ebx + 0x3c], edi
je 0x44436b
push 4
call fcn.00443b41
push dword [ebp + 8]
lea esi, [esp + 0x2c]
call fcn.00431927
mov esi, dword [ebx + 8]
call fcn.0042427b
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], eax
call fcn.0042425b
fld1
fst dword [esp + 0x30]
mov dword [esp + 0x1c], eax
fldz
movzx eax, byte [ebp + 0x10]
fst dword [esp + 0x34]
mov dword [esp + 0x10], eax
fst dword [esp + 0x38]
lea eax, [esp + 0x20]
fst dword [esp + 0x3c]
push eax
fst dword [esp + 0x44]
mov dword [esp + 0x24], edi
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fxch st(1)
fst dword [esp + 0x4c]
fst dword [esp + 0x64]
fild dword [esp + 0x14]
fdiv qword [0x5f0e08]
fstp dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x28]
call fcn.0042634a
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp dword [esp + 0x18], eax
jg 0x4444c5
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x14], 0
cmp ecx, dword [esp + 0x10]
jg 0x4444ae
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x1c]
add eax, ecx
push eax
mov eax, dword [edi]
add eax, dword [esp + 0x18]
lea esi, [esp + 0x34]
push eax
mov eax, dword [ebx + 8]
call fcn.0042429b
mov edx, dword [esp + 0x1c]
add dword [esp + 0x14], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
sub ecx, eax
add esi, edx
cmp esi, ecx
mov dword [esp + 0x10], ecx
jle 0x44446e
mov ecx, dword [esp + 0x18]
add dword [esp + 0xc], ecx
mov edx, dword [edi + 8]
mov esi, dword [esp + 0xc]
sub edx, dword [edi]
add esi, ecx
cmp esi, edx
jle 0x44445f
cmp dword [ebx + 0x3c], 0
je 0x4444d5
mov esi, dword [ebx + 8]
push 4
call fcn.00443b41
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44b9aa
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.0049a380
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x44ba94
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x44bac4
push 0x98
call fcn.004657db
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x44bab7
call fcn.0044b9aa
mov eax, ebx
jmp 0x44bab9
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x44bac4
xor eax, eax
jmp 0x44bb3a
push ebp
push 0x5ebfb0
push dword [esp + 0x14]
call fcn.0049f0c5
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x44badf
xor eax, eax
jmp 0x44bb39
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x44baf3
push ebx
call fcn.00498b00
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049f374
add esp, 0x10
cmp eax, esi
je 0x44bb24
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.0045918b
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049f374
add esp, 0x10
test eax, eax
jne 0x44bb06
push ebp
call fcn.0049f401
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0044b9e2
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x44bb3f
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0049a380
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0044bba1
push dword [ebp + 8]
mov eax, esi
call fcn.0044bc37
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44c8d6
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x44c8ee
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x44c8de
ret 8
Function at 0x44eb7e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x44ec19
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.KAV7NEEDREBOOT
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x44ebc0
cmp dword [ebp - 8], 2
jne 0x44ec17
push esi
mov esi, dword [ebp + 0xc]
call fcn.00401462
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004011f9
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x44ebff
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x44ec0f
push eax
call fcn.0049a28b
pop ecx
mov edx, esi
call fcn.004011d8
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x44ec20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x44ec45
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ed06
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.0049a380
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44ecb5
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.0049cb04
test eax, eax
pop ecx
pop ecx
je 0x44eca9
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44ec7f
jmp 0x44ecbe
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x44ecbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44ece3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ed05
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44ecff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x44edeb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x44edfd
or eax, 0xffffffff
leave
ret
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0049a380
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44ee40
cmp dword [ebp - 0x110], 5
jne 0x44ee40
cmp dword [ebp - 0x10c], 0
je 0x44ee4d
push esi
call fcn.0044ed09
test eax, eax
pop ecx
jne 0x44ee4d
leave
ret
push esi
call fcn.0044ec20
pop ecx
leave
ret
Function at 0x45107e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59497d
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
push esi
push edi
mov esi, ecx
jne 0x4510bf
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x4510e7
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x4510e7
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x4510ab
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x4510f3
or eax, 0xffffffff
jmp 0x4510ab
cmp dword [esi + 0x3c], edi
jne 0x451107
push eax
push ebx
call fcn.00450d56
test al, al
pop ecx
pop ecx
je 0x4510ee
jmp 0x4510e3
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.00451742
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edi
call fcn.00451768
mov ecx, eax
call fcn.00451b43
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x451217
cmp eax, 1
jg 0x45123f
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x4511ac
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004a06ce
add esp, 0x10
cmp edi, eax
jne 0x451256
lea eax, [esp + 0x10]
cmp dword [esp + 0x1c], eax
mov byte [esi + 0x41], 1
jne 0x45126d
test edi, edi
ja 0x4511da
cmp dword [esp + 0x58], 0x20
jae 0x451256
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.0044b62f
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x45115a
jmp 0x451256
cmp eax, 3
jne 0x451256
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.00450d56
test al, al
pop ecx
pop ecx
jne 0x45126d
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00418704
mov eax, esi
jmp 0x4510ab
mov esi, dword [ebp + 8]
jmp 0x451259
Function at 0x451853
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x594f72
call fcn.00593620
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x451963
cmp byte [esi + 0x41], 0
je 0x451963
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x45188d
xor al, al
jmp 0x451965
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.00451742
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
mov edi, dword [ebp - 0x40]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
add edi, ebx
push edi
push dword [ebp - 0x14]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x4518fd
dec eax
je 0x451901
dec eax
dec eax
je 0x45195f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00418704
mov al, bl
jmp 0x451965
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x451941
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.00451768
mov ecx, eax
call fcn.00451b43
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004a06ce
add esp, 0x10
cmp edi, eax
jne 0x4518eb
cmp byte [esi + 0x41], 0
je 0x45195f
test edi, edi
jne 0x45189b
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.0044b62f
jmp 0x45189b
mov bl, 1
jmp 0x4518ed
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret