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

Disassembly:
push 0xffffffffffffffff
push 0x5b31ca
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FCPanelItemBase.0
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], 6
call fcn.00563120
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call fcn.005399e0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call fcn.00563b50
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.005638b0
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.00545d40
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call fcn.005632e0
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.005489c0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00529850
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x541e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3288
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, 8
mov word [esp + 0xc], ax
mov eax, dword [ecx]
test eax, eax
je 0x541ed1
mov esi, dword [eax]
test esi, esi
jne 0x541f17
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 0
call edx
mov esi, eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x541ed9
push 0x8007000e
call fcn.00518800
int3

Function at 0x545c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3845
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00529840
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
call fcn.00548c60
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call fcn.005634d0
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.00545dd0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.00563940
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call fcn.00563da0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call fcn.00539a70
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 6
call fcn.00563240
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x14], 7
mov dword [esi], vtable.FCPanelItemBase.0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], eax
call fcn.00545b80
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x549330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3f90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
call fcn.0051ab80
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call fcn.0051c5d0
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp esi, edi
je 0x5493cd
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x5493ca
cmp esi, edi
je 0x5493ca
mov eax, dword [esi]
cmp eax, edi
je 0x5493b1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x5493c1
push eax
call fcn.004a3d2b
add esp, 4
push esi
call fcn.004a3d15
add esp, 4
mov dword [ebp + 8], edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x5493d8
mov eax, dword [eax]
jmp 0x5493da
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5493ff
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x5493f0
mov eax, dword [eax]
jmp 0x5493f2
xor eax, eax
mov ecx, dword [ebp + 0xc]
push edi
push eax
call fcn.00531e60
movzx ebx, al
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x549449
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x549449
cmp esi, edi
je 0x549449
mov eax, dword [esi]
cmp eax, edi
je 0x549425
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x549435
push eax
call fcn.004a3d2b
add esp, 4
push esi
call fcn.004a3d15
add esp, 4
jmp 0x549449
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x561d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b59ef
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004aa071
lea edi, [esi + 0x54]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esi], vtable.FCDrawTextEx.0
call fcn.004aa071
mov dword [edi], vtable.CRichEditCtrl.0
mov byte [esp + 0x2c], 1
call fcn.004a581f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x561dcc
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x60], 3
mov dword [esi + 0xb0], 0xffffffff
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
call fcn.004aeb04
push eax
push ebx
mov ecx, esi
call fcn.004add41
push 0x4d2
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x40000004
push 0x20
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.005930c5
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x56f590
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b75c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov edi, 0x64
push eax
mov esi, 0x58ea00
mov ebx, 0x58ec70
mov ebp, edi
call fcn.0058ecb0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 0
test eax, eax
je 0x56f5e7
mov eax, dword [eax]
jmp 0x56f5e9
xor eax, eax
push 8
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x48]
push 8
lea edx, [esp + 0x2c]
push edx
push 0x56f410
push 0x56f4c0
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
call fcn.00557880
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x56f665
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x56f665
test esi, esi
je 0x56f665
mov eax, dword [esi]
test eax, eax
je 0x56f64c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x56f65c
push eax
call fcn.004a3d2b
add esp, 4
push esi
call fcn.004a3d15
add esp, 4
lea eax, [esp + 0x18]
mov edi, 0x64
push eax
mov esi, 0x58ea50
mov ebx, 0x58ec90
mov ebp, edi
call fcn.0058ecd0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 1
test eax, eax
je 0x56f695
mov eax, dword [eax]
jmp 0x56f697
xor eax, eax
push 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
push 8
lea edx, [esp + 0x34]
push edx
push 0x56f410
push 0x56f4c0
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.00557880
mov eax, dword [esp + 0x18]
test eax, eax
je 0x56f70b
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x56f70b
test esi, esi
je 0x56f70b
mov eax, dword [esi]
test eax, eax
je 0x56f6f2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x56f702
push eax
call fcn.004a3d2b
add esp, 4
push esi
call fcn.004a3d15
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x5759b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0x57e730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x57e8da
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x57e788
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x57e79b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x57e7af
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x57e7f6.3
jmp 0x57e7c0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x57e7cc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x57e7d1
mov esi, 1
inc eax
cmp eax, edi
jl 0x57e7c0
cmp si, cx
je case.0x57e7f6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x57e7f6.3
movzx eax, byte [eax + 0x57e8f4]
jmp dword [eax*4 + 0x57e8e0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x57e7f6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x57e810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x57e7f6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x57e850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x57e7f6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x57e876
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x57e7f6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x57e8a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x5865d0
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x60f6a0
push 0x4e93b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x61ac94]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x80c]
xor eax, eax
mov word [ebp], ax
push 0x7fe
xor edi, edi
push edi
lea ecx, [ebp + 2]
push ecx
call fcn.004e5fc0
push esi
push 0x5c7588
push 0x800
lea edx, [ebp]
push edx
call fcn.0041c900
add esp, 0x1c
push 5
push edi
lea eax, [ebp]
push eax
push str.Explorer
push 0x5e8ee8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x58672f
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x1c]
push ecx
push 0x5d744c
push 0x15
push edi
push 0x5d748c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x58673f
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x586728
mov dword [ebp - 0x20], edi
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x5866c5
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x5866d0
sub eax, edx
sar eax, 1
je 0x58671d
xor ecx, ecx
mov word [ebp - 0x30], cx
mov edx, 8
mov word [ebp - 0x44], dx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x44]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x586748
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004e5fb0
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x588c50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b7fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
xor ebp, ebp
mov ebx, ecx
cmp esi, ebp
jne 0x588c9f
push ebp
push ebp
push ebp
push 2
call fcn.0058d480
xor al, al
jmp 0x588e37
call fcn.00586960
push 2
or eax, 0xffffffff
push ebp
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004efa5a
push esi
call fcn.004ef962
push ebp
push ebp
push esi
mov edi, eax
call fcn.004efa5a
add esp, 0x1c
cmp edi, ebp
jg 0x588cf0
cmp byte [esp + 0x48], 0
je 0x588cdd
push esi
call fcn.004eeffe
add esp, 4
push ebp
push ebp
push ebp
push 0xd
mov ecx, ebx
call fcn.0058d480
xor al, al
jmp 0x588e37
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], 0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebp
call fcn.0045f400
lea eax, [edi + 1]
push eax
call fcn.004a3d20
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.004ef457
add esp, 0x14
cmp eax, 1
je 0x588d73
cmp byte [esp + 0x48], 0
je 0x588d40
push esi
call fcn.004eeffe
add esp, 4
push ebp
call fcn.004a3d2b
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0058d480
cmp dword [esp + 0x2c], 0x10
jb 0x588d6c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a3d15
add esp, 4
xor al, al
jmp 0x588e37
cmp byte [esp + 0x48], 0
je 0x588d83
push esi
call fcn.004eeffe
add esp, 4
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x588de5
mov cl, byte [esi]
cmp cl, 0xa
jne 0x588dad
mov edx, esi
sub edx, eax
inc edx
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0045f940
inc esi
mov eax, esi
jmp 0x588de0
cmp cl, 0xd
jne 0x588ddf
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x588dc5
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0045f940
push 0xa
push 1
lea ecx, [esp + 0x1c]
call fcn.0045e660
cmp byte [esi + 1], 0xa
jne 0x588da8
add esi, 2
mov eax, esi
jmp 0x588de0
inc esi
cmp byte [esi], 0
jne 0x588d91
sub esi, eax
je 0x588df4
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0045f940
push ebp
call fcn.004a3d2b
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x2c], 0x10
jae 0x588e0c
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push ecx
push 0
push eax
mov ecx, ebx
call edx
cmp byte [ebx + 0x44], 0
lea ecx, [esp + 0x14]
je 0x588e30
call fcn.00414110
xor al, al
jmp 0x588e37
call fcn.00414110
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x2c
ret 0xc
Function at 0x589060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b806e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x20], ebx
mov byte [ecx + 4], bl
lea edi, [esi + 0x30]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov ebp, dword [esp + 0x28]
mov eax, ebp
lea edx, [eax + 1]
mov byte [esp + 0x20], 2
mov dword [esp + 0x28], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x5890d2
sub eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004144c0
mov edx, dword [esp + 0x2c]
mov eax, edx
lea ebp, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5890f0
sub eax, ebp
push eax
push edx
mov ecx, edi
call fcn.004144c0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x40892f
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408956
sub edi, edi
xor dword [eax], edx
sub ebx, edi
add edi, edi
add eax, 1
mov ebx, 0xc1c1c727
cmp eax, esi
jne fcn.0040892f
mov ebx, 0xfbfe0e92
ret
Function at 0x401c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5261a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x587730]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Compsetupstarter
lea ecx, [ebp - 0x10]
call fcn.00406480
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp + 8]
call fcn.00406d10
push 0x105
push 0x105
mov ecx, dword [ebp + 8]
call fcn.004065b0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00406600
push 0x536ec8
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ab0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00405dd0
add esp, 8
mov byte [ebp - 0x12], al
lea ecx, [ebp - 0x18]
call fcn.00406500
movzx edx, byte [ebp - 0x12]
test edx, edx
je 0x401d3a
push 0x536ec8
mov ecx, dword [ebp + 8]
call fcn.00405600
mov ecx, dword [ebp + 8]
call fcn.00405e50
movzx eax, al
test eax, eax
je 0x401d68
push str.WindowsFolder_not_found___
lea ecx, [ebp - 0x10]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
jmp 0x401d6c
mov byte [ebp - 0x11], 1
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x19], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406500
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x401da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5261a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x587730]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Compsetupstarter
lea ecx, [ebp - 0x10]
call fcn.00406480
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp + 8]
call fcn.00406d10
push 0x105
push 0x105
mov ecx, dword [ebp + 8]
call fcn.004065b0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00406600
push 0x536ec8
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ab0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00405dd0
add esp, 8
mov byte [ebp - 0x12], al
lea ecx, [ebp - 0x18]
call fcn.00406500
movzx edx, byte [ebp - 0x12]
test edx, edx
je 0x401e4a
push 0x536ec8
mov ecx, dword [ebp + 8]
call fcn.00405600
mov ecx, dword [ebp + 8]
call fcn.00405e50
movzx eax, al
test eax, eax
je 0x401e78
push str.SystemFolder_not_found___
lea ecx, [ebp - 0x10]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
jmp 0x401e7c
mov byte [ebp - 0x11], 1
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x19], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406500
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret