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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x20c]
mov eax, edx
cmp dword [ebp + 8], edx
mov edi, dword [esi]
cmova eax, dword [ebp + 8]
add eax, edx
mov dword [esi + 0x20c], eax
jns 0x1002caac
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
push dword [esi + 0x20c]
call sym.fpsrvutl.dll_Ordinal_2749
push eax
call fcn.1000b2b4
mov eax, dword [esi + 0x20c]
inc eax
cmp dword [0x1017ca10], 0
je 0x1002cabf
mov ecx, eax
call fcn.1000b2b4
jmp 0x1002cac7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ecx, dword [esi + 0x20c]
mov edx, eax
mov eax, dword [esi + 0x208]
inc ecx
cmp ecx, eax
mov dword [esi], edx
cmovae ecx, eax
push ecx
push edi
push edx
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esi + 4]
add esp, 0xc
cmp edi, eax
je 0x1002caf6
push edi
call fcn.1000b2b4
pop ecx
pop edi
pop esi
pop ebp
ret 4

Function at 0x1002fb1d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x40c]
mov ecx, edx
cmp dword [ebp + 8], edx
mov edi, dword [esi]
cmova ecx, dword [ebp + 8]
add ecx, edx
mov dword [esi + 0x40c], ecx
lea eax, [ecx + ecx]
test eax, eax
jns 0x1002fb67
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
push dword [esi + 0x40c]
call sym.fpsrvutl.dll_Ordinal_2749
push eax
call fcn.1000b2b4
mov ecx, dword [esi + 0x40c]
lea eax, [ecx + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
cmp dword [0x1017ca10], 0
je 0x1002fb88
call fcn.1000b2b4
jmp 0x1002fb90
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ecx, dword [esi + 0x40c]
mov edx, eax
mov eax, dword [esi + 0x408]
inc ecx
cmp ecx, eax
mov dword [esi], edx
cmovae ecx, eax
add ecx, ecx
push ecx
push edi
push edx
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esi + 4]
add esp, 0xc
cmp edi, eax
je 0x1002fbc1
push edi
call fcn.1000b2b4
pop ecx
pop edi
pop esi
pop ebp
ret 4
Function at 0x10036f51
Capabilities:
Get hostname

Disassembly:
push 0x94
mov eax, 0x100ded5e
call fcn.10001af6
mov esi, ecx
push 0x80
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x10036f7f
xor eax, eax
jmp 0x1003707c
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000b2b4
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x98]
push 0x2e
lea ecx, [ecx - 0xc]
call fcn.1000b2b4
cmp eax, 0xffffffff
je 0x10036fb6
push eax
lea ecx, [ebp - 0x98]
call fcn.1000b2b4
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call fcn.1000b2b4
lea eax, [ebp - 0x98]
lea edi, [esi + 4]
push eax
mov ecx, edi
call fcn.1000b2b4
push 0x100ea6e8
push str.CheckedHostName
push str.MicrosoftShared_ToolsWeb_Server_Extensions
push 0x80000002
push 1
lea eax, [ebp - 0xa0]
mov byte [esi + 0xc], 0
push eax
call sym.fpsrvutl.dll_Ordinal_1532
push 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
push dword [esi]
call fcn.1000b2b4
test eax, eax
je 0x10037018
mov byte [esi + 0xc], 1
jmp 0x1003705c
push 0x100ea6e8
push str.HostOverride
push str.MicrosoftShared_ToolsWeb_Server_Extensions
push 0x80000002
push 1
lea eax, [ebp - 0x9c]
push eax
call sym.fpsrvutl.dll_Ordinal_1532
mov esi, dword [ebp - 0x9c]
cmp dword [esi - 4], 0
je 0x10037054
lea eax, [ebp - 0x9c]
mov ecx, edi
push eax
call fcn.1000b2b4
lea ecx, [esi - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0xa0]
mov esi, dword [edi]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b2d
ret
Function at 0x100371cb
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x10148250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x118], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jne 0x10037208
test esi, esi
jne 0x1003720e
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100013a8
leave
ret 8
mov dword [eax], edx
test esi, esi
je 0x10037210
mov dword [esi], edx
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x105
push edx
push dword [ecx]
push edx
call dword [sym.imp.kernel32.dll_SearchPathA]
test eax, eax
je 0x100371f6
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x100371f6
cmp dword [0x1017ca10], 0
push ebx
je 0x1003725e
mov ecx, edi
call fcn.1000b2b4
jmp 0x10037266
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebx, eax
lea eax, [ebp - 0x10c]
push ebx
push edi
push dword [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov dword [ebp - 0x110], eax
test eax, eax
je 0x100372c9
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x100ef890
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov dword [ebp - 0x110], eax
test eax, eax
je 0x100372c9
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x11c]
test ecx, ecx
je 0x100372c0
mov eax, dword [edx + 8]
mov dword [ecx], eax
test esi, esi
je 0x100372c9
mov eax, dword [edx + 0xc]
mov dword [esi], eax
push ebx
call fcn.1000b2b4
mov al, byte [ebp - 0x110]
pop ecx
pop ebx
jmp 0x100371f8
Function at 0x10037ec3
Capabilities:
Get common file path

