joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ac6b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ca84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push esi
push edi
push 0x208
lea eax, [ebp - 0x25c]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x18], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
je 0x100ac738
mov dword [esi + 0x1c], edi
cmp edi, 5
jne 0x100ac751
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x100ac76c
mov dword [esi + 0x1c], edi
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x14]
xor ecx, ecx
inc dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x14], eax
mov edx, 2
mul edx
push ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006e70d
add esp, 4
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x100ac835
mov ecx, dword [ebp + 8]
call fcn.1001cdd0
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.10033050
xor esi, esi
cmp dword [ebp - 0x10], esi
jbe 0x100ac832
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push esi
push dword [eax + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x100ac82c
mov dword [ebp - 0x44], eax
mov word [ebp - 0x54], ax
mov eax, ebx
mov dword [ebp - 0x40], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100ac7f1
sub eax, edx
lea ecx, [ebp - 0x54]
sar eax, 1
push eax
push ebx
call fcn.1001a600
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], 0
call fcn.100313d0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.1001a5a0
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x100ac7b6
mov esi, dword [ebp - 0x18]
push ebx
call fcn.1006e708
add esp, 4
pop ebx
test edi, edi
je 0x100ac846
mov dword [esi + 0x1c], edi
mov ecx, dword [ebp - 0xc]
sete al
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100acc10
Capabilities:
Delete registry value

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100acc33
mov dword [esi + 0x1c], eax
cmp eax, 2
jne 0x100acc39
mov dword [esi + 0x1c], 0
mov al, 1
pop esi
ret 4
xor al, al
pop esi
ret 4

Function at 0x100acd40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cad2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov esi, ecx
mov dword [ebp - 0x10], 0
push 0
push edi
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100acda3
mov dword [esi + 0x1c], eax
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 8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.WM::GMBuffer_unsigned_char_.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10020ab0
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
mov dword [ebx + 0x18], eax
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100acdf3
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.1001a600
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
cmp ecx, eax
je 0x100ace2b
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.1001a600
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.1001a5a0
cmp ebx, esi
je 0x100ace50
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100ace45
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.1001a600
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100ace75
mov dword [esi + 0x1c], eax
xor bl, bl
jmp 0x100ace85
push dword [ebp - 0x10]
mov ecx, ebx
push edi
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegValue::ParseValue_void___unsigned_int_
test al, al
setne bl
test edi, edi
je 0x100ace92
push edi
call fcn.1006e708
add esp, 4
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 8
Function at 0x100aceb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0xb
lea ecx, [esp + 8]
mov dword [eax], 0
push ecx
push eax
mov dword [eax + 4], 0
xor bl, bl
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 8
push eax
push 0
push dword [esp + 0x24]
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100acf05
mov dword [esi + 0x1c], eax
mov al, bl
pop esi
pop ebx
add esp, 8
ret 8
pop esi
mov al, 1
pop ebx
add esp, 8
ret 8

Function at 0x100acf10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 4
lea ecx, [esp + 8]
mov dword [eax], 0
push ecx
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
push 0
push dword [esp + 0x24]
xor bl, bl
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100acf5e
mov dword [esi + 0x1c], eax
mov al, bl
pop esi
pop ebx
add esp, 8
ret 8
pop esi
mov al, 1
pop ebx
add esp, 8
ret 8

Function at 0x100acf70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x400
mov edi, ecx
mov dword [esp + 0x14], 1
xor bl, bl
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x400
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esp + 0xc], 0x400
lea eax, [esp + 0xc]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x28]
push dword [edi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100acfe4
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100acfd6
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
xor eax, eax
mov word [ecx], ax
jmp 0x100ad00a
mov ecx, esi
mov bl, 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100acff0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x20]
push esi
call fcn.1001a600
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x100ad020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cae4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], vtable.WM::GMBuffer_unsigned_char_.0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ecx + 0x18]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegValue::ValueSerial_class_WM::GMBuffer_unsigned_char___const
mov esi, dword [ebp - 0x14]
test al, al
jne 0x100ad07d
xor bl, bl
jmp 0x100ad09d
push dword [ebp - 0x10]
push esi
push ebx
push 0
push dword [ebp + 8]
push dword [edi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100ad09b
mov dword [edi + 0x1c], eax
xor bl, bl
jmp 0x100ad09d
mov bl, 1
test esi, esi
je 0x100ad0aa
push esi
call fcn.1006e708
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x100ad0c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
cmp dword [eax + 0x14], 8
push esi
mov esi, ecx
jb 0x100ad0d2
mov eax, dword [eax]
lea ecx, [esp + 4]
mov dword [esp + 8], 4
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 8], 4
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 0
push ecx
push 0
push eax
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100ad117
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
pop esi
add esp, 8
ret 8
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 8

Function at 0x100ad230
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100ad240
sub eax, edi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push dword [esp + 0x1c]
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100ad272
mov dword [esi + 0x1c], eax
xor al, al
pop edi
pop esi
ret 8
pop edi
mov al, 1
pop esi
ret 8
Function at 0x100ae030
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cc2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x100ae073
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x18]
push ebx
push 1
or eax, 0x20006
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
jne 0x100ae093
xor bl, bl
jmp 0x100ae0c7
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x100ae0a3
mov eax, dword [eax]
push 4
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100ae0c5
mov dword [ebp - 0x10], eax
xor bl, bl
jmp 0x100ae0c7
mov bl, 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100ae0dc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100ae100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cc3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x1c], 0
push ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 0x14]
push 1
or eax, 0x20006
push eax
push dword [ebp + 8]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_long_int__bool_
test al, al
jne 0x100ae157
xor bl, bl
jmp 0x100ae1a5
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x14], 8
jb 0x100ae162
mov edx, dword [edx]
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x100ae16f
mov esi, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ae174
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
test eax, eax
je 0x100ae1a3
mov dword [ebp - 0x10], eax
xor bl, bl
jmp 0x100ae1a5
mov bl, 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100ae1ba
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100ae1e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cc4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
jb 0x100ae223
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x18]
push ebx
push 1
or eax, 0x20006
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
jne 0x100ae243
xor bl, bl
jmp 0x100ae291
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x14], 8
jb 0x100ae24e
mov edx, dword [edx]
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [esi + 0x14], 8
jb 0x100ae25b
mov esi, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ae260
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
test eax, eax
je 0x100ae28f
mov dword [ebp - 0x10], eax
xor bl, bl
jmp 0x100ae291
mov bl, 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100ae2a6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100ae2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cc68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x100ae313
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ae330
sub ecx, esi
push ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1001a600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
mov eax, dword [ebp + 0x14]
push 0
or eax, 0x20019
push eax
lea eax, [ebp - 0x28]
push eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_long_int__bool_
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.1001a5a0
test bl, bl
pop ebx
je 0x100ae3b3
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100ae37f
mov eax, dword [eax]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp + 8]
mov dword [ebp + 0x14], 4
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 0
push ecx
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100ae3ed
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x100ae3cd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
jmp 0x100ae3b8
Function at 0x100ae400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024cc7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x100ae443
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x18]
push esi
push 0
or eax, 0x20019
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
je 0x100ae49e
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x100ae46a
mov eax, dword [eax]
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x18], 4
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp + 0xc], 0
push ecx
push 0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100ae4d8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100ae4b8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
jmp 0x100ae4a3
Function at 0x100b42b0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024d3b2
push eax
mov dword fs:[0], esp
sub esp, 0x34
push edi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x100b42f3
xor al, al
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push 0x102f74d4
push 2
push edi
call esi
push 4
push 0x102f74d0
push 3
push edi
call esi
mov eax, dword [0x10320968]
mov dword [ebp - 0x10], 0x10320968
test eax, eax
je 0x100b432a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1031bf20
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.1001a380
mov eax, dword [0x10320968]
test eax, eax
je 0x100b434e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], 0
jne 0x100b4361
xor ecx, ecx
xor ebx, ebx
jmp 0x100b4383
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_WM::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ebx, 1
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x100b438e
mov eax, dword [eax]
push 0
push 0x84000000
push 0xffffffffffffffff
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test ebx, ebx
je 0x100b43ee
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100b43dc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b43d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b43d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
jne 0x100b43fd
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x100b440b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov bl, 1
lea ecx, [ebp - 0x40]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100b57f0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024d519
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
push 0
push 0
push 0
push 0
push 0
or ebx, 0x4000000
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x10], esi
push 4
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push eax
push 2
push esi
mov dword [ebp + 0x14], 0x7d0
call edi
push 4
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 3
push eax
push 3
push esi
call edi
push dword [ebp + 0x20]
lea eax, [ebp - 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMInternetDownload::DownloadToBufferSameSession_class_WM::GMInternetSession_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_WM::GMBuffer_unsigned_char____unsigned_int___unsigned_long_int__void___unsigned_long_int__unsigned_int__
add esp, 0x20
mov bl, al
test esi, esi
je 0x100b5896
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
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
mov eax, dword [ecx]
test eax, eax
je 0x100b6cf2
lea ecx, [esp]
mov dword [esp], 0
push ecx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100b6cf2
mov eax, dword [esp]
push esi
mov esi, dword [esp + 0x14]
add dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
cmp ecx, dword [esi + 4]
je 0x100b6ce9
push ebx
mov ebx, dword [esi + 0xc]
push edi
mov edi, ecx
sub edi, dword [esi + 0x18]
cmp edi, 0x3e8
jbe 0x100b6caf
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 + 0x10282cb0]
movsd qword [esi + 0x10], xmm0
mov eax, ecx
movd xmm1, ebx
sub eax, dword [esi]
cvtdq2pd xmm1, xmm1
shr ebx, 0x1f
pop edi
mov dword [esi + 4], ecx
movd xmm0, eax
addsd xmm1, qword [ebx*8 + 0x10282cb0]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
pop ebx
addsd xmm0, qword [eax*8 + 0x10282cb0]
divsd xmm1, xmm0
movsd qword [esi + 0x20], xmm1
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 0xc
or eax, 0xffffffff
pop ecx
ret 0xc