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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor ecx, ecx
mov eax, edi
mov dword [ebp - 8], ecx
mov esi, ecx
mov byte [ebp - 1], cl
sub eax, ecx
je 0x100669d1
dec eax
sub eax, 1
je 0x100669e1
sub eax, 1
jne 0x100669fc
push dword [0x10181d44]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x100669ec
mov eax, dword [0x10181be4]
test eax, eax
je 0x100669fc
jmp 0x100669f5
cmp eax, 0xffffffff
je 0x100669fc
test edi, edi
jne 0x100669f9
mov esi, dword [eax]
jmp 0x100669fc
mov esi, dword [eax + 4]
cmp ebx, 0x40000000
ja 0x10066ab1
lea edx, [ebx + 0xf]
and edx, 0xfffffff8
test esi, esi
je 0x10066a39
test byte [esi + 0xc], 0x20
je 0x10066a22
add edx, 0x1f
mov byte [ebp - 1], 1
and edx, 0xfffffff8
test esi, esi
je 0x10066a39
mov ecx, dword [esi]
lea edi, [ebp - 8]
push 0
mov dword [ebp - 8], edx
push edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
jmp 0x10066a41
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov edi, eax
test edi, edi
je 0x10066ab1
cmp byte [ebp - 1], 0
je 0x10066aa7
test byte [esi + 0xc], 0x80
je 0x10066a5a
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2082
mov eax, dword [0x10181be4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10066a74
cmp ecx, esi
je 0x10066a74
test byte [ecx + 0xc], 0x80
je 0x10066a74
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, esi
call fcn.100666f2
mov dword [edi], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
or dword [edi + 0xc], 0xffffffff
mov ecx, esi
mov dword [edi + 4], eax
mov dword [edi + 8], str._unknown_file_
mov dword [edi + 0x10], ebx
mov eax, dword [ebp - 8]
mov dword [edi + 0x14], eax
push dword [ebp - 8]
call sym.fpsrvutl.dll_Ordinal_2082
add edi, 0x18
mov dword [edi], esi
lea eax, [edi + 8]
pop edi
pop esi
pop ebx
leave
ret
call sym.fpsrvutl.dll_Ordinal_2082
int3

Function at 0x10066d80
Capabilities:
Get system information on windows

Disassembly:
push 0x28
mov eax, 0x100e44b1
call fcn.10001371
mov edi, ecx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
push 0x18
mov eax, ebx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
cmp dword [0x10181be0], 0
je 0x10066dcc
push 2
pop edx
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_2082
jmp 0x10066dd4
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x10066df8
push 0x1006837e
push 0x10066e02
push ebx
lea esi, [eax + 4]
mov dword [eax], ebx
push 0x18
push esi
call fcn.100de9d3
mov dword [edi], esi
mov eax, edi
call fcn.1000140a
ret
Function at 0x100676ac
Capabilities:
Get system information on windows

Disassembly:
push 0x28
mov eax, 0x100e44b1
call fcn.10001371
mov edi, ecx
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [edi + 8], esi
push ebx
mov dword [edi + 0x10], esi
call fcn.100679ca
mov dword [edi], eax
cmp dword [0x10181be0], esi
je 0x100676e2
push 2
pop edx
push 4
pop ecx
call sym.fpsrvutl.dll_Ordinal_2082
jmp 0x100676eb
push 4
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x100676fe
mov ecx, eax
call fcn.10066d80
jmp 0x10067700
mov eax, esi
push esi
mov esi, dword [sym.imp.kernel32.dll_CreateMemoryResourceNotification]
mov dword [edi + 4], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x1006773a
mov eax, dword [eax]
test eax, eax
je 0x1006773a
cmp dword [eax + 0x28], 0xdeadbeef
je 0x1006773c
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov eax, edi
call fcn.1000140a
ret

Function at 0x1006781c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1014d250]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10181be4]
xor eax, eax
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x10067895
cmp dword [ecx + 0x10], eax
je 0x10067895
lea eax, [ebp - 0x48]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.kernel32.dll_QueryMemoryResourceNotification]
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x10067895
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x10067892
cmp dword [ebp - 0x10], 0
ja 0x1006788e
jb 0x10067889
cmp dword [ebp - 0x14], 0x18000000
jae 0x1006788e
xor eax, eax
inc eax
jmp 0x10067895
xor eax, eax
jmp 0x10067895
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100013fd
leave
ret

Function at 0x10067fbb
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
call sym.fpsrvutl.dll_Ordinal_3209
test eax, eax
je 0x10067fd1
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10067fd1
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_3060
pop ebp
ret 4
Function at 0x1006abc1
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x1006abe2
call dword [sym.imp.kernel32.dll_DeleteFileW]
pop esi
ret
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
ret

Function at 0x1006b34f
Capabilities:
Delete registry value

Disassembly:
push 0x214
mov eax, 0x100e4841
call fcn.10001b03
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x220]
test ebx, ebx
mov eax, 0x100ee700
cmovne eax, ebx
push eax
call sym.fpsrvutl.dll_Ordinal_2082
lea eax, [ebp - 0x220]
xor edi, edi
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call sym.fpsrvutl.dll_Ordinal_2082
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov esi, dword [esi + 0xc]
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
push dword [ebp - 0x1c]
push esi
cmp eax, 2
jne 0x1006b3c0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1006b3c6
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
je 0x1006b407
cmp dword [0x10181be0], 0
push 0x14
je 0x1006b3df
pop ecx
call sym.fpsrvutl.dll_Ordinal_2082
jmp 0x1006b3e6
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1006b407
push ebx
push esi
push edi
push 0x30021
push eax
call sym.fpsrvutl.dll_Ordinal_5274
add esp, 0x14
mov edi, eax
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov eax, edi
call fcn.10001b39
ret 4
Function at 0x1006b77a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x238
mov eax, 0x100e491e
call fcn.10001b03
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x21c]
push esi
push 0x104
call sym.fpsrvutl.dll_Ordinal_2082
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_2082
mov ebx, dword [edi + 0xc]
mov ecx, 0x1017e06c
mov dword [ebp - 0x220], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x1c]
push ebx
jne 0x1006b811
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x1006b817
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1006b826
mov ecx, eax
call fcn.1006a6e9
mov esi, eax
jmp 0x1006b841
mov eax, dword [ebp - 0x224]
inc eax
mov byte [edi + 0x10], 1
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x228]
inc eax
mov dword [edi + 0x54], esi
mov dword [edi + 0x5c], eax
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret

Function at 0x1006b854
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x430
mov eax, 0x100e4967
call fcn.10001b03
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x428]
push 0
push dword [esi + 0x58]
mov dword [ebp - 0x43c], eax
call sym.fpsrvutl.dll_Ordinal_2082
and dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
xor ebx, ebx
inc ebx
push ebx
push dword [esi + 0x5c]
call sym.fpsrvutl.dll_Ordinal_2082
push 0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_2082
mov edi, dword [esi + 0x54]
mov ecx, 0x1017e06c
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x430], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x42c], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x438]
push eax
push 0
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x228]
push edi
push dword [ebp - 0x42c]
jne 0x1006b8fd
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1006b903
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1006b95f
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x42c]
call sym.fpsrvutl.dll_Ordinal_2271
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x42c]
push dword [ebp - 0x430]
push eax
push dword [ebp - 0x438]
call fcn.1006ad79
mov ecx, eax
test ecx, ecx
je 0x1006b94c
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [ebp - 0x42c]
inc dword [esi + 0x54]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
jmp 0x1006b965
mov byte [esi + 0x10], 0
xor bl, bl
lea ecx, [ebp - 0x21c]
call fcn.100058ed
lea ecx, [ebp - 0x428]
call fcn.100058ed
mov al, bl
call fcn.10001b39
ret 4
Function at 0x1006ba6b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x238
mov eax, 0x100e491e
call fcn.10001b03
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x21c]
push esi
push 0x104
call sym.fpsrvutl.dll_Ordinal_2082
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_2082
mov ebx, dword [edi + 0xc]
mov ecx, 0x1017e06c
mov dword [ebp - 0x220], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x1c]
push ebx
jne 0x1006bb02
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x1006bb08
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1006bb17
mov ecx, eax
call fcn.1006a6e9
mov esi, eax
jmp 0x1006bb2b
mov eax, dword [ebp - 0x224]
inc eax
mov dword [edi + 0x5c], esi
mov dword [edi + 0x58], eax
mov byte [edi + 0x35], 1
mov dword [edi + 0x54], esi
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret

Function at 0x1006bb3e
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x224
mov eax, 0x100e49d8
call fcn.10001b03
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
xor ebx, ebx
mov dword [ebp - 0x228], edi
push ebx
push dword [esi + 0x58]
call sym.fpsrvutl.dll_Ordinal_2082
push ebx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call sym.fpsrvutl.dll_Ordinal_2082
push 0x100ee700
mov ecx, edi
mov dword [ebp - 0x220], eax
call sym.fpsrvutl.dll_Ordinal_2082
mov eax, dword [esi + 0xc]
mov ecx, 0x1017e06c
mov edi, dword [esi + 0x54]
mov dword [ebp - 0x224], eax
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebp - 0x224]
jne 0x1006bbc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1006bbce
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1006bbeb
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
inc dword [esi + 0x54]
mov bl, 1
jmp 0x1006bbee
mov byte [esi + 0x35], bl
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov al, bl
call fcn.10001b39
ret 4
Function at 0x1006d52b
Capabilities:
Set thread local storage value

Disassembly:
push 4
mov eax, 0x100df3d0
call fcn.10001371
mov ebx, ecx
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x1006d5a5
mov eax, dword [vtable.VprocessGlobals.0]
mov edi, dword [eax + 0x24]
call fcn.1006e97b
mov ecx, dword [ebx + 0x5c]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
and dword [ebp - 4], 0
push esi
push dword [eax]
mov esi, 0x1017e06c
push str.The_error___s__with_hr:_d_in_the_thread_context_was_not_processed_before_thread_detach._The_full_error_log_entry_follows.
push 1
push 0
push esi
call edi
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push dword [ebx + 0x5c]
mov eax, dword [vtable.VprocessGlobals.0]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x1006d5a1
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x5c], 0
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x1006d5ba
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2082
push esi
call sym.fpsrvutl.dll_Ordinal_2082
pop ecx
and dword [ebx + 0x30], 0
cmp dword [ebx + 0x74], 0
jle 0x1006d5d2
mov ecx, ebx
mov dword [ebx + 0x74], 1
call sym.fpsrvutl.dll_Ordinal_2309
push 0
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.1000140a
ret

Function at 0x1006e28b
Capabilities:
Get thread local storage value

Disassembly:
push 0xc
mov eax, 0x100e4df6
call fcn.10001371
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 0x10], 0x10181f8c
lock inc dword [0x10181f80]
mov dword [ebp - 4], ebx
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1006e2de
lea eax, [edi + 0x60]
mov ecx, dword [eax]
cmp dword [ecx - 4], ebx
je 0x1006e2de
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_2082
mov eax, dword [edi + 0x2c]
shr eax, 2
and al, 1
jmp 0x1006e306
lea eax, [ebp - 0x14]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push ebx
call fcn.100048a4
mov al, byte [0x101827c8]
test al, al
jne 0x1006e31f
mov dword [esi], 0x10181f8c
lock inc dword [0x10181f80]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
jmp 0x1006e32a
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
lea ecx, [eax - 0xc]
lock inc dword [ecx]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.1000140a
ret

Function at 0x1006e89f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov word [esi], ax
test ebx, ebx
je 0x1006e8ea
push edi
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1006e8e9
movzx ecx, word [edi + 0x68]
movzx eax, bx
mov word [esi], cx
cmp cx, ax
jne 0x1006e8db
xor eax, eax
mov word [esi], ax
jmp 0x1006e8e9
push eax
call sym.fpsrvutl.dll_Ordinal_2082
push eax
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_2082
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1007e2b9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x1014d250]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x1007e2df
xor eax, eax
jmp 0x1007e314
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1007e307
mov eax, dword [esp + 8]
cmp al, 2
jne 0x1007e307
shr eax, 8
cmp al, 2
jne 0x1007e307
mov byte [esi], 1
jmp 0x1007e2db
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1007e0c4
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.100013fd
mov esp, ebp
pop ebp
ret

Function at 0x10081178
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x100e6538
call fcn.10001371
mov esi, edx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x18]
mov ebx, 0x100ee700
mov eax, ebx
cmovne eax, dword [ebp + 8]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push 0
call sym.fpsrvutl.dll_Ordinal_2209
cmp dword [ebp + 0xc], 0
lea ecx, [ebp - 0x10]
mov eax, ebx
cmovne eax, dword [ebp + 0xc]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
xor ebx, ebx
lea ecx, [ebp - 0x10]
inc ebx
push 0
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_2209
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100812c3
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100812ba
cmp dword [esi], ebx
je 0x1008121c
cmp dword [esi], 4
jne 0x100812ba
xor edi, edi
cmp dword [esi], ebx
jne 0x1008122c
mov ecx, dword [ebp - 0x14]
call fcn.1003b713
mov edi, eax
cmp dword [esi], ebx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0x14]
push ecx
cmove eax, edi
push eax
push esi
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x100812a9
cmp dword [esi], ebx
jne 0x100812a9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x10081261
mov eax, 0x100ee700
jmp 0x10081283
cmp byte [edi + ecx - 1], 0
je 0x10081279
mov esi, dword [ebp + 0x18]
push ecx
push edi
push ecx
push 0
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2082
jmp 0x1008128e
test edi, edi
mov eax, 0x100ee700
cmovne eax, edi
mov esi, dword [ebp + 0x18]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
push edi
call sym.fpsrvutl.dll_Ordinal_2082
pop ecx
cmp dword [ebp - 0x1c], ebx
jne 0x100812a9
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [eax - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_1496
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0
jne 0x100812c3
jmp 0x100812c5
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.1000140a
ret 0x14
Function at 0x100812e5
Capabilities:
Set registry value

Disassembly:
push 0x14
mov eax, 0x100e656b
call fcn.10001371
mov esi, edx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x14]
mov edi, 0x100ee700
mov eax, edi
cmovne eax, dword [ebp + 8]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
xor ebx, ebx
lea ecx, [ebp - 0x14]
push ebx
mov dword [ebp - 4], ebx
call sym.fpsrvutl.dll_Ordinal_2209
cmp dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x10]
mov eax, edi
cmovne eax, dword [ebp + 0xc]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push ebx
mov byte [ebp - 4], al
call sym.fpsrvutl.dll_Ordinal_2209
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x20006
push ebx
push edi
push ebx
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100813d5
mov dword [ebp + 8], 0x10181f8c
lock inc dword [0x10181f80]
xor ecx, ecx
mov byte [ebp - 4], 2
inc ecx
cmp dword [ebp - 0x1c], ecx
jne 0x10081397
cmp dword [ebp + 0x18], eax
lea ecx, [ebp + 8]
cmovne edi, dword [ebp + 0x18]
push edi
call sym.fpsrvutl.dll_Ordinal_2082
push ebx
lea ecx, [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_2209
mov esi, dword [ebp + 8]
mov eax, dword [esi - 4]
jmp 0x100813a0
mov esi, dword [ebp + 0x18]
push esi
call sym.fpsrvutl.dll_Ordinal_2082
inc eax
push eax
push esi
xor eax, eax
inc eax
push eax
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
xor ecx, ecx
inc ecx
movzx ebx, cl
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.1000140a
ret 0x14
Function at 0x10081af8
Capabilities:
Get common file path

Disassembly:
push 0x13c
mov eax, 0x100e6732
call fcn.10001b03
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x128], ecx
mov dword [esi], 0x10181f8c
lock inc dword [0x10181f80]
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], ecx
mov edi, dword [sym.imp.kernel32.dll_GetTempPathA]
push eax
push ecx
mov dword [ebp - 0x128], 1
call edi
test eax, eax
jle 0x10081c68
lea eax, [ebp - 0x11c]
mov ebx, 0x104
push eax
push ebx
call edi
cmp eax, ebx
jae 0x10081c72
xor ebx, ebx
lea ecx, [ebp - 0x120]
mov byte [ebp + eax - 0x11c], bl
lea eax, [ebp - 0x11c]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
xor edi, edi
lea ecx, [ebp - 0x120]
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x120]
push ebx
push dword [eax - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_1496
push str.WebTempDir
lea ecx, [ebp - 0x124]
call sym.fpsrvutl.dll_Ordinal_2082
push 0x100ee700
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_3585
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x124]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_2147
test al, al
jne 0x10081c33
push ebx
push ebx
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_3988
test eax, eax
je 0x10081c33
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
push 0x5c
push 2
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
jmp 0x10081c41
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
cmp dword [ebp + 0xc], 0
jne 0x10081c4f
push ebx
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2209
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_974
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b39
ret 8
call sym.fpsrvutl.dll_Ordinal_2082
int3
Function at 0x10081c78
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x100e6799
call fcn.10001b03
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x228], ebx
mov dword [esi], 0x10181f8c
lock inc dword [0x10181f80]
push ebx
push 0x20
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ebx
xor edi, edi
push eax
inc edi
push ebx
mov dword [ebp - 0x228], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10081d76
push str.WebTempDir
lea ecx, [ebp - 0x220]
call sym.fpsrvutl.dll_Ordinal_2082
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x224]
call sym.fpsrvutl.dll_Ordinal_150
push 0x100ee700
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_3585
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_2147
test al, al
jne 0x10081d5a
push ebx
push ebx
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_3988
mov ecx, eax
test ecx, ecx
je 0x10081d5a
mov eax, dword [ecx]
push edi
call dword [eax]
jmp 0x10081d68
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_974
mov eax, dword [esi]
cmp dword [eax - 4], ebx
jne 0x10081da0
push edi
lea eax, [ebp - 0x220]
push eax
call sym.fpsrvutl.dll_Ordinal_5240
push eax
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b39
ret 4