Disassembly:
push 0x234
mov eax, 0x100def65
call fcn.10001af6
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], ebx
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ebx
push eax
push 0x1a
push ebx
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x10038001
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10037fc5
push 0x100f0dd4
lea ecx, [ebp - 0x228]
call sym.fpsrvutl.dll_Ordinal_150
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x224]
call sym.fpsrvutl.dll_Ordinal_150
push 0x100ea6e8
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
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], bl
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
call fcn.1000b2b4
lea ecx, [ebp - 0x240]
call sym.fpsrvutl.dll_Ordinal_974
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x10038001
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10038001
cmp dword [ebp - 0x21c], 0
je 0x10037ffb
push dword [ebp - 0x21c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
cmp dword [eax - 4], ebx
jne 0x1003802b
push edi
lea eax, [ebp - 0x220]
push eax
call sym.fpsrvutl.dll_Ordinal_5240
push eax
mov ecx, esi
call fcn.1000b2b4
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b2d
ret 8

Function at 0x10038550
Capabilities:
Create directory

Disassembly:
push 0x218
mov eax, 0x100def98
call fcn.10001af6
mov edi, ecx
call sym.fpsrvutl.dll_Ordinal_1195
lea ecx, [ebp - 0x220]
call fcn.10005575
push edi
call fcn.1000b2b4
xor esi, esi
mov ecx, 0x10178fec
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_2694
push esi
push dword [ebp - 0x20]
cmp eax, 2
jne 0x10038597
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
jmp 0x1003859d
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x100385b0
mov esi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, 0x20003
jmp 0x100385e8
cmp byte [ebp + 8], 0
je 0x100385f2
push 2
pop edx
lea ecx, [ebp - 0x220]
call fcn.10084f36
test eax, eax
jne 0x100385f2
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_2142
test eax, eax
je 0x100385db
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov esi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, 0x20051
push esi
mov edx, eax
call fcn.1005ca7d
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.100057a4
mov eax, esi
call fcn.10001b2d
ret 4
Function at 0x1003d373
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], ebx
cmp byte [ebp + 8], bl
je 0x1003d3a8
push 4
cmp dword [0x1017ca10], ebx
je 0x1003d395
pop ecx
call fcn.1000b2b4
jmp 0x1003d39c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x1003d3a8
mov dword [eax], vtable.VmsoApi.0
jmp 0x1003d3aa
mov eax, ebx
mov dword [esi + 4], eax
mov al, byte [ebp + 8]
mov byte [esi + 8], al
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1003d3c9
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [esi + 0xc], eax
cmp byte [0x1017ba68], bl
jne 0x1003d3f7
mov ecx, 0x1017be10
call fcn.1000b2b4
test al, al
je 0x1003d3ea
call fcn.10098736
test eax, eax
je 0x1003d3ea
mov bl, 1
mov byte [0x1017ba69], bl
mov byte [0x1017ba68], 1
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10040e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
push 1
mov edi, sym.fpsrvutl.dll_Ordinal_2028
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10040e95
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x10040e95
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x10040e95
cmp word [eax + 2], 0
je 0x10040e95
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x10040e95
add eax, 0x30
jmp 0x10040e9a
mov eax, 0x100eafb0
pop edi
pop esi
ret

