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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x1007fbae
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008e420
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100f9b5c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10096511
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x1007fbae
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x1007fbc4
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.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100800d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1010c070]
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 0x10080153
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.1007e360
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, ebx
call fcn.1007e440
xor esi, esi
movzx eax, byte [ebx + esi]
push eax
push str._02x
push 2
push 3
push edi
call fcn.1006a7b7
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x10080173
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x10083810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010c070]
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 0x10083889
mov eax, dword [esi]
jmp 0x1008388b
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 0x100838b1
mov eax, dword [esi]
jmp 0x100838b3
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 0x100838d2
mov eax, dword [esi]
jmp 0x100838d4
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 0x100838f1
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 0x10083914
xor ecx, ecx
jmp 0x10083929
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083920
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.10005844
cmp byte [ebp - 0x4c], 0
pop esi
pop ebx
jne 0x10083941
xor ecx, ecx
jmp 0x10083950
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083947
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x4c]
push eax
call fcn.10005844
cmp byte [ebp - 0x70], 0
jne 0x1008396a
xor ecx, ecx
jmp 0x10083979
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083970
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
push eax
call fcn.10005844
cmp byte [ebp - 0x94], 0
jne 0x10083996
xor ecx, ecx
jmp 0x100839a9
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100839a0
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x94]
push eax
call fcn.10005844
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10083ef0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x1010c070]
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 0x10083f22
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 0x10083f5c
xor ecx, ecx
jmp 0x10083f6c
lea ecx, [esp + 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083f63
sub ecx, edx
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10005844
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [esp + 0x18], ebx
setne bl
cmp eax, 0x10
jb 0x10083fbc
mov ecx, dword [esp + 8]
inc eax
cmp eax, 0x1000
jb 0x10083fb3
test cl, 0x1f
jne 0x10083fce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10083fd3
sub ecx, eax
cmp ecx, 4
jb 0x10083fd8
cmp ecx, 0x23
ja 0x10083fdd
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
call fcn.10090e61
call fcn.10090e61
call fcn.10090e61
call fcn.10090e61
int3
Function at 0x100884d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1010c070]
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 0x1008869e
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.1006a7b7
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 0x10088696
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 0x1008868e
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.1008e420
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 0x1008868e
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x1008867f
push ebx
lea eax, [ebp - 0x108]
push 0x100f9d04
push eax
call fcn.100a0d70
add esp, 0xc
test eax, eax
jne 0x1008864d
xor ebx, ebx
jmp 0x1008868e
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x1008867f
push 3
lea eax, [ebp - 0x108]
push 0x100f9d04
push eax
call fcn.100a0d70
add esp, 0xc
test eax, eax
je 0x10088679
mov ebx, 2
jmp 0x1008868e
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.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x10088d20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0x10
lea eax, [esi + 0x20]
jb 0x10088d41
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x114]
push eax
push 0x100d2e02
push str.Guid
push str.ActiveGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x114]
call fcn.10074850
test eax, eax
je 0x10088d9c
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x10088db0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1010c070]
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 0x10088ebd
lea eax, [ebx + 0x48]
test eax, eax
jne 0x10088eda
cmp dword [ebx + 0x34], 0x10
lea edi, [ebx + 0x20]
jb 0x10088dfc
mov eax, dword [edi]
jmp 0x10088dfe
mov eax, edi
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x10088e23
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x10088e2b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x70]
mov esi, dword [ebx + 0x74]
cmp edx, eax
jne 0x10088e39
cmp ecx, esi
je 0x10088ea2
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x14], 0x10
jb 0x10088e4b
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 0x10088e70
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x10088e78
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 0x10088e8a
cmp edi, edx
je 0x10088e9b
mov ecx, ebx
call fcn.10088d20
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 0x10088de7
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.1008aeea
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.1008aeea
mov esp, ebp
pop ebp
ret 4

Function at 0x100a7b1e
Capabilities:
Read file on windows

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1010c070]
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.1008e420
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 0x100b2223
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.1008e420
add esp, 0xc
mov ecx, dword [ebp - 0x428]
add ecx, 0x24
call fcn.10001e60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x418], eax
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x100d5e34
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x100b21ea
cmp dword [ebp - 0x418], 0
je 0x100b21bc
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
test edx, edx
je 0x100b21bc
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.10001ea4
add esp, 0x1c
jmp 0x100b21e8
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.10001ea4
add esp, 0x18
jmp 0x100b2214
cmp dword [ebp - 0x418], 0
je 0x100b2214
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
test edx, edx
je 0x100b2214
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.10001432
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
Function at 0x100b2480
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010c070]
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.1008e420
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.100a0990
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 0x100b2524
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 0x100b2524
mov ecx, dword [ebp - 0x214]
push ecx
push str.CHttpDownloadImp::MoveDownloadFile_SHCreateDirectoryEx_failed__return:__d.
push 2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadHttpDownloadHttpDownload.cpp
call fcn.1006ab44
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x100b2560
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.10001e60
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 0x100d5ce8
call fcn.1006ab44
add esp, 0x10
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 8
Function at 0x100b2b10
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 0x100b2b26
xor eax, eax
jmp 0x100b2c69
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.1005f250
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1005f2f0
push eax
lea ecx, [ebp - 0x14]
call fcn.1005f220
movzx eax, al
test eax, eax
je 0x100b2ba9
lea ecx, [ebp - 0x38]
call fcn.1005f140
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.1005fdc0
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 0x100b2c66
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.1005f200
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 0x100b2c5d
cmp dword [ebp - 0x18], 0x12c
jbe 0x100b2c5d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100b2c5d
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 + 0x100f9e50]
divsd xmm0, qword [0x100f9dd0]
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 + 0x100f9e50]
divsd xmm0, qword [ebp - 0x2c]
call fcn.100ba9c1
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 0x100b2c66
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 0x100b37f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1010c070]
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.100b39e0
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.1008e420
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push str.qmdl
lea ecx, [ebp - 0x230]
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x100b38c3
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.10001e60
push eax
push str._sqmdl_u.tmp
push 0xffffffffffffffff
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.10001ea4
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100028b0
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10001f9a
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.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100b3910
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1010c070]
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.100b39e0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100027f0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.100027f4
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x100b3978
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.1000f64e
push str.QMDownload
lea ecx, [ebp - 0x28]
call fcn.10005566
push 0
lea ecx, [ebp - 0x28]
call fcn.10001e60
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000288b
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f9a
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x100b39e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010c070]
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.1008e420
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.100028b0
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.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x100b44a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100b44f5
mov eax, 1
jmp 0x100b4540
cmp dword [ebp - 0x11c], 5
jne 0x100b452e
cmp dword [ebp - 0x118], 1
jne 0x100b4516
movzx edx, word [ebp - 0xc]
cmp edx, 1
jge 0x100b4516
xor eax, eax
jmp 0x100b4540
cmp dword [ebp - 0x118], 0
jne 0x100b452c
movzx eax, word [ebp - 0xc]
cmp eax, 3
jge 0x100b452c
xor eax, eax
jmp 0x100b4540
jmp 0x100b453b
cmp dword [ebp - 0x11c], 5
jae 0x100b453b
xor eax, eax
jmp 0x100b4540
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100b4550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b45c0
cmp dword [ebp - 0x114], 6
jb 0x100b45b9
cmp dword [ebp - 0x114], 6
jne 0x100b45c0
cmp dword [ebp - 0x110], 0
jne 0x100b45c0
mov eax, 1
jmp 0x100b45c2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100b4710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100b4753
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100b473c
xor eax, eax
jmp 0x100b47a4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x100b46f0
push 0
push 0
call fcn.100968b3
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x100b479a
mov dword [ebp - 8], 1
jmp 0x100b47a1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret