joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa3b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, ecx
call fcn.004adcb0
test eax, eax
je 0x4aa4ad
mov ecx, esi
call fcn.004adaf0
test eax, eax
je 0x4aa4ad
mov ecx, esi
call fcn.004ad2e0
mov esi, eax
test esi, esi
je 0x4aa412
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5cff9c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5cfb58]
cmp eax, dword [ecx + 4]
jg 0x4aa4d7
mov eax, dword [0x5cfb54]
test eax, eax
jne 0x4aa41b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
push edi
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x4aa43f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ebx
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
push 0
push eax
call fcn.00507800
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x14]
push 0
push 0x20
push dword [ebp + 0x10]
push dword [ebp + 8]
push 1
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x4aa49f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4aa495
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call edi
push esi
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
pop esi
setg cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 0x14
push 0x5cfb58
call fcn.004bcec8
add esp, 4
cmp dword [0x5cfb58], 0xffffffff
jne 0x4aa402
push 0x562fe0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x5cfb58
mov dword [0x5cfb54], eax
call fcn.004bce89
add esp, 4
jmp 0x4aa402
Function at 0x4ad2e0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push str.Shell_TrayWnd
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x4ad304
xor eax, eax
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4ad2fe
push esi
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4ad330
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0xc]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4adaf0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4adb72
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
xor esi, esi
mov eax, 1
cmp dword [ebp - 0x10], esi
cmovne esi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret

Function at 0x4adcb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.00507800
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4add1d
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4add1d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004bcc20
mov esp, ebp
pop ebp
ret
Function at 0x4afe60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bbe1
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
mov ecx, dword [esi + 0x548]
jne 0x4afff3
test ecx, ecx
je 0x4afffc
call fcn.004a63f0
mov ecx, dword [esi + 0x548]
call fcn.004a6610
test al, al
je 0x4afffc
call fcn.004a71e0
mov ecx, eax
call fcn.004a3030
push eax
lea ecx, [ebp - 0x248]
call fcn.004a0c80
push 0x560cec
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.004a1280
push str.PDLanuncher.exe
lea ecx, [ebp - 0x248]
call fcn.004a1280
push 0x560c80
lea ecx, [ebp - 0x230]
call fcn.004a0c80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x230]
call fcn.004a5940
push str._RunSpreadOperate
lea ecx, [ebp - 0x230]
call fcn.004a1280
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507800
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00502b5f
add esp, 0x14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x4aff77
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00500b54
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.004a0f00
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004aa3b0
test eax, eax
jne 0x4affd4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x7d0
cmovae eax, dword [ebp - 0x230]
push 1
push eax
call fcn.00500e2b
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.004a0f40
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.004a0f40
jmp 0x4afffc
test ecx, ecx
je 0x4afffc
call fcn.004a63f0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push 1
push 1
push 0x7530
push 0x7530
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 0x5a0]
mov ecx, esi
call fcn.004aa760
push 1
mov ecx, esi
call fcn.004d0910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 4
Function at 0x4b2810
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x208
push eax
mov word [ebp - 0xc], ax
mov edi, ecx
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x214]
push eax
call fcn.00507800
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2851
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jl 0x4b2874
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00510759
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.004bd2e0
cmp dword [edi + 0x674], 0
cvtsd2ss xmm0, xmm0
je 0x4b2914
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x4b28ed
mulss xmm0, dword [0x563c48]
lea eax, [ebp - 0x214]
sub esp, 8
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push 0x563c2c
push eax
call fcn.004a5fd0
add esp, 0x10
jmp 0x4b2902
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.004a5fd0
add esp, 0xc
mov ecx, dword [edi + 0x674]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3b80
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0x560c80
mov dword [ebp - 0xa38], eax
call fcn.00499940
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507800
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x4b3bed
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push edi
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x4b3c41
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bc98d
push esi
mov esi, eax
mov dword [ebp - 0xa34], eax
push 0
push esi
call fcn.00507800
add esp, 0x10
push esi
push edi
call ebx
test eax, eax
jne 0x4b3c56
push esi
call fcn.004bc996
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x563de4]
mov dword [ebp - 0xc], eax
mov ax, word [0x563de8]
push 0x208
mov word [ebp - 8], ax
call fcn.004bc98d
add esp, 4
mov ebx, eax
mov cx, word [esi]
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x104
push ebx
push eax
mov word [ebp - 0xc], cx
call edi
test eax, eax
jne 0x4b3cda
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4b3d69
push ebx
call fcn.004bc996
xor ecx, ecx
mov eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bc98d
add esp, 8
mov ebx, eax
lea eax, [ebp - 0xc]
push 1
push ebx
push eax
call edi
test eax, eax
je 0x4b3d69
mov edi, ebx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4b3ce0
sub edi, ecx
lea eax, [ebp - 0x218]
sar edi, 1
push edi
push ebx
push eax
call fcn.0051079e
add esp, 0xc
test eax, eax
je 0x4b3d19
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b3d04
cmp word [esi], ax
je 0x4b3d69
jmp 0x4b3c77
lea eax, [ebp - 0x218]
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x560df4
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.004b4170
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.004a0c80
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.004a6290
lea ecx, [ebp - 0xa30]
call fcn.004a0f40
mov eax, dword [ebp - 0xa34]
push eax
call fcn.004bc996
push ebx
call fcn.004bc996
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov al, 1
pop edi
pop ebx
pop esi
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 8
Function at 0x4b3da0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x214], 0
call fcn.00507800
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4b3e28
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4b3e21
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x4b3e48
xor ecx, ecx
jmp 0x4b3e60
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b3e51
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00499940
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 8
Function at 0x4b3e90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bf16
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5c30d8]
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 dword [ebp - 0x478], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x47c], 0
push eax
push 0x560c80
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00499940
push 0x22c
lea eax, [ebp - 0x474]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00507800
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b3f4e
push 0x560c80
mov ecx, ebx
call fcn.004a0c80
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x4b410d
inc ecx
push ecx
jmp 0x4b40fc
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4b40c7
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
jne 0x4b3f9a
xor ecx, ecx
jmp 0x4b3fb2
lea ecx, [ebp - 0x450]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b3fa3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00499940
mov esi, dword [ebp - 0x46c]
mov byte [ebp - 4], 1
cmp esi, dword [ebp + 0xc]
je 0x4b4010
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4b3ff6
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00499ac0
lea eax, [ebp - 0x474]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4b3f70
jmp 0x4b40c7
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507800
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4b40b5
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004a1230
lea eax, [ebp - 0x230]
push 0x560c80
push eax
call fcn.004b2e30
add esp, 8
test al, al
je 0x4b40b5
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.004b3b80
lea eax, [ebp - 0x230]
push 0x560c80
push eax
call fcn.004b2e30
add esp, 8
test al, al
je 0x4b40b5
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.004a1230
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.004a0f40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x230]
push eax
call fcn.004a50e0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4b410d
inc eax
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00499ac0
mov eax, ebx
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.004bcc20
mov esp, ebp
pop ebp
ret 8
Function at 0x4b6be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c2a4
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x5cff48]
call fcn.004c89cf
add esp, 4
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push dword [0x5cff48]
mov edi, eax
call fcn.00499040
mov esi, dword [0x5c3044]
add esp, 4
mov ecx, dword [0x5c3048]
mov dword [0x5cfbb8], 0
cmp esi, ecx
jae 0x4b6c6a
mov eax, dword [esi]
test eax, eax
je 0x4b6c63
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x5c3048]
add esi, 4
cmp esi, ecx
jb 0x4b6c50
mov ecx, dword [0x5cfb5c]
test ecx, ecx
jne 0x4b6cac
push 0x5dc
call fcn.004bc94c
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4b6c9d
mov ecx, eax
call fcn.004a85e0
mov ecx, eax
jmp 0x4b6c9f
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cfb5c], ecx
mov eax, dword [ecx]
call dword [eax + 0x90]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507800
push 0x56140c
lea eax, [ebp - 0x218]
push str._s__
push eax
call fcn.004a5fd0
mov eax, dword [0x5cfb5c]
add esp, 0x18
test eax, eax
jne 0x4b6d1e
push 0x5dc
call fcn.004bc94c
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4b6d10
mov ecx, eax
call fcn.004a85e0
jmp 0x4b6d12
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cfb5c], eax
push 0
push 0
push 0
push 0
push 0
push 0x40100
push 0x10ce0000
lea ecx, [ebp - 0x218]
push ecx
push 0
mov ecx, eax
call fcn.004d0936
mov eax, dword [0x5cfb5c]
test eax, eax
jne 0x4b6d80
push 0x5dc
call fcn.004bc94c
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4b6d72
mov ecx, eax
call fcn.004a85e0
jmp 0x4b6d74
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cfb5c], eax
mov ecx, eax
call fcn.004d07e2
mov eax, dword [0x5cfb5c]
test eax, eax
jne 0x4b6dc5
push 0x5dc
call fcn.004bc94c
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4b6db7
mov ecx, eax
call fcn.004a85e0
jmp 0x4b6db9
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cfb5c], eax
push 5
mov ecx, eax
call fcn.004c5e40
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004c70d2
call fcn.004c8e63
mov ecx, 0x5cfb8c
call fcn.004b83e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret
Function at 0x4b7730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c316
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4b77dc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4b77dc
call fcn.004b6870
mov esi, eax
jmp 0x4b78cc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4b77ff
call fcn.004b6870
jmp 0x4b78bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4b781d
call fcn.004b6870
jmp 0x4b78bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4b783e
mov esi, 0x8007000e
jmp 0x4b78c1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004b6650
jmp 0x4b7868
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4b787f
mov esi, 0x8007000e
jmp 0x4b78c1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4b789f
call fcn.004b6870
jmp 0x4b78bf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004b75d0
mov esi, eax
test edi, edi
je 0x4b78cc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4b78f0
lea ecx, [ebp - 0x418]
call fcn.004b6e60
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b8220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4b8239
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8245
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4b8240
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b8280
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4b8295
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b82a0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4babe0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x64
push 2
push esi
mov ecx, dword [esi + 0x520]
call fcn.004c8c53
lea eax, [esi + 0x698]
push eax
push 0
push esi
push 0x4ba1d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x69c], eax
pop esi
ret

Function at 0x4bb700
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x208
push eax
mov word [ebp - 0xc], ax
mov edi, ecx
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x214]
push eax
call fcn.00507800
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bb741
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jl 0x4bb764
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00510759
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.004bd2e0
cmp dword [edi + 0x698], 0
cvtsd2ss xmm0, xmm0
je 0x4bb804
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x4bb7dd
mulss xmm0, dword [0x563c48]
lea eax, [ebp - 0x214]
sub esp, 8
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push 0x563c2c
push eax
call fcn.004a5fd0
add esp, 0x10
jmp 0x4bb7f2
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.004a5fd0
add esp, 0xc
mov ecx, dword [edi + 0x698]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 4