Function at 0x1005d56d
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x10148250]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x1005d593
xor eax, eax
jmp 0x1005d5c8
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1005d5bb
mov eax, dword [esp + 8]
cmp al, 2
jne 0x1005d5bb
shr eax, 8
cmp al, 2
jne 0x1005d5bb
mov byte [esi], 1
jmp 0x1005d58f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1005d378
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.100013a8
mov esp, ebp
pop ebp
ret

Function at 0x1005d9ad
Capabilities:
Get domain controller name

Disassembly:
push 8
mov eax, 0x100df9a5
call fcn.1000131b
mov ebx, 0x10178fec
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
je 0x1005d9d1
xor eax, eax
jmp 0x1005dad1
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push edi
xor esi, esi
call sym.fpsrvutl.dll_Ordinal_150
mov dword [ebp - 4], esi
mov eax, dword [0x1017bdbc]
mov dword [ebp - 0x10], esi
test eax, eax
jne 0x1005d9f3
call fcn.10088117
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1000b2b4
test al, al
jne 0x1005dac4
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_869
cmp eax, 3
sete cl
test edi, edi
je 0x1005da6b
cmp word [edi], si
je 0x1005da6b
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x1005da38
test cl, cl
je 0x1005da31
call fcn.10088865
jmp 0x1005da36
call sym.fpsrvutl.dll_Ordinal_4523
mov eax, dword [eax]
push edi
push eax
call fcn.1000b2b4
test eax, eax
je 0x1005da6b
lea eax, [ebp - 0x10]
push eax
push 0x40010010
push esi
push esi
push edi
push esi
call dword [sym.imp.NETAPI32.dll_DsGetDcNameW]
mov esi, eax
test esi, esi
je 0x1005da6b
mov ecx, dword [ebp + 0xc]
push 0x100ea6e8
call fcn.1000b2b4
jmp 0x1005daad
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1005da91
mov ecx, dword [0x1017bdbc]
test ecx, ecx
jne 0x1005da86
call fcn.10088117
mov ecx, eax
mov eax, dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1005d71d
mov eax, dword [0x1017bdbc]
test eax, eax
jne 0x1005da9f
call fcn.10088117
push dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov ecx, eax
push edx
call fcn.1000b2b4
cmp dword [ebp - 0x10], 0
je 0x1005dac4
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_3269
push dword [ebp - 0x10]
mov ecx, eax
call fcn.1000b2b4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.100013b7
ret 0xc
Function at 0x1006163d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x100e17a1
call fcn.1000131b
mov esi, edx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x18]
mov ebx, 0x100ea6e8
mov eax, ebx
cmovne eax, dword [ebp + 8]
push eax
call fcn.1000b2b4
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 - 0x14]
mov eax, ebx
cmovne eax, dword [ebp + 0xc]
push eax
call fcn.1000b2b4
xor ebx, ebx
lea ecx, [ebp - 0x14]
inc ebx
push 0
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_2209
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100617a0
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
push 0
push edi
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10061797
mov ecx, dword [edi]
cmp ecx, ebx
je 0x100616e3
cmp ecx, 4
jne 0x10061797
xor esi, esi
cmp ecx, ebx
jne 0x10061709
cmp dword [0x1017ca10], esi
je 0x100616fb
mov ecx, dword [ebp + 8]
call fcn.1000b2b4
jmp 0x10061705
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ecx, dword [edi]
mov esi, eax
lea eax, [ebp + 8]
cmp ecx, ebx
push eax
mov eax, dword [ebp + 0x14]
cmove eax, esi
push eax
push edi
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x10061786
cmp dword [edi], ebx
jne 0x10061786
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x1006173e
mov eax, 0x100ea6e8
jmp 0x10061760
cmp byte [esi + ecx - 1], 0
je 0x10061756
mov edi, dword [ebp + 0x18]
push ecx
push esi
push ecx
push 0
mov ecx, edi
call fcn.1000b2b4
jmp 0x1006176b
test esi, esi
mov eax, 0x100ea6e8
cmovne eax, esi
mov edi, dword [ebp + 0x18]
mov ecx, edi
push eax
call fcn.1000b2b4
push esi
call fcn.1000b2b4
pop ecx
cmp dword [ebp - 0x1c], ebx
jne 0x10061786
mov eax, dword [edi]
mov ecx, edi
push 0
push dword [eax - 4]
push eax
call sym.fpsrvutl.dll_Ordinal_1496
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0
jne 0x100617a0
jmp 0x100617a2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov ecx, dword [ebp - 0x14]
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.100013b7
ret 0x14
Function at 0x100617c2
Capabilities:
Set registry value

