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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583288
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x52c2b9
inc eax
mov dword [esi + 0x10], eax
jmp 0x52c3cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x52c2cd
mov eax, 0xffffffc7
jmp 0x52c3ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x52c2de
cmp dword [esi + 8], eax
jne 0x52c2cd
cmp dword [esi + 8], eax
jne 0x52c2f7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x52c2f7
mov eax, 0xffffffc7
jmp 0x52c3ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x52c30b
push eax
mov ecx, ebx
call fcn.0052bab0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004f31f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x52c33c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004f3210
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0052b220
test eax, eax
mov dword [esp + 0x38], eax
je 0x52c36f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6061e0
call fcn.004f33f0
mov eax, dword [esp + 0x38]
jmp 0x52c3ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0052c0e0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x52c3b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0052c100
mov esi, eax
test esi, esi
jne 0x52c3e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0052c0e0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x52c385
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6061e0
call fcn.004f33f0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6061e0
call fcn.004f33f0
mov eax, esi
jmp 0x52c3ce
Function at 0x5356f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5838b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.user32.dll_Ordinal_256]
push 0
lea ecx, [esp + 0x20]
call fcn.0057934c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00535090
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0057927a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00575a5b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00575a5b
push 1
push 0
push 0
mov ecx, esi
call fcn.00575a03
push 1
push 0
push 1
mov ecx, esi
call fcn.00575a03
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005793be
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x535870
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5838d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0057934c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00535090
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0057927a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.user32.dll_Ordinal_256]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x535934
cmp dword [esp + 0x40], 1
jne 0x535932
cmp ecx, eax
jge 0x535934
mov eax, ecx
cmp eax, 0xc8
jge 0x535940
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.005356f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.user32.dll_Ordinal_404]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005793be
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5360b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x583943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00573e7b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.gdi32.dll_Ordinal_81]
push eax
mov ecx, edi
call fcn.005795f4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0057ac89
test eax, eax
je 0x5361cc
mov ecx, dword [esp + 0x3c]
call fcn.00579621
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.user32.dll_Ordinal_572]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x536190
push edi
mov ecx, esi
call fcn.00576bdd
mov ecx, esi
call fcn.00536330
cmp dword [esp + 0x38], 1
jne 0x5361c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00576d47
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x538bf0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x538c23
push esi
call fcn.0053bce0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x538c1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x538ca9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x538c92
mov eax, dword [esi + 8]
test eax, eax
je 0x538c47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x538c8e
cmp eax, 2
je 0x538c92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x538c3a
cmp eax, 3
je 0x538c6d
cmp eax, 1
jne 0x538c3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x538c3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x538c3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00538cd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x538cb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00538cd0
add esp, 4
pop esi
ret
Function at 0x54ff20
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.ws2_32.dll_select
cmp eax, 0xffffffff
jne 0x54ff69
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x5503e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0054ff90
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00550010
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00550010
lea ecx, [esi + 0xc]
call fcn.005727e2
lea ecx, [esi + 0x10]
call fcn.005727e2
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005515a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005515a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005515a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00572857
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00572857
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x556d70
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b2e8
push 0x563094
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00561530
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x557b60
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00561e50
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.00562ead
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.kernel32.dll_CmdBatNotification]
mov esi, eax
cmp esi, 0xffffffff
je 0x557d0d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.kernel32.dll_CreateJobObjectW]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x557d0d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00557d20
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.00557d20
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.00557d20
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.00557d20
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x557d0d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.kernel32.dll_CallNamedPipeA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x4ba52b17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ba52b71
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4ba52b3e
xor eax, eax
jmp 0x4ba52b70
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4ba52b62
cmp esi, eax
jae 0x4ba52b3a
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4ba52b54
cmp esi, eax
jae 0x4ba52b3a
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x4ba533ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push eax
push dword [ebp + 8]
mov dword [esi], 0x4ba514fc
mov dword [esi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4ba5340e
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [ebp + 8]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x4ba55e1b
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push 0x4ba51614
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
je 0x4ba55e88
push esi
push ebx
push 0x4ba515fc
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
cmp esi, ebx
je 0x4ba55e87
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ba55e87
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4ba55e80
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ba55e87
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop esi
mov al, byte [ebp + 0xb]
pop ebx
pop ebp
ret 4
Function at 0x4ba56cc0
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 4]
call esi
push 1
push dword [edi + 4]
call esi
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x4ba58154
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x1c9]
cmp al, byte [ecx]
je 0x4ba581a3
cmp byte [esi + 0x1c8], 0
mov byte [ecx], al
je 0x4ba581a3
neg al
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
sbb eax, eax
and eax, 5
mov ebx, eax
push ebx
push dword [esi + 0x50]
call edi
cmp dword [esi + 0x1b4], 0
je 0x4ba58197
push ebx
jmp 0x4ba58199
push 0
push dword [esi + 0x11c]
call edi
pop edi
pop ebx
pop esi
pop ebp
ret 4

