joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5431b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5938b4]
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 eax, ecx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x4cb8b7
xor al, al
jmp 0x4cb997
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push ecx
push ebx
push edi
mov ecx, eax
call fcn.004cb490
test al, al
je 0x4cb948
cmp byte [ebp + 0x14], 0
je 0x4cb90b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00412dd0
add esp, 8
test al, al
je 0x4cb948
mov bl, 1
jmp 0x4cb986
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4cb915
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
cmp edx, dword [esi + 0x10]
jne 0x4cb945
test edx, edx
je 0x4cb941
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x4cb945
add ecx, 2
sub edx, 1
jne 0x4cb930
mov bl, 1
jmp 0x4cb986
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
je 0x4cb958
mov byte [eax + 1], 1
mov bl, 1
jmp 0x4cb986
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4cb963
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x4cb96b
mov ebx, dword [ebx]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4cb941
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
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.004f8545
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ccbd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4ccc1e
xor al, al
jmp 0x4ccc77
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4ccc50
cmp dword [ebp - 0x418], 0
je 0x4ccc4c
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x4ccc77
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040e080
cmp dword [ebp - 0x418], 0
je 0x4ccc75
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret

Function at 0x4ccfe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 0x3c
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 0x20], 0
je 0x4cd011
mov edx, dword [ebp + 0x20]
mov dword [ebp - 4], edx
jmp 0x4cd01a
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4cd070
cmp dword [ebp - 0x24], 0x20
jbe 0x4cd062
mov dword [ebp - 8], 1
jmp 0x4cd069
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
jmp 0x4cd083
cmp dword [ebp + 0x18], 0
je 0x4cd081
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4cdf50
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x593010], 0
jne 0x4cdfd2
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cdfb3
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, section..data
call fcn.0040e470
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004f8545
add esp, 0x214
ret

Function at 0x4ce160
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x5437a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x597b64]
test eax, eax
jle 0x4ce1b1
inc eax
mov dword [0x597b64], eax
mov al, 1
jmp 0x4ce2a3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
xor bh, bh
mov dword [ebp - 0x14], 0
call fcn.0042cbb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042d7d0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042cc30
test bl, bl
je 0x4ce293
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4ce293
push str.ImpersonateLoggedOnUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x4ce28c
inc dword [0x597b64]
mov eax, dword [edi]
test eax, eax
je 0x4ce236
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov bh, 1
mov dword [edi], eax
cmp dword [0x593028], 0
mov dword [ebp - 0x10], 0
jne 0x4ce28c
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x593018
mov word [ebp + 0x206], ax
lea eax, [ebp]
push eax
call fcn.0040e080
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4ce2a1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x4d2cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5443a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5938b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x54e1a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4d2e1b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4d2e1b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d2e1b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4d2e1b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4d2e1b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d2e14
push ebx
push esi
push eax
call fcn.004fac70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4d2e14
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4d2e14
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4d2dcb
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x10], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
jmp 0x4d2dcd
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x4d2e00
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x4d2e00
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d4830
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
jne 0x4d487a
xor al, al
jmp 0x4d4987
push 0
lea eax, [ebp - 0x148]
push eax
push 0x40
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d48ae
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4d4987
movzx ecx, word [ebp - 0x44]
cmp ecx, 0x5a4d
je 0x4d48ce
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4d4987
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4d48fc
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4d4987
push 0
lea eax, [ebp - 0x148]
push eax
push 0xf8
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d4933
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4d4987
cmp dword [ebp - 0x13c], 0x4550
je 0x4d4950
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4d4987
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x138]
cmp eax, 0x14c
jne 0x4d4977
mov dword [ebp - 0x144], 1
jmp 0x4d4981
mov dword [ebp - 0x144], 0
mov al, byte [ebp - 0x144]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x4e9570
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 8
xorps xmm3, xmm3
xorps xmm2, xmm2
mov edx, 0x183
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
lea eax, [ebx + 4]
nop dword [eax]
movd xmm1, dword [eax - 4]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea eax, [eax + 8]
punpcklwd xmm1, xmm0
paddd xmm3, xmm1
movd xmm1, dword [eax - 8]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
paddd xmm2, xmm1
sub edx, 1
jne 0x4e9590
paddd xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
push edx
psrldq xmm0, 4
push 0x80
paddd xmm2, xmm0
movd ecx, xmm2
push 4
push edx
push edx
cmp ecx, 2
push 0x40000000
lea eax, [ecx - 2]
cmovbe eax, ecx
push esi
mov dword [ebx + 0xc18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4e9671
push ebp
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push 0
push 0
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0xc1c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x18], 0xc1c
je 0x4e9669
mov eax, dword [esp + 0xc]
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x4ed370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004fb1f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4ed3ef
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0x208
jae 0x4ed3d6
jmp 0x4ed3db
call fcn.004f8cce
xor edx, edx
mov eax, dword [ebp - 0x210]
mov word [ebp + eax - 0x20c], dx
xor al, al
jmp 0x4ed400
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e080
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret 8