Disassembly:
push 0x18
mov eax, 0x100e17d4
call fcn.1000131b
mov esi, edx
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
lea ecx, [ebp - 0x14]
cmp dword [ebp + 8], ebx
mov edi, 0x100ea6e8
mov eax, edi
mov dword [ebp - 0x20], ebx
cmovne eax, dword [ebp + 8]
push eax
call fcn.1000b2b4
push ebx
lea ecx, [ebp - 0x14]
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 fcn.1000b2b4
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 - 0x24]
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 0x100618b4
mov dword [ebp + 8], 0x1017c79c
lock inc dword [0x1017c790]
xor ecx, ecx
mov byte [ebp - 4], 2
inc ecx
cmp dword [ebp - 0x1c], ecx
jne 0x10061876
cmp dword [ebp + 0x18], eax
lea ecx, [ebp + 8]
cmovne edi, dword [ebp + 0x18]
push edi
call fcn.1000b2b4
push ebx
lea ecx, [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_2209
mov esi, dword [ebp + 8]
mov eax, dword [esi - 4]
jmp 0x1006187f
mov esi, dword [ebp + 0x18]
push esi
call fcn.1000b2b4
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.100013b7
ret 0x14
Function at 0x10061fd8
Capabilities:
Get common file path

Disassembly:
push 0x13c
mov eax, 0x100e199b
call fcn.10001af6
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x128], ecx
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
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 0x10062148
lea eax, [ebp - 0x11c]
mov ebx, 0x104
push eax
push ebx
call edi
cmp eax, ebx
jae 0x10062152
xor ebx, ebx
lea ecx, [ebp - 0x120]
mov byte [ebp + eax - 0x11c], bl
lea eax, [ebp - 0x11c]
push eax
call fcn.1000b2b4
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 fcn.1000b2b4
push 0x100ea6e8
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 0x10062113
push ebx
push ebx
lea ecx, [ebp - 0x138]
call sym.fpsrvutl.dll_Ordinal_3988
test eax, eax
je 0x10062113
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.1000b2b4
push 0x5c
push 2
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.1000b2b4
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.1000b2b4
jmp 0x10062121
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call fcn.1000b2b4
cmp dword [ebp + 0xc], 0
jne 0x1006212f
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.10001b2d
ret 8
call fcn.1000b2b4
int3
Function at 0x10062158
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x100e1a02
call fcn.10001af6
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x228], ebx
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
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 0x10062256
push str.WebTempDir
lea ecx, [ebp - 0x220]
call fcn.1000b2b4
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x224]
call sym.fpsrvutl.dll_Ordinal_150
push 0x100ea6e8
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 0x1006223a
push ebx
push ebx
lea ecx, [ebp - 0x238]
call sym.fpsrvutl.dll_Ordinal_3988
mov ecx, eax
test ecx, ecx
je 0x1006223a
mov eax, dword [ecx]
push edi
call dword [eax]
jmp 0x10062248
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call fcn.1000b2b4
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 0x10062280
push edi
lea eax, [ebp - 0x220]
push eax
call sym.fpsrvutl.dll_Ordinal_5240
push eax
mov ecx, esi
call fcn.1000b2b4
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.10001b2d
ret 4

