joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d097d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x238
mov eax, 0x69894c
call fcn.0056e23b
mov edi, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
mov ecx, edi
mov ebx, dword [ebp + 0xc]
push esi
push 0x6d50a0
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x238], esi
call fcn.004044d0
push ebx
lea ecx, [ebp - 0x234]
call fcn.0041d41a
mov dword [ebp - 4], esi
cmp dword [ebp - 0x220], esi
je 0x4d0b64
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.WindowsInstaller
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4d0ab5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.SystemComponent
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4d0ab5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.EstimatedSize
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4d0ab5
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
push ebx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d0b5b
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4d0aad
inc eax
push eax
call fcn.0056e306
mov edi, eax
pop ecx
test edi, edi
je 0x4d0aad
lea eax, [ebp - 0x238]
push eax
push edi
push esi
push esi
push ebx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d0aa6
mov ecx, dword [ebp - 0x240]
push edi
call fcn.004041d0
push edi
call fcn.0056e30f
pop ecx
xor esi, esi
inc esi
jmp 0x4d0b64
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00644240
add esp, 0xc
mov dword [ebp - 0x238], 4
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
push esi
push ebx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x4d0b5b
cmp dword [ebp - 0x240], 4
jne 0x4d0b54
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x244]
call fcn.006524cb
add esp, 0x10
cmp word [ebp - 0x218], 0
je 0x4d0b3f
lea eax, [ebp - 0x218]
push eax
call fcn.00647fd1
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.004044d0
mov eax, dword [ebp - 0x23c]
xor ecx, ecx
inc ecx
mov esi, ecx
jmp 0x4d0b5e
xor ecx, ecx
inc ecx
cmp eax, 2
cmove esi, ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0041786a
mov eax, esi
call fcn.0056e1e5
ret 0xc
Function at 0x4d0e06
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push edi
push str.Wintellect_RestrictedProcessJob
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov edi, eax
test edi, edi
je 0x4d0ef7
push ebx
push esi
push esi
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov ebx, eax
lea eax, [ebp - 0x10]
push 8
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.00644240
add esp, 0xc
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push 8
push eax
push 7
push edi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push 0x40
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], 0x44
push esi
push eax
call fcn.00644240
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push esi
push 4
push esi
push esi
push esi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4d0ee0
push dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x4d0eac
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc esi
push dword [ebp - 0x1c]
call ebx
push dword [ebp - 0x20]
call ebx
or dword [ebp + 8], 0xffffffff
mov ebx, dword [ebp - 4]
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
cmp dword [ebp + 8], 4
jne 0x4d0ebd
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4d0eec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
push dword [ebp - 4]
call ebx
push edi
call ebx
pop ebx
jmp 0x4d0f03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4d1e08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x40
xor esi, esi
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00644240
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x8000044
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
test eax, eax
je 0x4d1e56
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
jmp 0x4d1e58
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d2485
Capabilities:
Get user security identifier

Disassembly:
push 0x32c
mov eax, 0x698b7e
call fcn.0056e23b
mov eax, dword [ebp + 8]
mov ecx, 0x100
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x330], ecx
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x310]
push ecx
lea ecx, [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4d2583
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidIdentifierAuthority]
movzx eax, byte [eax + 5]
push eax
push 0x6d5348
push esi
call fcn.0041ccda
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
xor edi, edi
movzx ebx, byte [eax]
test ebx, ebx
je 0x4d2576
lea ecx, [ebp - 0x32c]
call fcn.004173bc
and dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
push dword [eax]
lea eax, [ebp - 0x32c]
push 0x6d5358
push eax
call fcn.0041ccda
add esp, 0xc
mov ecx, esi
push 0x6d5360
call fcn.00419c79
lea eax, [ebp - 0x32c]
mov ecx, esi
push eax
call fcn.0041dfd7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.0041786a
inc edi
cmp edi, ebx
jl 0x4d2515
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x4d2585
mov eax, dword [eax]
jmp 0x4d2585
xor eax, eax
call fcn.0056e1e5
ret