Function at 0x4ba5ba05
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
cmp dword [0x4ba69a84], esi
push edi
jne 0x4ba5baba
mov eax, dword [ebp + 8]
mov dword [0x4ba69a84], eax
call fcn.4ba64006
test eax, eax
jne 0x4ba5bab4
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
push esi
call edi
cmp eax, esi
mov dword [0x4ba69a90], eax
je 0x4ba5baaf
push 1
push eax
call fcn.4ba6407a
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x4ba5baa1
push 1
call fcn.4ba5b8a0
test al, al
je 0x4ba5ba9c
push esi
push esi
push esi
push esi
call edi
cmp eax, esi
mov dword [0x4ba69a8c], eax
je 0x4ba5ba9c
push esi
push esi
push esi
push 0x4ba5b964
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x4ba69a88], eax
je 0x4ba5ba8e
mov al, 1
jmp 0x4ba5babc
push dword [0x4ba69a8c]
call ebx
mov dword [0x4ba69a8c], esi
call fcn.4ba640d4
push dword [0x4ba69a90]
call ebx
mov dword [0x4ba69a90], esi
call fcn.4ba64060
mov dword [0x4ba69a84], esi
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4ba5cb93
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
cmp eax, ecx
je 0x4ba5cba6
cmp word [eax], cx
jne 0x4ba5cba8
xor eax, eax
push esi
push 1
push ecx
push eax
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0x20
pop eax
cmp eax, esi
sbb eax, eax
neg eax
pop esi
pop ebp
ret 0xc
Function at 0x4ba5d0e5
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ba650ea
call fcn.4ba636c0
sub esp, 0x214
mov eax, dword [0x4ba686b8]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 0x24
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
jl 0x4ba5d1a3
mov esi, 0x4ba69af0
push esi
lea ecx, [ebp - 0x21c]
call fcn.4ba52e3e
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x220]
call fcn.4ba52e3e
push 0x4ba517b8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push 0x4ba5186c
push eax
mov byte [ebp - 4], 1
call fcn.4ba5d0ca
push edi
lea eax, [ebp - 0x220]
push 0x4ba5185c
push eax
call fcn.4ba5d0ca
mov esi, dword [ebp - 0x220]
mov edi, dword [ebp - 0x21c]
add esp, 0x1c
push esi
push edi
push ebx
call fcn.4ba5cb93
lea ecx, [esi - 0x10]
mov bl, al
call fcn.4ba52c2f
lea ecx, [edi - 0x10]
call fcn.4ba52c2f
mov al, bl
jmp 0x4ba5d1a5
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.4ba6323b
leave
ret 8

Function at 0x4ba5d1c3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ba65104
call fcn.4ba636c0
sub esp, 0x210
mov eax, dword [0x4ba686b8]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
jl 0x4ba5d249
push ebx
push 0x4ba69af0
lea ecx, [ebp - 0x21c]
call fcn.4ba52e3e
push 0x4ba51804
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push 0x4ba5186c
push eax
mov dword [ebp - 4], esi
call fcn.4ba5d0ca
add esp, 0x10
push esi
mov esi, dword [ebp - 0x21c]
push esi
push edi
call fcn.4ba5cb93
lea ecx, [esi - 0x10]
mov bl, al
call fcn.4ba52c2f
mov al, bl
pop ebx
jmp 0x4ba5d24b
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.4ba6323b
leave
ret 4

Function at 0x4ba5d268
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ba65104
call fcn.4ba636c0
sub esp, 0x210
mov eax, dword [0x4ba686b8]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
jl 0x4ba5d2f2
push ebx
push 0x4ba69af0
lea ecx, [ebp - 0x21c]
call fcn.4ba52e3e
push 0x4ba5181c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push 0x4ba5186c
push eax
mov dword [ebp - 4], esi
call fcn.4ba5d0ca
mov esi, dword [ebp - 0x21c]
add esp, 0x10
push 0x4ba51834
push esi
push edi
call fcn.4ba5cb93
lea ecx, [esi - 0x10]
mov bl, al
call fcn.4ba52c2f
mov al, bl
pop ebx
jmp 0x4ba5d2f4
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.4ba6323b
leave
ret 4
Function at 0x4ba5da8a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ba65142
call fcn.4ba636c0
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov esi, eax
cmp esi, ebx
jl 0x4ba5dba2
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 3
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov esi, eax
cmp esi, ebx
jl 0x4ba5dba2
push edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4ba51a80
push ebx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call dword [ecx + 0x14]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.SHELL32.dll_ILFree]
mov esi, eax
call edi
cmp esi, ebx
jl 0x4ba5db8f
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x40
push ebx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x10]
mov esi, eax
cmp esi, ebx
jl 0x4ba5db7e
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jne 0x4ba5db7e
cmp dword [ebp - 0x28], 1
jne 0x4ba5db7e
push dword [ebp + 8]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.4ba5d8e4
test eax, eax
jne 0x4ba5db74
cmp dword [ebp + 0xc], ebx
je 0x4ba5db74
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [ebp + 0xc]
test al, al
jne 0x4ba5db74
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call edi
cmp byte [ebp - 0xd], bl
je 0x4ba5db27
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x4ba5db8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
pop edi
je 0x4ba5dba0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov eax, dword [ebp - 0x24]
setge byte [ebp + 0xb]
or dword [ebp - 4], 0xffffffff
pop esi
cmp eax, ebx
pop ebx
je 0x4ba5dbb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
mov dword fs:[0], ecx
leave
ret 0xc