joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eb360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x40
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
cdq
lea ecx, [esp + 0xc]
push edx
push eax
call fcn.100d38d0
mov esi, dword [esp + 0x5c]
add esp, 8
cmp esi, edi
je 0x100eb399
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x100eb390
mov edi, dword [edi]
push eax
push edi
mov ecx, esi
call fcn.1001a860
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
push ebp
cmp eax, 1
jb 0x100eb3d3
lea ebp, [ecx + 1]
mov edi, esi
mov dword [esi + 0x10], ebp
cmp edx, 8
jb 0x100eb3b8
mov edi, dword [esi]
push 2
lea eax, [edi + ecx*2]
push str._____
push eax
call fcn.10073b10
add esp, 0xc
xor eax, eax
mov word [edi + ebp*2], ax
jmp 0x100eb3ec
push 1
push str._____
mov byte [esp + 0x5c], 0
mov ecx, esi
push dword [esp + 0x5c]
push 1
call fcn.1001f850
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100eb3f3
mov eax, dword [esi + 0x14]
sub ecx, edx
mov edx, dword [esi + 0x10]
sub eax, edx
sar ecx, 1
cmp ecx, eax
ja 0x100eb43b
cmp dword [esi + 0x14], 8
lea ebp, [edx + ecx]
mov dword [esi + 0x10], ebp
mov edi, esi
jb 0x100eb41e
mov edi, dword [esi]
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [edi + edx*2]
push eax
call fcn.10073b10
add esp, 0xc
xor eax, eax
mov word [edi + ebp*2], ax
jmp 0x100eb452
push ecx
lea eax, [esp + 0x14]
mov byte [esp + 0x58], 0
push eax
push dword [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.1001f850
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100eb48b
lea ebp, [ecx + 1]
mov edi, esi
mov dword [esi + 0x10], ebp
cmp edx, 8
jb 0x100eb470
mov edi, dword [esi]
push 2
lea eax, [edi + ecx*2]
push 0x101335a0
push eax
call fcn.10073b10
add esp, 0xc
xor eax, eax
mov word [edi + ebp*2], ax
jmp 0x100eb4a4
push 1
push 0x101335a0
mov byte [esp + 0x5c], 0
mov ecx, esi
push dword [esp + 0x5c]
push 1
call fcn.1001f850
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
pop ebp
jb 0x100eb4b0
mov ebx, dword [ebx]
push eax
push ebx
mov ecx, esi
call fcn.1001e7b0
cmp dword [esi + 0x14], 8
jb 0x100eb4c1
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
pop esi
setne al
pop ebx
add esp, 0x40
ret

Function at 0x100eba70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push esi
push edi
push 0x20c
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.10074090
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100eba97
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x100eba9f
mov esi, dword [esi]
lea eax, [esp + 8]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
pop edi
pop esi
test eax, eax
je 0x100ebaed
xor eax, eax
lea ecx, [esp]
mov word [esp + 0x20a], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ebac4
sub ecx, edx
lea eax, [esp]
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x214]
push eax
call fcn.1001a860
mov al, 1
add esp, 0x20c
ret
xor al, al
add esp, 0x20c
ret
Function at 0x100ebb20
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x100ebb38
mov edx, dword [esi]
mov ecx, edx
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ebb54
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1001a860
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 0
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x24]
test eax, eax
sete bl
cmp edx, 8
jb 0x100ebbc2
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ebbb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ebbeb
push edx
push ecx
call fcn.1006fca3
add esp, 8
test bl, bl
jne 0x100ebbe2
cmp dword [esi + 0x14], 8
jb 0x100ebbce
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100ebbe2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
int3

Function at 0x100ec030
Capabilities:
Get common file path

Disassembly:
mov edx, dword [0x10150e7c]
sub esp, 0x620
push esi
mov esi, ecx
test edx, edx
je 0x100ec073
cmp esi, 0x10150e6c
je 0x100ec14c
cmp dword [0x10150e80], 8
mov eax, 0x10150e6c
push edx
cmovae eax, dword [0x10150e6c]
push eax
call fcn.1001a860
mov al, 1
pop esi
add esp, 0x620
ret
push 0x20c
lea eax, [esp + 8]
push 0
push eax
call fcn.10074090
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x100ec156
xor eax, eax
push 0x412
push eax
mov word [esp + 0x216], ax
lea eax, [esp + 0x218]
push eax
call fcn.10074090
add esp, 0xc
lea eax, [esp + 0x210]
push 0x208
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x100ec129
test eax, eax
je 0x100ec129
xor ecx, ecx
mov word [esp + eax*2 + 0x210], cx
lea ecx, [esp + 0x210]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ec100
sub ecx, edx
lea eax, [esp + 0x210]
sar ecx, 1
push ecx
mov ecx, esi
push eax
call fcn.1001a860
mov al, 1
pop esi
add esp, 0x620
ret
lea ecx, [esp + 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ec130
sub ecx, edx
lea eax, [esp + 4]
sar ecx, 1
push ecx
mov ecx, esi
push eax
call fcn.1001a860
mov al, 1
pop esi
add esp, 0x620
ret
xor al, al
pop esi
add esp, 0x620
ret
Function at 0x100ecd50
Capabilities:
Compare security identifiers

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push esi
push edi
push ebx
push ecx
mov edi, edx
call ebp
test eax, eax
jne 0x100ecd88
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x100ecd81
nop
push ebx
push dword [esi]
call ebp
test eax, eax
jne 0x100ecd88
add esi, 4
cmp esi, dword [edi + 4]
jne 0x100ecd70
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x1c]
mov dl, 1
sub eax, 0
je 0x100ecdcb
sub eax, 1
jne 0x100ecdf4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x100ecdf4
mov esi, dword [esp + 0x18]
nop dword [eax]
test dword [eax], esi
je 0x100ecdc2
add eax, 4
cmp eax, ecx
jne 0x100ecdb0
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret
pop edi
pop esi
xor dl, dl
pop ebp
mov al, dl
pop ebx
ret
mov ecx, dword [esp + 0x20]
xor dl, dl
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x100ecdf4
mov esi, dword [esp + 0x18]
nop
test dword [eax], esi
jne 0x100ecdf2
add eax, 4
cmp eax, ecx
jne 0x100ecde0
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret
mov dl, 1
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret
Function at 0x100ed0a0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
xor bl, bl
mov dword [esp + 8], 0
push edi
mov dword [esp + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esp + 0x14], 1
jb 0x100ed0d0
mov eax, dword [esi]
push ebp
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push dword [esp + 0x14]
call fcn.10096412
mov ecx, dword [esp + 0x14]
mov edi, eax
add ecx, ecx
push ecx
call fcn.10096412
add esp, 8
mov ebp, eax
test edi, edi
je 0x100ed16c
test ebp, ebp
je 0x100ed179
cmp dword [esi + 0x14], 8
jb 0x100ed119
mov esi, dword [esi]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x100ed16c
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov esi, eax
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push esi
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
test ebp, ebp
je 0x100ed179
push ebp
call fcn.1007db54
add esp, 4
pop ebp
test edi, edi
je 0x100ed187
push edi
call fcn.1007db54
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x100f0910
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
xorps xmm0, xmm0
mov dword [esp], 0x3c
push esi
mov esi, edx
movlpd qword [esp + 8], xmm0
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
test eax, eax
je 0x100f09a4
cmp dword [esp + 0x20], 0x20
seta al
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret

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

Disassembly:
sub esp, 0x20c
push esi
push edi
push 0x208
lea eax, [esp + 0x10]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [esp + 0x14], edi
call fcn.10074090
add esp, 0xc
lea eax, [esp + 0xc]
push 0
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
test eax, eax
jne 0x100f0be1
push eax
push 0x10132f94
mov ecx, edi
mov word [edi], ax
call fcn.1001a860
mov eax, edi
pop edi
pop esi
add esp, 0x20c
ret
xor eax, eax
lea ecx, [esp + 0xc]
mov word [edi], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f0bf0
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1001a860
mov eax, edi
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x100f1370
Capabilities:
Acquire debug privileges
Check os version

Disassembly:
mov eax, dword [0x10154938]
sub esp, 0x138
push edi
mov edi, ecx
test eax, eax
jne 0x100f13b9
push 0x118
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10074090
add esp, 0xc
mov dword [esp + 0x20], 0x11c
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100f147c
mov eax, dword [esp + 0x24]
mov dword [0x10154938], eax
cmp eax, 5
jbe 0x100f147c
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100f13e4
call esi
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x100f1410
call esi
push eax
push str.LookupPrivilegeValue_error:__u_n
call fcn.10030720
add esp, 8
jmp 0x100f1470
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push 0
push ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x100f145a
call esi
push eax
push str.AdjustTokenPrivileges_error:__u_n
call fcn.10030720
add esp, 8
jmp 0x100f1470
call esi
cmp eax, 0x514
jne 0x100f1470
push str.The_token_does_not_have_the_specified_privilege.__n
call fcn.10030720
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
push dword [esp + 0x140]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
pop edi
add esp, 0x138
ret
Function at 0x100f18c0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp], eax
cmp eax, 1
jne 0x100f1927
lea eax, [esp]
push eax
push dword [esp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 4]
neg eax
sbb eax, eax
and dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp]
cmp eax, 1
sete al
add esp, 0x10
ret
Function at 0x100f5300
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x100f5375
cmp edi, 1
jl 0x100f5375
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x28]
push 0x40
xorps xmm0, xmm0
push 0
push eax
movups xmmword [esi], xmm0
call fcn.10074090
push edi
mov edx, ebx
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.1010ee40
add esp, 0x10
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.1010ecb0
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x100f8030
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e769
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x10], edx
or ebx, 0x4000000
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x18], esi
push 4
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push eax
push 2
push esi
mov dword [ebp + 0xc], 0x7d0
call edi
push 4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 3
push eax
push 3
push esi
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
sub esp, 8
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.100f7630
add esp, 0x18
mov bl, al
test esi, esi
je 0x100f80da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100f99b0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1011e8bd
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov ebx, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x100f99f9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push 0x10150e60
push 2
push edi
call esi
push 4
push 0x10150e64
push 3
push edi
call esi
mov eax, dword [0x101548f0]
mov dword [ebp - 0x10], 0x101548f0
test eax, eax
je 0x100f9a2e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10150e84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.1001cdf0
mov eax, dword [0x101548f0]
test eax, eax
je 0x100f9a52
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], 0
jne 0x100f9a66
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x100f9a88
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.100dffc0
add esp, 4
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 0x10
jb 0x100f9a90
mov ebx, dword [ebx]
push 0
push 0x84000000
push 0xffffffffffffffff
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp dword [ebp - 0x10], 0
mov esi, eax
je 0x100f9af0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100f9ade
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9ad4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f9b56
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
jne 0x100f9aff
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x100f9b0d
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100f9b43
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9b39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f9b5b
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
call fcn.1007d9e8
int3
Function at 0x101044b0
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push esi
cmp eax, 0xffffffff
je 0x101044f2
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x101044d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x101044f2
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ecx
ret 4
xor al, al
pop esi
pop ecx
ret 4

Function at 0x10106350
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x10106369
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xffffffff
je 0x1010638b
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x1010637c
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esi + 0x2c], 0xffffffff
pop esi
ret

Function at 0x1010f070
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ecx]
push ebx
push esi
push edi
test eax, eax
je 0x1010f13a
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1010f13a
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
add dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
cmp ecx, dword [esi + 4]
je 0x1010f12d
mov ebx, dword [esi + 0xc]
mov edi, ecx
sub edi, dword [esi + 0x18]
cmp edi, 0x3e8
jbe 0x1010f0f5
mov eax, ebx
mov dword [esi + 0x18], ecx
sub eax, dword [esi + 0x1c]
xor edx, edx
div edi
mov dword [esi + 0x1c], ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1013cb80]
movsd qword [esi + 0x10], xmm0
mov eax, ecx
movd xmm1, ebx
sub eax, dword [esi]
cvtdq2pd xmm1, xmm1
shr ebx, 0x1f
mov dword [esi + 4], ecx
movd xmm0, eax
addsd xmm1, qword [ebx*8 + 0x1013cb80]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1013cb80]
divsd xmm1, xmm0
movsd qword [esi + 0x20], xmm1
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1010fe70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f821
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x24]
push 0
call fcn.100dffc0
add esp, 4
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 0xc], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x1010fed9
mov esi, edi
cmp byte [edi], al
je 0x1010fed6
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x1010fed0
sub esi, edi
inc esi
push esi
call fcn.1004a780
mov edx, eax
test edi, edi
je 0x1010fefe
test esi, esi
je 0x1010fefe
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x1010fef0
test edx, edx
je 0x1010ff2b
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x30]
push 0
push edx
push 0
add ecx, 0x30
push 4
call fcn.10048c90
test eax, eax
je 0x1010ff2b
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
jne 0x1010ff26
mov ecx, dword [ebx + 0x30]
call fcn.10048fc0
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
cmp edx, 0x10
jb 0x1010ff5e
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1010ff54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ff6e
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.1007d9e8
int3
Function at 0x10110730
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f893
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x24]
push 0
call fcn.100dffc0
add esp, 4
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 0xc], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x10110799
mov esi, edi
cmp byte [edi], al
je 0x10110796
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x10110790
sub esi, edi
inc esi
push esi
call fcn.1004a780
mov edx, eax
test edi, edi
je 0x101107be
test esi, esi
je 0x101107be
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x101107b0
test edx, edx
je 0x101107f6
mov ecx, dword [ebx + 0x30]
push 0
push dword [ebp + 0xc]
add ecx, 0x30
push 0
push edx
push 1
call fcn.10048c90
mov esi, eax
test esi, esi
je 0x101107f6
mov ecx, dword [ebp + 8]
push esi
test ecx, ecx
je 0x101107ec
call fcn.10048fc0
jmp 0x101107f8
mov ecx, dword [ebx + 0x30]
call fcn.10048fc0
jmp 0x101107f8
xor esi, esi
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x10110828
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1011081e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011083d
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.1007d9e8
int3