Function at 0x4d2795
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp byte [ecx + 0x90], 0
je 0x4d27ce
lea eax, [ecx + 0x78]
cmp dword [eax + 0x14], 8
jb 0x4d27af
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4d27ce
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
jmp 0x4d27d2
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x4d27d6
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [ecx + 0x90], 0
je 0x4d2814
lea eax, [ecx + 0x78]
cmp dword [eax + 0x14], 8
jb 0x4d27f0
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4d2814
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
jmp 0x4d2816
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d8ba5
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x699a99
call fcn.0056e23b
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.004173bc
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x68], ebx
je 0x4d8bcd
push 5
pop edi
jmp 0x4d8c96
mov edi, dword [ebp + 8]
cmp edi, 0x1a
jb 0x4d8bd9
push 0x57
jmp 0x4d8bc7
mov ecx, esi
call fcn.004d8882
push 0xcc
call fcn.0056def4
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4d8c0e
lea eax, [esi + 0x74]
push eax
push 0x6d6798
lea eax, [esi + 0xc]
push eax
call fcn.00453255
mov ecx, eax
jmp 0x4d8c10
mov ecx, ebx
mov byte [ebp - 4], bl
mov dword [esi + 0x18], ecx
test ecx, ecx
jne 0x4d8c1e
push 0xe
jmp 0x4d8bc7
mov edx, dword [ecx]
lea eax, [edi + 0x41]
push eax
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4d8c96
mov edx, dword [0x7e7c90]
mov ecx, ebx
mov eax, edx
and eax, 1
or eax, ebx
je 0x4d8c40
push 0x20
pop ecx
mov eax, edx
and eax, 2
or eax, ebx
je 0x4d8c4c
or ecx, 0x40
and edx, 4
or edx, ebx
je 0x4d8c59
or ecx, 0x80
push dword [0x7e7c9c]
push ecx
push dword [0x7e7c98]
lea ecx, [esi + 0xc]
call fcn.00457787
mov eax, dword [ebp + 8]
push ebx
push ebx
push esi
push 0x4d8cd7
push ebx
mov dword [esi + 0x6c], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x68], eax
test eax, eax
jne 0x4d8ca6
mov edi, 0x9b
mov ecx, esi
call fcn.004d851a
mov dword [esi + 0x70], 1
mov ebx, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, ebx
call fcn.0056e1e5
ret 8
Function at 0x4dc788
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
mov esi, ecx
push eax
push eax
push esi
push 0x4dc806
push eax
push eax
mov dword [esi + 0x944], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x948], eax
pop esi
ret

Function at 0x4de146
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x230
mov eax, 0x69447d
call fcn.0056e23b
mov dword [ebp - 0x23c], ecx
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp + 0xc]
push 0x40000
push ebx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], esi
call fcn.00567b83
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4de1a3
push dword [ebp - 0x234]
push 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
neg eax
push edi
sbb esi, esi
inc esi
mov dword [ebp - 0x238], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x10], 0
je 0x4de281
push 0x20019
push ebx
call fcn.00567b83
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4de281
xor eax, eax
push 0x100
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4de27a
mov esi, dword [ebp - 0x234]
inc dword [ebp - 0x230]
lea ecx, [ebp - 0x22c]
call fcn.004173bc
and dword [ebp - 4], 0
lea eax, [ebp - 0x210]
push eax
push ebx
lea eax, [ebp - 0x22c]
push 0x6d6f04
push eax
call fcn.0041ccda
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x228]
add esp, 0x10
cmp dword [ebp - 0x214], 8
cmovae eax, dword [ebp - 0x228]
push 1
push esi
push eax
call fcn.004de146
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
push 0x100
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x230]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4de1ef
mov esi, dword [ebp - 0x238]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0056e1e5
ret 0xc
Function at 0x4f7e33
Capabilities:
Get disk size

Disassembly:
push 0x2c
mov eax, 0x69b6f0
call fcn.0056e23b
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xb8]
mov dword [ebp - 0x30], eax
call fcn.005627e7
lea ebx, [edi + 0x11ec]
mov ecx, ebx
call fcn.00595ff2
test eax, eax
je 0x4f7e9a
push 0x1e1
mov ecx, 0x796c94
call fcn.00417bfd
lea esi, [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x4f7e7d
mov esi, dword [esi]
mov ecx, ebx
call fcn.00595ff2
dec eax
mov ecx, ebx
push eax
call fcn.005796c8
push eax
push esi
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4f7ed1
mov eax, dword [0x7c6e2c]
mov ecx, 0x796c94
push 0x1e1
mov eax, dword [eax + 0x138]
mov esi, dword [eax]
call fcn.00417bfd
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4f7ec1
mov eax, dword [eax]
push esi
push 1
push 0x6eaca8
push eax
mov ecx, edi
call fcn.004f7db3
mov ecx, ebx
call fcn.00595ff2
dec eax
lea ecx, [ebp - 0x2c]
mov dword [edi + 0xdc], eax
call fcn.004173bc
and dword [ebp - 4], 0
mov ecx, 0x796c94
push 0x1b
call fcn.00417bfd
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x4f7f02
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x30]
lea eax, [esi + 0x41]
movzx eax, ax
push eax
push ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push str._s__c:
push eax
call fcn.0041ccda
push 0x110
call fcn.0056def4
add esp, 0x14
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4f7f50
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 3
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
mov ecx, eax
call fcn.00506a88
mov esi, eax
jmp 0x4f7f52
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x4f805d
mov ecx, esi
mov dword [esi + 0x20], 1
call fcn.005070a4
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push 0x6eacd0
push eax
call fcn.0041ccda
add esp, 0xc
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4f8004
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
test ecx, ecx
jne 0x4f7fac
test eax, eax
je 0x4f8004
mov dword [esi + 0x1c], ecx
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00507048
push esi
push dword [edi + 0xdc]
mov ecx, edi
call fcn.004f807c
push 0
push 0
push dword [edi + 0xe0]
mov ecx, ebx
push dword [edi + 0xdc]
call fcn.0057b9b4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xb4]
push 0
push dword [edi + 0xe0]
mov ecx, ebx
push dword [edi + 0xdc]
call fcn.0057bee6
mov ecx, ebx
call fcn.0057b492
lea esi, [edi + 0x1138]
mov ecx, esi
call fcn.00544670
inc eax
mov ecx, esi
push eax
call fcn.00544805
mov ecx, esi
call fcn.00544670
mov ecx, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
call fcn.0058641f
movss xmm1, dword [ebp - 0x30]
push ecx
lea ecx, [edi + 0x320]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x6b4064]
movss dword [esp], xmm1
call fcn.0051a564
lea ecx, [edi + 0xb8]
call fcn.005627f7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
call fcn.0056e1e5
ret 4
Function at 0x4fdc69
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov esi, ecx
xor edi, edi
inc edi
cmp dword [esi + 0xd4], 0
je 0x4fde63
and dword [ebp - 4], 0
push ebx
lea ebx, [esi + 0xe8]
mov ecx, ebx
call fcn.0052907d
test eax, eax
jne 0x4fdcee
push 0x46
mov ecx, 0x796c94
call fcn.00417bfd
lea edx, [eax + 4]
cmp dword [edx + 0x14], 8
jb 0x4fdcb0
mov edx, dword [edx]
lea ecx, [esi + 0x730]
mov eax, dword [ecx]
push edi
push edx
call dword [eax + 0xe4]
mov ecx, ebx
call fcn.004c2c08
push edi
lea ecx, [esi + 0x320]
call fcn.0051a4ec
push edi
lea ecx, [esi + 0x218]
call fcn.0041b7bc
mov ecx, dword [0x79670c]
push esi
call fcn.00558143
mov dword [ebp - 4], edi
push edi
mov ecx, 0x79688c
call fcn.00471fa3
mov ecx, 0x796c94
test eax, eax
je 0x4fdd09
push 0x158
jmp 0x4fdd0e
push 0x159
call fcn.00417bfd
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4fdd1e
mov eax, dword [eax]
push 0xefffffff
push 4
push 2
push 4
push eax
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0x44]
push eax
call fcn.0055da2e
sub eax, 6
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x4fde06
lea ecx, [esi + 0x218]
call fcn.00487b29
mov ecx, ebx
call fcn.004c2c80
push 0xffffffffffffffff
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
sbb edx, dword [ebp - 0xc]
call fcn.0056e920
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movsd qword [ebp - 0x20], xmm0
call fcn.0056e920
movsd xmm1, qword [ebp - 0x20]
jmp 0x4fddf6
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
call esi
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
sbb edx, dword [ebp - 0xc]
call fcn.0056e920
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movsd qword [ebp - 0x20], xmm0
call fcn.0056e920
movsd xmm1, qword [ebp - 0x20]
divsd xmm1, xmm0
comisd xmm1, xmmword [0x6b16e0]
jb 0x4fddb0
jmp 0x4fde62
cmp dword [ebp - 4], 0
je 0x4fde60
push 0x3c
mov ecx, 0x796c94
call fcn.00417bfd
lea edx, [eax + 4]
cmp dword [edx + 0x14], 8
jb 0x4fde23
mov edx, dword [edx]
lea ecx, [esi + 0x730]
mov eax, dword [ecx]
push edi
push edx
call dword [eax + 0xe4]
mov ecx, ebx
call fcn.004c2c4e
push 0
lea ecx, [esi + 0x320]
call fcn.0051a4ec
push 0
lea ecx, [esi + 0x218]
call fcn.0041b7bc
mov ecx, dword [0x79670c]
push esi
call fcn.005580ac
xor edi, edi
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ffe2e
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x6a46b3
call fcn.0056e23b
mov esi, ecx
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
mov dword [ebp - 4], edi
lea eax, [ebp - 0x28]
push eax
call fcn.004ff9d6
test eax, eax
je 0x4ffee8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ffee8
push 0x6eb44c
lea ecx, [esi + 0x10]
call fcn.004179fb
push 0x6eb450
lea ecx, [esi + 0x80]
call fcn.004179fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
mov dword [esi + 8], edi
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [esi + 0xc], edi
call fcn.004ff929
cmp dword [esi + 0x9c], edi
je 0x4ffed7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005655b9
pop ecx
push edx
push eax
mov ecx, esi
call fcn.004ffe00
cmp byte [ebp + 8], 0
je 0x4ffee3
mov dword [esi + 0xa0], edi
xor esi, esi
inc esi
jmp 0x4ffeea
mov esi, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00401d60
mov eax, esi
call fcn.0056e1e5
ret 4

Function at 0x500e84
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x24
xor esi, esi
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.00644240
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
push esi
push eax
call fcn.00644240
add esp, 0x18
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x6eb46c
push 0x6eb480
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x500ef9
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x500f06
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x11c], 6
ja 0x500f1a
jne 0x500f1d
cmp dword [ebp - 0x118], 2
jb 0x500f1d
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x504eb8
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0x90
mov eax, 0x69c74e
call fcn.0056e23b
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x80]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.00644240
mov dword [ebp - 0x80], ebx
lea eax, [ebp - 0x3c]
push 0x10
xor ebx, ebx
push ebx
push eax
call fcn.00644240
add esp, 0x18
mov dword [ebp - 0x54], 0x101
xor eax, eax
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x50], ax
call fcn.004173bc
mov dword [ebp - 4], ebx
add esi, 8
cmp dword [esi + 0x14], 8
jb 0x504f12
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x2c]
push 0x6ebbb8
push eax
call fcn.0041ccda
add esp, 0x10
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x504f94
mov esi, ebx
push 2
push ebx
push ebx
push ebx
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
push 0x64
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x504f84
cmp eax, 0x80
je 0x504f84
cmp eax, 0xffffffff
je 0x504f84
add esi, 0x64
cmp esi, 0xea60
jb 0x504f4c
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
xor eax, eax
inc eax
call fcn.0056e1e5
ret 4

Function at 0x504fab
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x68a4df
call fcn.0056e23b
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x234]
call fcn.004173bc
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x230]
push eax
push str._Temp_
push esi
call fcn.004552fa
add esp, 0xc
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push esi
push 0x6ebbd4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x505027
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.004179fb
lea esi, [edi + 4]
cmp dword [esi + 0x14], 8
jb 0x505027
mov esi, dword [esi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0041786a
mov eax, esi
call fcn.0056e1e5
ret 4
Function at 0x505670
Capabilities:
Delete file

Disassembly:
push 0x58
mov eax, 0x69c81a
call fcn.0056e23b
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.004173bc
and dword [ebp - 4], 0
push 8
pop ebx
test edi, edi
je 0x505782
cmp dword [esi + 0x18], 0
je 0x505782
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00504fab
test eax, eax
je 0x505782
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004173bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], ebx
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
push edi
call fcn.004552fa
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x30], ebx
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push str._convert_xml1___s___o___s_
push eax
call fcn.0041ccda
add esp, 0x1c
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], ebx
mov ecx, esi
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00504eb8
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00505040
test eax, eax
je 0x50576a
cmp dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push str._convert_binary1___s___o___s_
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], ebx
mov ecx, esi
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00504eb8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0041786a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
xor eax, eax
inc eax
call fcn.0056e1e5
ret 4