Function at 0x4edae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5482e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x34]
call fcn.0040e160
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x70]
call fcn.004ed370
movzx ecx, al
test ecx, ecx
jne 0x4edb4a
mov byte [ebp - 0x65], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ac80
mov al, byte [ebp - 0x65]
jmp 0x4edc4e
mov edx, 0x7f51
mov word [ebp - 0x1c], dx
mov eax, 0x5740
mov word [ebp - 0x1a], ax
mov ecx, 0x5bfc
mov word [ebp - 0x18], cx
mov edx, 0x822a
mov word [ebp - 0x16], dx
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040e120
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00418670
add esp, 0xc
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e0e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040ac80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0040ac80
push str..lnk
lea ecx, [ebp - 0x34]
call fcn.0040e050
lea ecx, [ebp - 0x34]
push ecx
call fcn.00415500
add esp, 4
movzx edx, al
test edx, edx
jne 0x4edc01
mov byte [ebp - 0x66], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ac80
mov al, byte [ebp - 0x66]
jmp 0x4edc4e
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.0040e040
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x20
jle 0x4edc2f
mov dword [ebp - 0x6c], 1
jmp 0x4edc36
mov dword [ebp - 0x6c], 0
mov al, byte [ebp - 0x6c]
mov byte [ebp - 0x67], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ac80
mov al, byte [ebp - 0x67]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret 4
Function at 0x4f02f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548afa
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.004efdc0
add esp, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.00415500
add esp, 4
movzx eax, al
test eax, eax
jne 0x4f0385
push 0x563018
mov ecx, dword [ebp + 8]
call fcn.0040e120
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040ac80
mov eax, dword [ebp + 8]
jmp 0x4f03f8
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004fb1f0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040e040
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x563018
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e120
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040ac80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x4f19b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549041
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], 0
lea eax, [ebp - 0x24c]
push eax
call fcn.004f1c40
add esp, 4
mov dword [ebp - 4], 1
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.0040e120
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00418670
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.0040ac80
lea ecx, [ebp - 0x234]
push ecx
call fcn.00415500
add esp, 4
movzx edx, al
test edx, edx
jne 0x4f1a93
push 0x563018
mov ecx, dword [ebp + 8]
call fcn.0040e120
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0040ac80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0040ac80
mov eax, dword [ebp + 8]
jmp 0x4f1c1c
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004fb1f0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040e040
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x563018
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
add ecx, 2
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2b4]
mov ax, word [edx]
mov word [ebp - 0x2b6], ax
add dword [ebp - 0x2b4], 2
cmp word [ebp - 0x2b6], 0
jne 0x4f1af1
mov ecx, dword [ebp - 0x2b4]
sub ecx, dword [ebp - 0x2bc]
sar ecx, 1
mov dword [ebp - 0x2c0], ecx
jne 0x4f1b6a
push 0x563018
mov ecx, dword [ebp + 8]
call fcn.0040e120
mov edx, dword [ebp - 0x2b0]
or edx, 1
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0040ac80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0040ac80
mov eax, dword [ebp + 8]
jmp 0x4f1c1c
lea eax, [ebp - 0x2ac]
push eax
call fcn.004f18d0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.0040e120
mov byte [ebp - 4], 6
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.00418670
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x27c]
call fcn.0040ac80
lea edx, [ebp - 0x294]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f0c0
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.0040ac80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.0040ac80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0040ac80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0040ac80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x4f20a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x3c
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
cmp dword [ebp + 0x18], 0
je 0x4f20d2
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
jmp 0x4f20db
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4f2134
cmp dword [ebp - 0x28], 0x20
jbe 0x4f2127
mov dword [ebp - 0xc], 1
jmp 0x4f212e
mov dword [ebp - 0xc], 0
mov al, byte [ebp - 0xc]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4f2153
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x4f2153
push 0x2710
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4f3c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549730
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], 0
lea ecx, [ebp - 0x264]
call fcn.0040e160
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.004fb1f0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x24c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0x5c
mov word [ebp - 0x44], dx
mov eax, 0x48
mov word [ebp - 0x42], ax
mov ecx, 0x61
mov word [ebp - 0x40], cx
mov edx, 0x6f
mov word [ebp - 0x3e], dx
mov eax, 0x5a
mov word [ebp - 0x3c], ax
mov ecx, 0x69
mov word [ebp - 0x3a], cx
mov edx, 0x70
mov word [ebp - 0x38], dx
mov eax, 0x5c
mov word [ebp - 0x36], ax
mov ecx, 0x48
mov word [ebp - 0x34], cx
mov edx, 0x61
mov word [ebp - 0x32], dx
mov eax, 0x6f
mov word [ebp - 0x30], ax
mov ecx, 0x5a
mov word [ebp - 0x2e], cx
mov edx, 0x69
mov word [ebp - 0x2c], dx
mov eax, 0x70
mov word [ebp - 0x2a], ax
mov ecx, 0x44
mov word [ebp - 0x28], cx
mov edx, 0x69
mov word [ebp - 0x26], dx
mov eax, 0x73
mov word [ebp - 0x24], ax
mov ecx, 0x70
mov word [ebp - 0x22], cx
mov edx, 0x6c
mov word [ebp - 0x20], dx
mov eax, 0x61
mov word [ebp - 0x1e], ax
mov ecx, 0x79
mov word [ebp - 0x1c], cx
mov edx, 0x2e
mov word [ebp - 0x1a], dx
mov eax, 0x64
mov word [ebp - 0x18], ax
mov ecx, 0x61
mov word [ebp - 0x16], cx
mov edx, 0x74
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x294]
call fcn.0040e120
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.00418990
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x264]
call fcn.0040e0e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.0040ac80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.0040ac80
lea edx, [ebp - 0x264]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f0c0
mov eax, dword [ebp - 0x298]
or eax, 1
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0040ac80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret