joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1058da2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x10a623c]
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
cmp eax, 0xffffffff
jne 0x1058dc5
mov edi, 0x80004005
jmp 0x1058e67
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x1058dd8
inc dword [eax + 4]
jmp 0x1058eb4
push 0x20
call fcn.0101374d
mov esi, eax
cmp esi, ebx
jne 0x1058dec
mov edi, 0x8007000e
jmp 0x1058e67
push esi
push dword [0x10a623c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 8]
push eax
push ebx
push 0x30
call fcn.01058d3d
mov edi, eax
cmp edi, ebx
jl 0x1058e67
call fcn.0105e9d2
mov edi, eax
cmp edi, ebx
jl 0x1058e67
push esi
call fcn.0105b128
mov edi, eax
cmp edi, ebx
jl 0x1058e67
mov dword [esi + 4], 1
mov byte [esi + 0xd], bl
mov dword [esi + 0x10], ebx
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], ebx
call sub.wmpdui.dll_InitGadgets
mov dword [esi], eax
cmp eax, ebx
jne 0x1058eab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0105ea35
cmp esi, ebx
je 0x1058ea7
mov eax, dword [esi]
cmp eax, ebx
je 0x1058e7c
push eax
call sub.wmpdui.dll_DeleteHandle
cmp dword [esi + 0x18], ebx
je 0x1058e87
push esi
call fcn.0105b168
cmp dword [0x10a73f0], ebx
je 0x1058e94
call fcn.0105cbe3
push esi
call fcn.0104a430
push ebx
push dword [0x10a623c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
jmp 0x1058eb6
add esi, 0x1c
push esi
call fcn.0105cb18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x105cb18
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 8]
push eax
xor edi, edi
push 0x20019
push edi
push 0x100c208
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebx], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x105cb92
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push edi
push edi
push 0x100c1e4
push dword [ebp - 8]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
jne 0x105cb85
xor eax, eax
cmp dword [ebp + 8], edi
setne al
mov dword [0x10a73f0], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x105cba7
jle 0x105cba0
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
mov dword [ebp - 4], esi
jl 0x105cbc0
cmp dword [0x10a73f0], edi
je 0x105cbbb
push 3
push ebx
push edi
call fcn.0105bbb7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jge 0x105cbd4
mov eax, dword [ebx]
cmp eax, edi
je 0x105cbcc
push eax
call fcn.0105baf7
mov dword [ebx], edi
mov dword [0x10a73f0], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x105ef4e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test byte [edi + 0x5f], 4
jne 0x105f02f
test byte [edi + 0xb4], 8
je 0x105f02f
push ebx
push esi
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi]
push eax
call fcn.0103dd59
mov ebx, eax
test ebx, ebx
je 0x105f02d
and dword [ebp - 0x210], 0
push esi
push ebx
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.01040ebe
test eax, eax
jne 0x105efc7
mov eax, 0x1002d88
mov edx, eax
mov ecx, ebx
mov si, word [ecx]
cmp si, word [edx]
jne 0x105eff1
test si, si
je 0x105efed
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x105eff1
add ecx, 4
add edx, 4
test si, si
jne 0x105efcb
xor ecx, ecx
jmp 0x105eff6
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x105f004
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x105f015
call fcn.01013792
jmp 0x105f027
mov ecx, 0x104
lea eax, [ebp - 0x20c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x105f020
push ebx
call fcn.0104a430
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.01039921
leave
ret

Function at 0x1073d96
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10a7984], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1073ebf
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], edi
call fcn.01073d30
test eax, eax
jl 0x1073ebf
push edi
push 0x10104b4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01051c16
test eax, eax
jl 0x1073ebf
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10a7978], eax
cmp eax, edi
je 0x1073ebf
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [edi + 0x10a68d0]
lea esi, [edi + 0x10a68d4]
push dword [0x10a7978]
call ebx
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
cmp dword [eax], 0
je 0x1073ecf
add edi, 8
cmp edi, 0x30
jb 0x1073e33
call fcn.01073931
mov edi, eax
test edi, edi
je 0x1073ebe
mov eax, dword [ebp - 0x210]
xor edi, edi
test eax, eax
je 0x1073ebe
xor ecx, ecx
push ecx
push 0x101049c
mov word [ebp + eax*2 - 0x20c], cx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.01051c16
test eax, eax
jl 0x1073ebe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10a797c], eax
test eax, eax
je 0x1073ebe
push 0x1010480
push eax
call ebx
mov dword [0x10a795c], eax
test eax, eax
je 0x1073ebe
inc edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01039921
leave
ret
xor edi, edi
jmp 0x1073ebe
Function at 0x1079ac5
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov dword [esi], 0x1011b10
mov dword [esi + 8], 0x1011af4
mov dword [esi + 0xc], 0x1011ad0
mov dword [esi + 0x10], 0x1011abc
test ecx, ecx
je 0x1079af3
call fcn.01077140
and dword [esi + 0x18], 0
push esi
call fcn.0105cde6
cmp byte [esi + 0x84], 0
je 0x1079b0c
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x85]
cmp byte [eax], 0
je 0x1079b24
push 0x1000000
mov byte [eax], 0
call fcn.010592be
mov ecx, esi
pop esi
jmp fcn.010770f4

Function at 0x107d756
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov word [esi + 8], cx
cmp dword [0x10a7ca4], eax
jne 0x107d7eb
push 0x110
push eax
lea eax, [ebp - 0x114]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [0x10a7ca4], 1
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x107d7eb
cmp dword [ebp - 0x114], 5
jb 0x107d7cf
cmp dword [ebp - 0x110], 1
jae 0x107d7d8
cmp dword [ebp - 0x114], 6
jb 0x107d7eb
cmp dword [ebp - 0x108], 2
jne 0x107d7eb
mov dword [0x10a6900], 0x7f
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01039921
leave
ret

Function at 0x108047c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1080493
xor eax, eax
jmp 0x1080496
and eax, 0x10
pop ebp
ret 4

Function at 0x108049f
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 0x1e
jbe 0x10804e4
mov edi, 0xa1
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1080560
test byte [eax + 0x1c], 1
je 0x1080560
push dword [ebp + 8]
push 0x1011f78
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b9c
jmp 0x1080560
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1080564
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1080564
push esi
push 0x5c
push ebx
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1080518
push 3
jmp 0x1080554
xor eax, eax
inc edi
push edi
push dword [ebp + 0xc]
mov word [esi], ax
push ebx
call fcn.0108049f
mov edi, eax
push 0x5c
pop eax
mov word [esi], ax
test edi, edi
jl 0x108055f
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x108055d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x108055d
call esi
push eax
call fcn.0107f957
mov edi, eax
jmp 0x108055f
xor edi, edi
pop esi
mov eax, edi
jmp 0x1080566
xor eax, eax
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x1080590
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x108060a
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1080606
test byte [eax + 0x1c], 1
je 0x1080606
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10a60d8]
push 0x1011f78
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
xor eax, eax
jmp 0x1080614
cmp dword [ebp - 0x114], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01039921
leave
ret

Function at 0x1080ce7
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0x80070057
test edi, edi
je 0x1080d84
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x98
jbe 0x1080d83
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1080d83
and dword [eax], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0x10
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x1080dad
mov eax, dword [ebp + 0x10]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 0xc], eax
lea edx, [edi + 0x3d0]
push dword [edx]
push esi
call fcn.01080cbb
mov dword [esi + 8], eax
mov ebx, dword [edi + 8]
shl ebx, 5
push ebx
push dword [edx]
push esi
call fcn.01080c84
test eax, eax
je 0x1080d8c
mov dword [ebp - 4], 0x80004005
test esi, esi
je 0x1080d82
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 0x10
test byte [ebp + 0x10], 1
jne 0x1080dcc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
jne 0x1080db6
mov dword [ebp - 4], 0x8007000e
jmp 0x1080d69
mov eax, dword [edi + 8]
shl eax, 5
push eax
push dword [esi + 8]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esi + 8], ebx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [eax], esi
jmp 0x1080d82
Function at 0x108221b
Capabilities:
Read http header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x80070057
je 0x10822da
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10822da
cmp dword [esi], 2
jb 0x10822da
call fcn.01081efa
xor ebx, ebx
push ebx
push esi
push dword [ebp + 0xc]
mov esi, 0xffff
push dword [ebp + 8]
push esi
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x10822a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x108227b
and eax, esi
or eax, 0x80070000
mov ebx, eax
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10822d1
test byte [eax + 0x1c], 1
je 0x10822d1
push ebx
push dword [ebp + 8]
push 0x1011f00
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103a48a
jmp 0x10822d1
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10822d1
test byte [eax + 0x1c], 4
je 0x10822d1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x1011f00
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015c09
mov ecx, edi
call fcn.01081f33
jmp 0x10822fe
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10822fe
test byte [eax + 0x1c], 1
je 0x10822fe
push 0x1011f00
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x108261d
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 0x80070057
test ebx, ebx
jne 0x1082653
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1082724
test byte [eax + 0x1c], 1
je 0x1082724
push 0x1011fb0
push 0xc
jmp 0x108267a
cmp dword [ebp + 0xc], 0
jne 0x108268a
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1082724
test byte [eax + 0x1c], 1
je 0x1082724
push 0x1011fb0
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
jmp 0x1082724
push esi
push 0x10050e0
mov esi, 0x104
push esi
push ebx
call fcn.01070f43
mov edi, eax
test edi, edi
jge 0x10826be
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1082723
test byte [eax + 0x1c], 1
je 0x1082723
push edi
push 0x1011fb0
push 0xe
jmp 0x10826e8
push dword [ebp + 0xc]
push esi
push ebx
call fcn.01070f43
mov edi, eax
test edi, edi
jge 0x10826f5
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1082723
test byte [eax + 0x1c], 1
je 0x1082723
push edi
push 0x1011fb0
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
jmp 0x1082723
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1082721
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1082721
test eax, eax
jle 0x108271d
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x1082723
xor edi, edi
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1082e4f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x22c], ax
xor ebx, ebx
lea eax, [ebp - 0x22a]
push ebx
push eax
call sub.msvcrt.dll_memset
push 7
xor eax, eax
pop ecx
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
xor eax, eax
mov dword [ebp - 0x238], ebx
lea edi, [ebp - 0x234]
push 0x1012180
stosd dword es:[edi], eax
lea eax, [ebp - 0x22c]
push 0x104
push eax
mov dword [ebp - 0x230], ebx
call fcn.0103e1ed
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jge 0x1082ef9
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1083000
test byte [eax + 0x1c], 1
je 0x1083000
push esi
push 0x1011fb0
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x1082ffb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0x1004120
push 0x10
push eax
call fcn.0103e1ed
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x1082f39
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1083000
test byte [eax + 0x1c], 1
je 0x1083000
push esi
push 0x1011fb0
push 0x23
jmp 0x1082eee
push ebx
lea eax, [ebp - 0x230]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
xor eax, eax
cmp dword [ebp + 0x18], ebx
setne al
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x1082fcf
cmp dword [ebp - 0x230], ebx
je 0x1082fd9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x14]
push 8
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push 0xb
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x1082fcb
jle 0x1082fad
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [0x10a60d8]
cmp ecx, 0x10a60d8
je 0x1083000
test byte [ecx + 0x1c], 1
je 0x1083000
push eax
push 0x1011fb0
push 0x25
jmp 0x1082ff5
xor esi, esi
jmp 0x1083000
jle 0x1082fd9
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [0x10a60d8]
cmp ecx, 0x10a60d8
je 0x1083000
test byte [ecx + 0x1c], 1
je 0x1083000
push eax
push 0x1011fb0
push 0x24
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010160ad
cmp dword [ebp - 0x230], ebx
je 0x1083014
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01039921
leave
ret 0x14
Function at 0x10853da
Capabilities:
Read http header
Receive http response

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 8], ebx
call fcn.01081efa
push ebx
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ecx, esi
mov edi, eax
call fcn.01081f33
cmp edi, ebx
jne 0x108543a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0107f957
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10855a7
test byte [eax + 0x1c], 1
je 0x10855a7
push edi
push 0x1011f00
push 0x3e
jmp 0x1085469
mov ecx, esi
call fcn.01084ae2
mov edi, eax
cmp edi, ebx
jge 0x1085479
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10855a7
test byte [eax + 0x1c], 1
je 0x10855a7
push edi
push 0x1011f00
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
jmp 0x10855a7
mov ecx, esi
mov dword [ebp - 8], 4
call fcn.01081efa
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x2d8]
push eax
push ebx
push 0x20000013
push dword [esi + 8]
call edi
cmp eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
je 0x1085567
xor eax, eax
cmp dword [ebp + 8], eax
je 0x1085567
push eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x4000000b
push dword [esi + 8]
mov dword [ebp + 8], 0x10
call edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x1085517
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x108550e
test byte [eax + 0x1c], 1
je 0x108550e
call ebx
push eax
mov eax, dword [0x10a60d8]
push 0x1011f00
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
mov dword [ebp - 4], 1
jmp 0x1085567
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x1085555
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1085555
test byte [eax + 0x1c], 1
je 0x1085555
call ebx
push eax
mov eax, dword [0x10a60d8]
push 0x1011f00
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x2e8], ecx
mov dword [esi + 0x2ec], eax
mov ecx, esi
call fcn.01081f33
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x10855a7
call ebx
push eax
call fcn.0107f957
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10855a7
test byte [eax + 0x1c], 1
je 0x10855a7
push dword [ebp - 8]
push edi
push 0x1011f00
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010800f8
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1087337
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x2c]
xor ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x108736e
cmp dword [eax + 0xc], 0
je 0x108736e
cmp dword [eax], 0
je 0x108736e
push dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push dword [ebp + 0xc]
call dword [eax + 0xc]
mov ebx, eax
mov esi, dword [esi + 0x28]
test esi, esi
je 0x10873a3
mov esi, dword [esi]
test esi, esi
je 0x10873a3
cmp dword [ebp + 0xc], 0
jl 0x10873a3
cmp dword [ebp + 8], 0xc8
je 0x108739c
cmp dword [ebp + 8], 0x193
je 0x108739c
cmp dword [ebp + 8], 0xc9
jne 0x10873a3
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x108ba03
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
add eax, eax
push ebx
xor ebx, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], ebx
cmp eax, ebx
je 0x108bb16
cmp word [eax], bx
je 0x108bb16
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x108bafb
cmp word [edi], bx
je 0x108bafb
cmp dword [ebp + 0x14], ebx
jne 0x108ba6f
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x108bb3a
test byte [eax + 0x1c], 1
je 0x108bb3a
push 0x10127f8
push 0xc
jmp 0x108bb2f
push esi
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [0x10a7d6c]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20019
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x108bae8
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebx
jne 0x108bae8
cmp dword [ebp - 4], 1
je 0x108bae8
mov eax, dword [0x10a60d8]
push 0xd
pop esi
cmp eax, 0x10a60d8
je 0x108bae8
test byte [eax + 0x1c], 1
je 0x108bae8
push dword [ebp - 4]
push edi
push 0x10127f8
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103a48a
cmp dword [ebp + 0x18], ebx
je 0x108baf6
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x108bb3d
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x108bb3a
test byte [eax + 0x1c], 1
je 0x108bb3a
push 0x10127f8
push 0xb
jmp 0x108bb2f
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x108bb3a
test byte [eax + 0x1c], 1
je 0x108bb3a
push 0x10127f8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x14