joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eac21
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa0
call fcn.0053b8f0
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
mov edi, ecx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00538910
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4eac79
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4eacbe
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x4eacbe
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x4eae1b
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4eacc7
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
push eax
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0053fad6
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2a9c], eax
test eax, eax
jne 0x4ead0e
xor al, al
jmp 0x4eae0a
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4eadda
lea ecx, [ebp - 0x2aa0]
mov dword [ebp - 0x2aa0], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x4eadda
push 3
lea esi, [ebp - 0x2a8c]
pop ebx
lea ecx, [esi + 8]
call fcn.004ea7ff
mov dword [ebp - 0x2a98], eax
mov ecx, edi
xor eax, eax
mov dword [ebp - 0x2a94], eax
mov word [ebp - 0x2a90], ax
lea eax, [ebp - 0x2a94]
push eax
call fcn.004ea7c3
test al, al
jne 0x4ead91
cmp dword [esi + 0x1a0], 6
jne 0x4eadce
mov ecx, dword [ebp - 0x2a98]
cmp ebx, ecx
jle 0x4eadce
jmp 0x4ead97
mov ecx, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov ebx, ecx
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov esi, dword [esi]
test esi, esi
jne 0x4ead4d
xor ebx, ebx
push dword [ebp - 0x2a9c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.004ea7c3
xor ecx, ecx
test al, al
sete cl
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
call fcn.0053c21f
int3
Function at 0x4eb5d5
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd38], edx
push edi
mov dword [ebp - 0xd34], ecx
xor esi, esi
mov dword [ebp - 0xd3c], eax
test bl, bl
jne 0x4eb82c
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.00538910
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x50c]
push 0xff
push eax
call fcn.004ebe56
add esp, 0x1c
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd40], eax
cmp eax, 0xffffffff
je 0x4eb822
xor eax, eax
lea edi, [ebp - 0xd18]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0xd44], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd0c]
mov edi, 0x800
mov dword [ebp - 0xd18], ecx
push edi
push ecx
push eax
mov dword [ebp - 0xd14], ecx
call fcn.00538910
add esp, 0xc
lea eax, [ebp - 0xd44]
push 0
push eax
push edi
mov edi, dword [ebp - 0xd40]
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4eb815
push 0xff
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0
push eax
call fcn.00538910
push 0xff
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push 0
push eax
call fcn.00538910
push 0xff
lea eax, [ebp - 0x30b]
mov byte [ebp - 0x30c], bl
push 0
push eax
call fcn.00538910
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.004eaff5
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.004eaff5
mov edx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x10c]
push eax
push 1
lea ecx, [ebp - 0xd0c]
call fcn.004eaff5
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.0053ef52
add esp, 0x40
test eax, eax
jne 0x4eb78b
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.0053ef52
pop ecx
test eax, eax
je 0x4eb81b
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0040ea84
mov ecx, dword [ebp - 0xd34]
push eax
call fcn.0043d57b
xor ebx, ebx
lea ecx, [ebp - 0xd30]
push ebx
push 1
call fcn.00403364
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0040ea84
mov ecx, dword [ebp - 0xd38]
push eax
call fcn.0043d57b
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.00403364
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0040ea84
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.0043d57b
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.00403364
mov bl, 1
jmp 0x4eb81b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x4eb604
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4f38c0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x3c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x40
push 0
push eax
call fcn.00538910
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push dword [ebp + 8]
call fcn.004f8f50
mov eax, dword [ebp + 8]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4f4430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x314], 0
jne 0x4f45ca
push 0x1c
call fcn.0041286d
mov esi, eax
add esp, 4
test esi, esi
je 0x4f4474
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
jmp 0x4f4476
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004f2570
push 0x16
push str._actiononline_config
mov ecx, eax
call fcn.00409102
mov edi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [edi + 0x14], 8
jae 0x4f44c8
mov eax, dword [edi + 0x10]
inc eax
je 0x4f44d3
add eax, eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00536b40
add esp, 0xc
jmp 0x4f44d3
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
lea edi, [esi + 4]
lea eax, [ebp - 0x18]
cmp edi, eax
je 0x4f452a
cmp dword [edi + 0x14], 8
jb 0x4f450c
push dword [edi]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00440913
cmp dword [ebp - 4], 8
jb 0x4f453b
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f4560
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
mov eax, dword [ebx + 0xf0]
cmp eax, 0xffffffff
jne 0x4f4576
mov eax, dword [ebx + 0x84]
cmp eax, 0xffffffff
je 0x4f4596
test eax, eax
je 0x4f4596
sub esp, 0x18
mov eax, esp
push edi
push str.OnlineCfg:
push eax
call fcn.0044fdd8
add esp, 0xc
call fcn.004c39b0
add esp, 0x18
push 0
push 0
push esi
push 0x4f57d0
push 0
push 0
call fcn.00537b86
add esp, 0x18
mov dword [ebx + 0x314], eax
test eax, eax
je 0x4f45ca
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x318], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f4ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x310], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4f4d43
push str.FILE
push 0xc9
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f4ce4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4f4cd9
test ebx, ebx
je 0x4f4cd9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xf
mov dword [ebp - 8], 0
mov byte [ebp - 0x18], 0
call fcn.0040eb6a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004f6930
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.004032bc
jmp 0x4f4d4b
push eax
call fcn.004f6930
mov bl, al
push 6
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004f4a50
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004fa2a0
cmp dword [ebp - 4], 8
jb 0x4f4d76
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
mov eax, dword [esi + 0x94]
cmp eax, 0xffffffff
jne 0x4f4d89
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
je 0x4f4dab
test eax, eax
je 0x4f4dab
cmp byte [esi + 0x310], 0
jne 0x4f4dab
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov ecx, esi
call fcn.004f5b80
mov eax, dword [esi + 0xcc]
cmp eax, 0xffffffff
jne 0x4f4dc5
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x4f4dc9
test eax, eax
je 0x4f4dd0
mov ecx, esi
call fcn.004f4430
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f58d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
test esi, esi
je 0x4f5992
mov eax, dword [edi + 0xf0]
cmp eax, 0xffffffff
jne 0x4f5902
mov eax, dword [edi + 0x84]
cmp eax, 0xffffffff
je 0x4f598a
test eax, eax
je 0x4f598a
cmp dword [esi + 0x14], 0x10
jb 0x4f5914
mov eax, dword [esi]
jmp 0x4f5916
mov eax, esi
lea ecx, [ebp - 0x118]
push 0xfde9
mov dword [ebp - 0x11c], ecx
lea ecx, [ebp - 0x11c]
push eax
call fcn.004bc400
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x18]
call fcn.00408738
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
cmp eax, ecx
je 0x4f595a
push eax
call fcn.005363a4
add esp, 4
sub esp, 0x18
lea ecx, [ebp - 0x18]
mov eax, esp
push ecx
push 0x57f774
push eax
call fcn.0044fdd8
add esp, 0xc
call fcn.004c39b0
add esp, 0x18
cmp dword [ebp - 4], 8
jb 0x4f598a
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
push esi
mov ecx, edi
call fcn.004f6930
mov eax, dword [edi + 0x350]
test eax, eax
je 0x4f59c2
push 0
push 0
push eax
push 0x4f20b0
push 0
push 0
call fcn.00537b86
add esp, 0x18
mov dword [edi + 0x31c], eax
mov dword [edi + 0x350], 0
mov eax, dword [edi + 0x318]
test eax, eax
je 0x4f59d3
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x4f5a01
cmp dword [esi + 0x14], 0x10
jb 0x4f59e7
push dword [esi]
call fcn.00412895
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.00412895
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4fb1b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x40], 3
je 0x4fb1c6
fldz
pop edi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x140]
mov dword [edi + 0x144], eax
movsd xmm5, qword [0x5ab998]
movsd xmm4, qword [0x5ab9a0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x5abbb0]
divsd xmm1, qword [0x57fb10]
comisd xmm5, xmm1
jbe 0x4fb23c
mulsd xmm1, qword [0x5ab9a8]
mov eax, 2
movapd xmm2, xmm4
jmp 0x4fb220
test al, 1
je 0x4fb228
mulsd xmm2, xmm1
shr eax, 1
je 0x4fb236
movapd xmm0, xmm1
mulsd xmm1, xmm0
jmp 0x4fb220
mulsd xmm2, xmm5
jmp 0x4fb279
comisd xmm4, xmm1
jbe 0x4fb28a
subsd xmm1, xmm4
mov eax, 2
movapd xmm3, xmm4
mulsd xmm1, qword [0x5ab9a8]
test al, 1
je 0x4fb25f
mulsd xmm3, xmm1
shr eax, 1
je 0x4fb26d
movapd xmm0, xmm1
mulsd xmm1, xmm0
jmp 0x4fb257
mulsd xmm3, xmm5
movapd xmm2, xmm4
subsd xmm2, xmm3
ucomisd xmm2, xmm4
movsd qword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x4fb304
jmp 0x4fb28f
movsd qword [ebp - 8], xmm4
cmp dword [0x5c81ec], 0
je 0x4fb304
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
lea eax, [edi + 0xf0]
push 0x20
push 0xa0
push 0xa0
push edi
push 0x4fc990
push dword [edi + 0x48]
mov dword [0x5c81ec], 0
push eax
call esi
push 0x20
push 0x14
push 0x14
push edi
push 0x4fc910
push dword [edi + 0x48]
lea eax, [edi + 0x12c]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x20
push 0x14
push 0x14
push edi
push 0x4fc930
push dword [edi + 0x48]
mov dword [edi + 0x134], eax
lea eax, [edi + 0x130]
push eax
call esi
pop esi
fld qword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4fef70
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
push 0x7e6
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
ret
push esi
mov esi, ecx
mov ecx, dword [esi]
add ecx, 0xc4
call fcn.004f5680
test al, al
je 0x4fef92
mov ecx, dword [esi]
add ecx, 0xc4
pop esi
jmp 0x4f5aa0
mov esi, dword [esi]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4fefc3
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fefc3
push 0
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x465
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x500660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp word [edi], ax
jne 0x500688
xor ecx, ecx
jmp 0x50069f
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x500690
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.00408679
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 1
push eax
push dword [ebp + 0xc]
push esi
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x5006cf
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x5006d9
mov eax, dword [esi]
jmp 0x5006db
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x50076f
push edi
lea ecx, [ebp - 0x30]
call fcn.00408738
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004bc990
mov edi, eax
add esp, 0x10
cmp esi, edi
je 0x500739
cmp dword [esi + 0x14], 8
jb 0x50071e
push dword [esi]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00440913
cmp dword [ebp - 4], 8
jb 0x50074a
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x50076f
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x500960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push edi
push 1
push esi
push 7
push eax
mov edi, ecx
call fcn.004bc990
add esp, 0x10
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x500a83
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.0040759d
push dword [ebp + 0xc]
xor eax, eax
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.0040759d
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 7
push dword [eax]
call fcn.004ffaa0
xor eax, eax
mov dword [ebp - 0x1c], 7
push eax
push 0x594314
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408679
xor eax, eax
mov dword [ebp - 4], 7
push eax
push 0x594314
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408679
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push 0
push 0
push 0x65
push 0x7d6
call fcn.00502870
cmp dword [ebp - 4], 8
jb 0x500a5e
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x500a83
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
cmp dword [ebp - 0x34], 8
jb 0x500a94
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x500bd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004c3630
add esp, 4
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
push 0x3b
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlags
call fcn.00408679
push str.Compatibility_AssistantPersisted
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044551b
push 0x580b98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044551b
push 0x20006
push SysReAllocString
push 1
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004bef50
add esp, 0x2c
call fcn.004b2710
cmp eax, 0x40
jne 0x500c9a
cmp dword [ebp - 4], 8
lea ecx, [ebp + 8]
push ecx
push 0x2011f
lea eax, [ebp - 0x18]
mov dword [ebp + 8], 0
cmovae eax, dword [ebp - 0x18]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x500c9a
cmp dword [esi + 0x14], 8
jb 0x500c82
mov esi, dword [esi]
push esi
push str.Layers
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 8
pop esi
jb 0x500cac
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x500cd1
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 4], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x500cf6
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x501100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0xa
ja 0x50113c
cmp dword [ecx + eax*4 + 0x48], 0
push esi
lea esi, [ecx + eax*4]
jne 0x50112f
push 0
push 0
push eax
push 0x509900
push 0
push 0
call fcn.00537b86
add esp, 0x18
mov dword [esi + 0x48], eax
xor eax, eax
cmp dword [esi + 0x48], eax
pop esi
setne al
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4
Function at 0x501680
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
push esi
mov esi, ecx
cmp dword [esi + 0x4c0], eax
je 0x5016a2
mov dword [esi + 0x480], 5
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x19
push str.mutex_qqbrowser_uninstall
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
call fcn.00408679
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
je 0x5016ea
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
xor ebx, ebx
test edi, edi
setne bl
cmp dword [ebp - 0xc], 8
jb 0x501703
push dword [ebp - 0x20]
call fcn.00412895
add esp, 4
test ebx, ebx
pop ebx
je 0x50171a
pop edi
mov dword [esi + 0x480], 6
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004c2ea0
test eax, eax
jne 0x501733
pop edi
mov dword [esi + 0x480], 2
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 8], 0
push 4
push eax
mov dword [ebp - 4], 0
call fcn.004bc8f0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005030d0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x501763
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0xc], 8
mov edi, eax
jb 0x501785
push dword [ebp - 0x20]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
jb 0x5017aa
push dword [ebp - 0x38]
call fcn.00412895
add esp, 4
test edi, edi
je 0x5017d1
cmp dword [ebp - 4], 0
ja 0x5017d1
jb 0x5017bf
cmp dword [ebp - 8], 0x12c00000
jae 0x5017d1
pop edi
mov dword [esi + 0x480], 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5025f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0xc
xor eax, eax
mov dword [ebp - 0x28], 7
push str.nsis_skin.gt
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.00408679
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 0x28], 8
jb 0x502641
push dword [ebp - 0x3c]
call fcn.00412895
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x24]
push eax
call fcn.0040759d
lea eax, [ebp - 0x54]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x5026ac
cmp dword [ebp - 0x10], 8
jb 0x50268f
push dword [ebp - 0x24]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00440913
cmp dword [ebp - 0x40], 8
jb 0x5026bd
push dword [ebp - 0x54]
call fcn.00412895
add esp, 4
cmp dword [ebp - 0x10], 8
lea esi, [ebp - 0x24]
mov eax, dword [0x5e53f8]
cmovae esi, dword [ebp - 0x24]
test al, 1
jne 0x5026d9
or eax, 1
mov dword [0x5e53f8], eax
cmp dword [0x5e53fc], 2
je 0x5026ec
mov ecx, 0x5e53fc
call fcn.00449084
mov ecx, dword [0x5e5400]
push esi
call fcn.0044a0fb
test eax, eax
jne 0x502703
xor esi, esi
jmp 0x50280f
push 0x118
call fcn.0041286d
add esp, 4
test eax, eax
je 0x502723
push 0
push 0
mov ecx, eax
call fcn.00448410
mov edi, eax
jmp 0x502725
xor edi, edi
push 0x148
call fcn.0041286d
add esp, 4
test eax, eax
je 0x502743
push 0
mov ecx, eax
call fcn.004fb080
mov ebx, eax
jmp 0x502745
xor ebx, ebx
mov eax, dword [0x5e53f8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
test al, 1
jne 0x502764
or eax, 1
mov dword [0x5e53f8], eax
cmp dword [0x5e53fc], 2
je 0x502777
mov ecx, 0x5e53fc
call fcn.00449084
mov eax, dword [0x5e5400]
mov dword [ebp - 4], eax
mov eax, dword [0x5e53f8]
test al, 1
jne 0x502790
or eax, 1
mov dword [0x5e53f8], eax
cmp dword [0x5e53fc], 2
je 0x5027a3
mov ecx, 0x5e53fc
call fcn.00449084
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
mov esi, dword [0x5e5400]
push eax
push 0
push 7
call fcn.0044a129
push eax
push 6
mov ecx, esi
call fcn.0044a129
push eax
push ebx
mov ecx, edi
call fcn.004485ca
push 0x502f80
mov ecx, edi
mov esi, eax
call fcn.00448905
push 0x40
call fcn.0041286d
add esp, 4
test eax, eax
je 0x5027f1
mov ecx, eax
call fcn.004feef0
jmp 0x5027f3
xor eax, eax
push eax
mov ecx, edi
call fcn.00448656
push 0
mov ecx, edi
call fcn.0044869d
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x10], 8
jb 0x502820
push dword [ebp - 0x24]
call fcn.00412895
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret