joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b79f8
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10005910
push eax
mov ecx, dword [ebp + 8]
call fcn.10005910
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push 0x100c0f00
call fcn.100989a0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
push 0x100c0fe4
lea edx, [ebp - 0x58]
push edx
call fcn.100a0ea0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
push 0x100c0fe0
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.10040550
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10005870
mov ecx, dword [ebp + 0xc]
call fcn.1001a0d0
movzx ecx, al
test ecx, ecx
jne 0x100a01e6
mov edx, dword [ebp + 0xc]
push edx
push 0x100c0f8c
lea eax, [ebp - 0x40]
push eax
call fcn.100a0ea0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x28]
call fcn.10012a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10005870
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea eax, [ebp - 0xc4]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x100a0246
mov dword [ebp - 0x5c], 5
jmp 0x100a024d
mov dword [ebp - 0x5c], 0
mov dx, word [ebp - 0x5c]
mov word [ebp - 0x98], dx
xor eax, eax
mov word [ebp - 0x96], ax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10005910
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100a02e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100c0f90
push 0xff
push str.utility::process::create
call fcn.100989a0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005870
mov eax, dword [ebp - 0x60]
jmp 0x100a0318
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x100a02fa
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005870
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret
Function at 0x100a0340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100a0386
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.kill32_h_is_null_pid___d_error___d
push 0x10e
push 0x100c0fe8
call fcn.100989a0
add esp, 0x14
xor al, al
jmp 0x100a03da
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100a03bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.kill32_progress_failed_pid___d_lasterror___d
push 0x114
push str.utility::process::kill32
call fcn.100989a0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x100a03d3
mov byte [ebp - 1], 1
jmp 0x100a03d7
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x100a03e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100a0429
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.killEx_h_is_null_pid___d_error___d
push 0x11f
push 0x100c10cc
call fcn.100989a0
add esp, 0x14
xor al, al
jmp 0x100a04ee
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100a0462
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.killEx_progress_failed_pid___d_lasterror___d
push 0x125
push 0x100c11cc
call fcn.100989a0
add esp, 0x14
jmp 0x100a04d1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x102
je 0x100a048c
cmp dword [ebp - 0x10], 0xffffffff
je 0x100a04ac
jmp 0x100a04d1
push str.killEx_timeout___
push 0x132
push 0x100c1164
call fcn.100989a0
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x100a04d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.killEx_failed____lastError___d
push 0x136
push str.utility::process::killEx
call fcn.100989a0
add esp, 0x10
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x100a04e7
mov byte [ebp - 1], 1
jmp 0x100a04eb
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x100a06e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7a78
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.100a0f90
mov dword [ebp - 4], 0
push str.tskill.exe
lea ecx, [ebp - 0x28]
call fcn.10005760
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1008ea10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.1009fff0
add esp, 0x10
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005870
movzx ecx, byte [ebp - 0x41]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.kill_pid:_d__bSucess:_d
push 0x196
push 0x100c1530
call fcn.100989a0
add esp, 0x14
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x100a07ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.tskill.exe_error_lastError___d
push 0x198
push str.utility::process::kill
call fcn.100989a0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100a07df
cmp dword [ebp + 0xc], 0xffffffff
jne 0x100a07d5
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100a07df
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
push edx
call fcn.100a0340
add esp, 4
mov byte [ebp - 0x41], al
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x42], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100a0f60
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret
Function at 0x100a0b10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x100a0b83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
push eax
push 0x100c1860
push 0x200
push 0x100c17e4
call fcn.100989a0
add esp, 0x10
jmp 0x100a0c45
mov dword [ebp - 0x258], 0x22c
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100a0bde
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
push eax
push 0x100c1820
push 0x20d
push str.utility::process::enumProcess
call fcn.100989a0
add esp, 0x10
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a0c45
lea ecx, [ebp - 0x2c]
call fcn.100a0c60
mov dword [ebp - 4], 0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100058a0
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10082320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005870
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100a0bde
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret
Function at 0x100a0f90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a0fdf
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x100a0fe9
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x2c]
cmp edx, 9
je 0x100a0ffb
movzx eax, word [ebp - 0x2c]
cmp eax, 6
jne 0x100a104a
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100a104a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100a12a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x100a12dd
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x100a1400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x100a12ef
mov dword [ebp - 8], 1
jmp 0x100a12f6
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x100a5240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b800b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], ecx
mov eax, dword [ebp - 0x430]
cmp dword [eax], 0
jne 0x100a52e2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.1009dfe0
add esp, 8
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x434], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x434]
call fcn.10005910
push eax
push 0x100c2668
push 0x3e
push str.utility::RegKey::RegRead
call fcn.100989a0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10005870
or eax, 0xffffffff
jmp 0x100a5364
mov ecx, dword [ebp + 8]
call fcn.1001a0d0
mov dword [ebp - 0x43c], 0x400
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.10003e80
push eax
mov edx, dword [ebp - 0x430]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x100a5343
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10009cc0
jmp 0x100a535e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100c261c
push 0x51
push 0x100c264c
call fcn.100989a0
add esp, 0x10
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret 8
Function at 0x100a5380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x100a5404
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.1009dfe0
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
call fcn.10005910
push eax
push 0x100c2718
push 0x59
push 0x100c2758
call fcn.100989a0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005870
or eax, 0xffffffff
jmp 0x100a5461
mov ecx, dword [ebp + 8]
call fcn.1001a0d0
mov ecx, dword [ebp + 0xc]
call fcn.10003e90
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10003e80
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.10003e80
push eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100a545e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100c26c4
push 0x64
push 0x100c26fc
call fcn.100989a0
add esp, 0x10
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret 8
Function at 0x100a5860
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b80e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3c], ecx
push 0
push 0
push 0
push 0
push 0x100c2cdc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x100a58c5
push 0
mov ecx, dword [ebp - 0x44]
call fcn.100a5c30
xor al, al
jmp 0x100a599c
lea ecx, [ebp - 0x28]
call fcn.10009d00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10009d00
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.100a5fb0
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x100a592d
push 1
mov ecx, dword [ebp - 0x44]
call fcn.100a5c30
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005870
mov al, byte [ebp - 0x45]
jmp 0x100a599c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.100107f0
mov ecx, dword [ebp - 0x44]
mov dx, word [ebp - 0x4c]
mov word [ecx + 0x1c], dx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.100107f0
push 8
push str.https:__
mov ecx, dword [ebp + 8]
call fcn.10005910
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x100a597a
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x38], 1
mov byte [ebp - 0x46], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005870
mov al, byte [ebp - 0x46]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100a5dc0
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push eax
push 0
push 3
push 0
push 0
movzx ecx, word [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10005910
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x100a5e05
xor al, al
jmp 0x100a5e07
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a5ec0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x20000013
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x100a5efb
xor al, al
jmp 0x100a5f50
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x20000005
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x100a5f4e
mov edx, dword [ebp - 4]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x100a5fb0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x204], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x202]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0
push 0x38
push 0
lea edx, [ebp - 0x23c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x3c
lea eax, [ebp - 0x204]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0xff
mov dword [ebp - 0x210], 1
lea ecx, [ebp - 0x240]
push ecx
push 0
mov ecx, dword [ebp + 0x14]
call fcn.10003e90
push eax
mov ecx, dword [ebp + 0x14]
call fcn.10005910
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x100a6052
xor al, al
jmp 0x100a607f
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.100058a0
mov eax, dword [ebp + 0xc]
mov cx, word [ebp - 0x228]
mov word [eax], cx
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.100058a0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret
Function at 0x100a6740
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8256
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x100a67e9
jmp 0x100a67e0
add eax, 2
cmp word [eax], 0
jne 0x100a67e0
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.1001b660
push 0x100bceb4
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x10113150
call fcn.100740d0
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x100a6833
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x10113150
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret 4

Function at 0x100a6900
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b82bb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x1011316c
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x10113180], 7
mov dword [0x1011317c], 0
mov word [0x1011316c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x100a69aa
add eax, 2
cmp word [eax], 0
jne 0x100a69a1
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x1011316c
push eax
call fcn.1001b660
mov eax, 0x1011316c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret 4
Function at 0x100a7380
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8467
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x100a7429
lea ecx, [ecx]
add eax, 2
cmp word [eax], 0
jne 0x100a7420
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.1001b660
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100740d0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100a6f20
cmp dword [ebp - 0x238], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x100a7481
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x100a74b2
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x100a74ef
add eax, 2
cmp word [eax], 0
jne 0x100a74e6
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.1001b660
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.100740d0
add esp, 4
mov ecx, edi
call fcn.100a6fc0
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x100a753f
push dword [ebp - 0x234]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret 4