Function at 0x10062d2b
Capabilities:
Get thread local storage value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10062d46
mov ecx, eax
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_2134
pop ebp
ret 0x18

Function at 0x10062d4a
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10062d67
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ecx, eax
pop ebp
jmp edx
xor eax, eax
pop ebp
ret 4
Function at 0x10075b02
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x24
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
inc esi
push 2
pop ebx
cmp eax, esi
je 0x10075b48
cmp eax, ebx
je 0x10075b48
cmp eax, 3
je 0x10075b48
cmp dword [edi], 0
je 0x10075b44
dec eax
xor edx, edx
div dword [edi]
inc eax
mov dword [ecx], eax
cmp eax, 4
jbe 0x10075b4a
cmp eax, 0x200
sbb esi, esi
add esi, 3
jmp 0x10075b4a
mov esi, ebx
jmp 0x10075b4a
mov esi, eax
cmp dword [edi], 0
jne 0x10075b8b
mov eax, dword [0x1017ca08]
test eax, eax
jne 0x10075b6a
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [0x1017ca08], eax
mov ecx, esi
sub ecx, 1
je 0x10075b84
sub ecx, 1
je 0x10075b80
sub ecx, 1
jne 0x10075b8b
shl eax, 2
jmp 0x10075b89
add eax, eax
jmp 0x10075b89
cmp eax, ebx
cmovg eax, ebx
mov dword [edi], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1007de6b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
xor ebx, ebx
mov eax, edi
mov dword [ebp - 4], ebx
mov esi, ebx
sub eax, ebx
je 0x1007de91
dec eax
sub eax, 1
je 0x1007dea1
sub eax, 1
jne 0x1007debc
push dword [0x1017be80]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x1007deac
mov eax, dword [0x1017ca0c]
test eax, eax
je 0x1007debc
jmp 0x1007deb5
cmp eax, 0xffffffff
je 0x1007debc
test edi, edi
jne 0x1007deb9
mov esi, dword [eax]
jmp 0x1007debc
mov esi, dword [eax + 4]
mov eax, dword [ebp - 8]
cmp eax, 0x40000000
ja 0x1007df76
lea edx, [eax + 0xf]
and edx, 0xfffffff8
test esi, esi
je 0x1007defd
mov eax, dword [esi + 0xc]
and eax, 0x20
mov dword [ebp - 0xc], eax
je 0x1007dee5
add edx, 0x1f
and edx, 0xfffffff8
mov ecx, dword [esi]
lea edi, [ebp - 4]
push ebx
mov dword [ebp - 4], edx
push edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
cmp dword [ebp - 0xc], ebx
setne bl
jmp 0x1007df05
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 0x1007df76
test bl, bl
je 0x1007df6c
test byte [esi + 0xc], 0x80
je 0x1007df1c
mov ecx, esi
call fcn.1000b2b4
mov eax, dword [0x1017ca0c]
mov ecx, dword [eax]
test ecx, ecx
je 0x1007df36
cmp ecx, esi
je 0x1007df36
test byte [ecx + 0xc], 0x80
je 0x1007df36
call fcn.1000b2b4
mov ecx, esi
call fcn.1007dbb9
mov dword [edi], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
or dword [edi + 0xc], 0xffffffff
mov ecx, dword [ebp - 8]
mov dword [edi + 0x10], ecx
mov ecx, esi
mov dword [edi + 4], eax
mov dword [edi + 8], str._unknown_file_
mov eax, dword [ebp - 4]
mov dword [edi + 0x14], eax
push dword [ebp - 4]
call fcn.1000b2b4
add edi, 0x18
mov dword [edi], esi
lea eax, [edi + 8]
pop edi
pop esi
pop ebx
leave
ret
call fcn.1000b2b4
int3