joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ecd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x20], 0x10
push ebx
push edi
lea edi, [ecx + 0xc]
jb 0x1007ecef
mov eax, dword [edi]
jmp 0x1007ecf1
mov eax, edi
push eax
push 0
push str.Count
push str.Desc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
test ebx, ebx
js 0x1007ed0f
cmp ebx, 0x64
jl 0x1007ed11
xor ebx, ebx
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x14]
push 0x100f7e00
push eax
call fcn.100750a0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x1007ed30
mov eax, dword [edi]
jmp 0x1007ed32
mov eax, edi
push eax
lea eax, [ebp - 0x14]
push eax
push str.Count
push str.Desc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x1007ed5d
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4
push esi
push 0
call fcn.1009fd5c
mov esi, eax
mov ecx, 5
mov eax, ebx
cdq
idiv ecx
lea eax, [ebp - 0x24]
push edx
push str.Report_d
push eax
call fcn.100750a0
push esi
lea eax, [ebp - 0x14]
push 0x100f7dd8
push eax
call fcn.100750a0
add esp, 0x1c
cmp dword [edi + 0x14], 0x10
jb 0x1007ed9c
mov eax, dword [edi]
jmp 0x1007ed9e
mov eax, edi
push eax
lea eax, [ebp - 0x14]
push eax
push str.ReportTime
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax]
mov dword [ebp - 0x28], esi
cmp esi, eax
je 0x1007ee3e
cmp dword [edi + 0x14], 0x10
jb 0x1007edca
mov edx, dword [edi]
jmp 0x1007edcc
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.10049d30
cmp dword [eax + 0x2c], 0x10
lea ecx, [eax + 0x18]
jb 0x1007eddf
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0x10
jb 0x1007ede7
mov eax, dword [eax]
push edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [esi + 0xd], 0
jne 0x1007ee3a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1007ee1c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1007ee37
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1007ee10
jmp 0x1007ee37
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1007ee35
cmp esi, dword [eax + 8]
jne 0x1007ee35
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1007ee25
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, dword [ebx]
jne 0x1007edc0
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4
Function at 0x1007f3a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x1007f41e
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100f828c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10095d66
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x1007f41e
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x1007f434
push str.GetAdaptersInfo
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret

Function at 0x1007f940
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
xorps xmm0, xmm0
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], 0x67452301
mov dword [ebp - 0x9c], 0xefcdab89
movups xmmword [ebx], xmm0
mov dword [ebp - 0x98], 0x98badcfe
movups xmmword [edi], xmm0
mov dword [ebp - 0x94], 0x10325476
movups xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
jb 0x1007f9c3
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.1007dbd0
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, ebx
call fcn.1007dcb0
xor esi, esi
movzx eax, byte [ebx + esi]
push eax
push str._02x
push 2
push 3
push edi
call fcn.1006a037
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x1007f9e3
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 0x20], 0
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10083080
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x18], 0x10
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push esi
lea esi, [ecx + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x18], xmm0
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
jb 0x100830f9
mov eax, dword [esi]
jmp 0x100830fb
mov eax, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x21
lea eax, [ebp - 0x28]
push eax
push 0
push str.config1
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x10083121
mov eax, dword [esi]
jmp 0x10083123
mov eax, esi
push eax
push 0x21
lea eax, [ebp - 0x4c]
push eax
push 0
push str.config2
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x10083142
mov eax, dword [esi]
jmp 0x10083144
mov eax, esi
push eax
push 0x21
lea eax, [ebp - 0x70]
push eax
push 0
push str.config3
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x10083161
mov esi, dword [esi]
push esi
push 0x21
lea eax, [ebp - 0x94]
push eax
push 0
push str.config4
push str.Profile
call edi
cmp byte [ebp - 0x28], 0
pop edi
jne 0x10083184
xor ecx, ecx
jmp 0x10083199
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083190
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.10005859
cmp byte [ebp - 0x4c], 0
pop esi
pop ebx
jne 0x100831b1
xor ecx, ecx
jmp 0x100831c0
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100831b7
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x4c]
push eax
call fcn.10005859
cmp byte [ebp - 0x70], 0
jne 0x100831da
xor ecx, ecx
jmp 0x100831e9
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100831e0
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
push eax
call fcn.10005859
cmp byte [ebp - 0x94], 0
jne 0x10083206
xor ecx, ecx
jmp 0x10083219
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083210
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x94]
push eax
call fcn.10005859
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10083760
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x40], eax
add ecx, 0x1c
mov byte [esp + 0x3c], 0
xorps xmm0, xmm0
push ebx
movups xmmword [esp + 0x20], xmm0
cmp dword [ecx + 0x14], 0x10
movups xmmword [esp + 0x30], xmm0
jb 0x10083792
mov ecx, dword [ecx]
push ecx
push 0x21
lea eax, [esp + 0x28]
push eax
push 0
push str.Guid
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
jne 0x100837cc
xor ecx, ecx
jmp 0x100837dc
lea ecx, [esp + 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100837d3
sub ecx, edx
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10005859
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [esp + 0x18], ebx
setne bl
cmp eax, 0x10
jb 0x1008382c
mov ecx, dword [esp + 8]
inc eax
cmp eax, 0x1000
jb 0x10083823
test cl, 0x1f
jne 0x1008383e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10083843
sub ecx, eax
cmp ecx, 4
jb 0x10083848
cmp ecx, 0x23
ja 0x1008384d
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1008a777
mov esp, ebp
pop ebp
ret
call fcn.100906d1
call fcn.100906d1
call fcn.100906d1
call fcn.100906d1
int3
Function at 0x10087d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x10c], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
call esi
test eax, eax
jne 0x10087f0e
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.1006a037
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10087f06
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 4
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call edi
test eax, eax
jne 0x10087efe
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call edi
test eax, eax
jne 0x10087efe
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x10087eef
push ebx
lea eax, [ebp - 0x108]
push 0x100f83e4
push eax
call fcn.100a05d0
add esp, 0xc
test eax, eax
jne 0x10087ebd
xor ebx, ebx
jmp 0x10087efe
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x10087eef
push 3
lea eax, [ebp - 0x108]
push 0x100f83e4
push eax
call fcn.100a05d0
add esp, 0xc
test eax, eax
je 0x10087ee9
mov ebx, 2
jmp 0x10087efe
mov eax, dword [ebp - 0x114]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call esi
push dword [ebp - 0x11c]
call esi
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret

Function at 0x10088590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0x10
lea eax, [esi + 0x20]
jb 0x100885b1
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x114]
push eax
push 0x100d1e22
push str.Guid
push str.ActiveGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x114]
call fcn.100740c0
test eax, eax
je 0x1008860c
movups xmm0, xmmword [ebp - 0x14]
mov al, byte [ebp - 0xf4]
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x114]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [esi + 0x58], xmm0
mov byte [esi + 0x68], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10088620
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
call edi
mov esi, eax
add esi, dword [ebp + 8]
mov dword [esp + 0x18], esi
call edi
cmp esi, eax
jae 0x1008872d
lea eax, [ebx + 0x48]
test eax, eax
jne 0x1008874a
cmp dword [ebx + 0x34], 0x10
lea edi, [ebx + 0x20]
jb 0x1008866c
mov eax, dword [edi]
jmp 0x1008866e
mov eax, edi
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x10088693
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1008869b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x70]
mov esi, dword [ebx + 0x74]
cmp edx, eax
jne 0x100886a9
cmp ecx, esi
je 0x10088712
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x14], 0x10
jb 0x100886bb
mov edi, dword [edi]
lea eax, [esp + 0x40]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x100886e0
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x100886e8
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jne 0x100886fa
cmp edi, edx
je 0x1008870b
mov ecx, ebx
call fcn.10088590
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x18], eax
lea eax, [ebx + 0x48]
jb 0x10088657
lea eax, [ebx + 0x48]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x64]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4

Function at 0x100a73b1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a7230
Function at 0x100b18f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x41c], 0
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.1008dc90
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x100b1a83
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x424], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.1008dc90
add esp, 0xc
mov ecx, dword [ebp - 0x428]
add ecx, 0x24
call fcn.10001e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x418], eax
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x100d4c8c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x100b1a4a
cmp dword [ebp - 0x418], 0
je 0x100b1a1c
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
test edx, edx
je 0x100b1a1c
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
lea edx, [ebp - 0x414]
push edx
push str._sQX_d._s
push 0x102
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10001eb4
add esp, 0x1c
jmp 0x100b1a48
mov ecx, dword [ebp - 0x424]
push ecx
lea edx, [ebp - 0x414]
push edx
push str._sQX_d.tmp
push 0x102
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10001eb4
add esp, 0x18
jmp 0x100b1a74
cmp dword [ebp - 0x418], 0
je 0x100b1a74
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
test edx, edx
je 0x100b1a74
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10001442
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4
Function at 0x100b1ce0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1008dc90
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.100a01f0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b1d84
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x100b1d84
mov ecx, dword [ebp - 0x214]
push ecx
push 0x100d4b28
push 2
push 0x100d4bc0
call fcn.1006a3c4
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.10001e70
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x100b1dc0
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.10001e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
push eax
push str.CHttpDownloadImp::MoveDownloadFile__target:_s
push 2
push str.D:qci_workspace_root_workspaces__qci_pipeline_11036542_1QQPCDownloadHttpDownloadHttpDownload.cpp
call fcn.1006a3c4
add esp, 0x10
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 8
Function at 0x100b2370
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x100b2386
xor eax, eax
jmp 0x100b24c9
mov dword [ebp - 8], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005eac0
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005eb60
push eax
lea ecx, [ebp - 0x14]
call fcn.1005ea90
movzx eax, al
test eax, eax
je 0x100b2409
lea ecx, [ebp - 0x38]
call fcn.1005e9b0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005f630
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 8], ecx
mov dword [ebp - 8], 0
jmp 0x100b24c6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.1005ea70
add eax, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
sub eax, dword [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jbe 0x100b24bd
cmp dword [ebp - 0x18], 0x12c
jbe 0x100b24bd
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100b24bd
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cvtsi2sd xmm0, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8530]
divsd xmm0, qword [0x100f84b0]
movsd qword [ebp - 0x2c], xmm0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
sub edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
cvtsi2sd xmm0, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8530]
divsd xmm0, qword [ebp - 0x2c]
call fcn.100ba221
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x100b24c6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b3050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c409b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x230]
push eax
call fcn.100b3240
add esp, 4
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push str.qmdl
lea ecx, [ebp - 0x230]
call fcn.10001e70
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x100b3123
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10001e70
push eax
push str._sqmdl_u.tmp
push 0xffffffffffffffff
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.10001eb4
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100028c0
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10001faa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret

Function at 0x100b3170
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c40cb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b3240
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002800
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10002804
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x100b31d8
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.1000f6ae
push str.QMDownload
lea ecx, [ebp - 0x28]
call fcn.1000557b
push 0
lea ecx, [ebp - 0x28]
call fcn.10001e70
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000289b
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001faa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x100b3240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1008dc90
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.100028c0
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret