joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001720
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dc08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x10072368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
je 0x1000177e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], 2
lea ebx, [esi + 0x40]
push ebx
push 0x100625b0
push 1
push 0
push 0x10062680
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100017bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], 3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
mov edi, str.ROOTCIMV2
call fcn.100012b0
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax]
cmp eax, ecx
je 0x100017d8
mov ecx, dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax]
lea edi, [esi + 0x44]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000184f
mov dword [ebp - 0x10], eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10001848
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10001848
mov ecx, dword [eax]
test ecx, ecx
je 0x1000182c
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000183f
push ecx
call fcn.1002af01
mov eax, dword [ebp - 0x10]
add esp, 4
push eax
call fcn.1002a8ed
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
je 0x100018a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], 4
je 0x100018a5
mov eax, dword [ebx]
test eax, eax
je 0x1000187e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx], 0
mov eax, dword [edi]
test eax, eax
je 0x10001892
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
je 0x100018d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], 5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002910
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fd4b
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
lea esi, [ebp - 0x2c]
mov edi, ecx
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
call fcn.10008610
cmp word [ebp - 0x2c], 0x43
je 0x10002ad4
cmp word [ebp - 0x2a], 0x46
je 0x10002ad4
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x82a]
push edx
mov word [ebp - 0x82c], cx
call fcn.1002c660
add esp, 0xc
push 0x400
lea eax, [ebp - 0x82c]
push eax
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add edi, 8
lea ecx, [ebp - 0x848]
push edi
push ecx
call fcn.1005c1d0
mov ebx, 8
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x100029ca
mov eax, dword [eax]
lea edx, [ebp - 0x82c]
push edx
push eax
push 0x10067570
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x834], ebx
jb 0x100029f9
mov eax, dword [ebp - 0x848]
push eax
call fcn.1002a8ed
add esp, 4
xor ecx, ecx
push ecx
mov eax, 0x10067430
lea esi, [ebp - 0x864]
mov dword [ebp - 0x850], 7
mov dword [ebp - 0x854], 0
mov word [ebp - 0x864], cx
call fcn.100041e0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10008360
cmp dword [ebp - 0x854], 0
je 0x10002abd
push str.FunShion.ini
mov edx, esi
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.100059a0
lea ecx, [ebp - 0x880]
push edi
push ecx
call fcn.1005c1d0
mov ecx, dword [ebp - 0x848]
add esp, 0x14
cmp dword [ebp - 0x834], ebx
jae 0x10002a76
lea ecx, [ebp - 0x848]
cmp dword [eax + 0x14], ebx
jb 0x10002a7d
mov eax, dword [eax]
push ecx
push eax
push 0x10067570
push str.participation
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x86c], ebx
jb 0x10002aa6
mov edx, dword [ebp - 0x880]
push edx
call fcn.1002a8ed
add esp, 4
cmp dword [ebp - 0x834], ebx
jb 0x10002abd
mov eax, dword [ebp - 0x848]
push eax
call fcn.1002a8ed
add esp, 4
cmp dword [ebp - 0x850], ebx
jb 0x10002ad4
mov ecx, dword [ebp - 0x864]
push ecx
call fcn.1002a8ed
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x10002c30
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x866]
push ecx
mov dword [ebp - 0x86c], 0
mov word [ebp - 0x868], ax
call fcn.1002c660
xor edx, edx
push 0x62
push edx
lea eax, [ebp - 0x66]
push eax
mov word [ebp - 0x68], dx
call fcn.1002c660
add esp, 0x18
push 0x400
lea ecx, [ebp - 0x868]
push ecx
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x868]
push edx
push 0x32
lea eax, [ebp - 0x68]
push eax
push 0x10067610
push 0x10067614
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea eax, [ebp - 0x68]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002cd2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x68]
call fcn.100041e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret

Function at 0x10002d00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.1002c660
add esp, 0xc
push 0x400
lea edx, [ebp - 0x804]
push edx
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x820]
push 0x10074aec
push eax
call fcn.1005c1d0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10002d64
mov eax, dword [eax]
lea ecx, [ebp - 0x804]
push ecx
push eax
push 0x10067614
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x80c], 8
jb 0x10002d94
mov edx, dword [ebp - 0x820]
push edx
call fcn.1002a8ed
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x10007a30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060736
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x86c]
mov esi, ecx
push eax
mov dword [ebp - 0x86c], esi
mov byte [ebp - 0x868], 0
call fcn.10008f80
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x80e]
mov dword [ebp - 4], 0
push edx
mov word [ebp - 0x810], cx
call fcn.1002c660
add esp, 0xc
push 0x400
lea eax, [ebp - 0x810]
push eax
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edi, [esi + 0x2c]
lea ecx, [ebp - 0x864]
push edi
push ecx
call fcn.1005c1d0
mov ebx, 8
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x10007ad4
mov eax, dword [eax]
lea edx, [ebp - 0x810]
push edx
push eax
push 0x10067570
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x850], ebx
jb 0x10007b03
mov eax, dword [ebp - 0x864]
push eax
call fcn.1002a8ed
add esp, 4
xor ecx, ecx
push ecx
mov eax, 0x10067430
lea esi, [ebp - 0x82c]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], cx
call fcn.100041e0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10008360
xor esi, esi
cmp dword [ebp - 0x81c], esi
je 0x10007c01
push str.FunShion.ini
lea edx, [ebp - 0x82c]
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.100059a0
add esp, 0xc
lea ecx, [ebp - 0x864]
push edi
push ecx
call fcn.1005c1d0
mov ecx, dword [ebp - 0x848]
add esp, 8
cmp dword [ebp - 0x834], ebx
jae 0x10007b89
lea ecx, [ebp - 0x848]
cmp dword [eax + 0x14], ebx
jb 0x10007b90
mov eax, dword [eax]
push ecx
push eax
push 0x10067570
push str.participation
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x850], ebx
jb 0x10007bb9
mov edx, dword [ebp - 0x864]
push edx
call fcn.1002a8ed
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x854], esi
mov word [ebp - 0x864], ax
cmp dword [ebp - 0x834], ebx
jb 0x10007bea
mov ecx, dword [ebp - 0x848]
push ecx
call fcn.1002a8ed
add esp, 4
xor edx, edx
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x838], esi
mov word [ebp - 0x848], dx
jmp 0x10007c06
mov edi, 7
cmp dword [ebp - 0x818], ebx
jb 0x10007c1d
mov eax, dword [ebp - 0x82c]
push eax
call fcn.1002a8ed
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], esi
mov word [ebp - 0x82c], cx
cmp byte [ebp - 0x868], cl
je 0x10007c85
mov eax, dword [ebp - 0x86c]
dec dword [eax]
jne 0x10007c85
xor edx, edx
lea ecx, [eax + 4]
xchg dword [ecx], edx
add eax, 8
mov ecx, SysReAllocString
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x10007c85
cmp ecx, 0x80000000
jle 0x10007c85
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x10007c85
call fcn.100067d0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x100085a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.1002c660
add esp, 0xc
push 0x400
lea edx, [ebp - 0x804]
push edx
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x804]
push eax
push esi
push 0x1006794c
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret

Function at 0x10008610
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.1002c660
add esp, 0xc
test esi, esi
jne 0x10008656
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x400
mov dword [esi], eax
lea edx, [ebp - 0x804]
mov dword [esi + 4], eax
push edx
mov dword [esi + 8], eax
push str._USERPROFILE_FunShion.ini
mov byte [esi + 0xc], al
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x804]
push eax
push 0xd
push esi
push 0x10067610
push 0x10067570
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x100086b0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.1002c660
add esp, 0xc
test esi, esi
jne 0x100086fa
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
xor eax, eax
mov edx, 0xa
mov word [edi], dx
mov dword [esi], eax
mov dword [esi + 4], eax
mov word [esi + 8], ax
push 0x400
lea eax, [ebp - 0x804]
push eax
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movzx edx, word [edi]
lea ecx, [ebp - 0x804]
push ecx
inc edx
push edx
push esi
push 0x10067610
push 0x1006794c
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x820], ax
mov eax, esi
mov dword [ebp - 0x80c], 7
mov dword [ebp - 0x810], 0
lea edx, [eax + 2]
jmp 0x10008770
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008770
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x820]
call fcn.100041e0
cmp dword [ebp - 0x810], 3
jae 0x100087bf
cmp dword [ebp - 0x80c], 8
jb 0x100087ae
mov ecx, dword [ebp - 0x820]
push ecx
call fcn.1002a8ed
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x80c], 8
jb 0x100087d7
mov edx, dword [ebp - 0x820]
push edx
call fcn.1002a8ed
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x100087f0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060441
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.10039860
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
je 0x10008a59
cmp dword [ebp + 8], 0xc
jne 0x10008a59
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x100e]
push ecx
mov word [ebp - 0x1010], ax
call fcn.1002c660
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1010]
push edx
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x80e]
push ecx
mov word [ebp - 0x810], ax
call fcn.1002c660
add esp, 0xc
lea edx, [ebp - 0x1010]
push edx
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x10067610
push str.hismac
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea eax, [ebp - 0x810]
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], 0
mov word [ebp - 0x102c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100088d6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
lea esi, [ebp - 0x102c]
call fcn.100041e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x101c], 0x81
jbe 0x10008947
mov edx, dword [ebp - 0x1018]
mov esi, dword [ebp - 0x102c]
mov eax, esi
cmp edx, 8
jae 0x10008923
lea eax, [ebp - 0x102c]
lea ecx, [eax + 0x1a]
mov eax, esi
cmp edx, 8
jae 0x10008933
lea eax, [ebp - 0x102c]
push ecx
push eax
lea edx, [ebp - 0x1068]
push edx
lea eax, [ebp - 0x102c]
call fcn.10008c40
cmp dword [ebp - 0x101c], 0xc
jbe 0x100089e4
push 0x10067964
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1064]
push ecx
call fcn.100059a0
push eax
mov eax, edi
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 1
call fcn.10009220
add esp, 0x10
mov edi, eax
lea esi, [ebp - 0x102c]
mov byte [ebp - 4], 2
call fcn.10003e50
mov esi, 8
cmp dword [ebp - 0x1034], esi
jb 0x100089ae
mov edx, dword [ebp - 0x1048]
push edx
call fcn.1002a8ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x1034], 7
mov dword [ebp - 0x1038], 0
mov word [ebp - 0x1048], ax
cmp dword [ebp - 0x1050], esi
jb 0x10008a12
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.1002a8ed
add esp, 4
jmp 0x10008a12
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100089f0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x102c]
call fcn.100041e0
mov esi, 8
mov eax, dword [ebp - 0x102c]
cmp dword [ebp - 0x1018], esi
jae 0x10008a26
lea eax, [ebp - 0x102c]
lea edx, [ebp - 0x1010]
push edx
push eax
push str.hismac
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x1018], esi
jb 0x10008a55
mov eax, dword [ebp - 0x102c]
push eax
call fcn.1002a8ed
add esp, 4
xor eax, eax
jmp 0x10008a5c
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x10008a80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
jne 0x10008aa8
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.1002c660
add esp, 0xc
push 0x400
lea edx, [ebp - 0x804]
push edx
push str._USERPROFILE_FunShion.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x804]
push eax
push esi
push 0x10067968
push str.FunShion_Player
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret

Function at 0x10009430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fb50
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10072368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.1002aaa8
mov dword [ebp - 4], 0
mov dword [esi], vtable.LcW.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.10003b50
mov dword [esi], vtable.qsH7J_e_V.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0x10065b5c
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x100094c2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], 0x10065cf4
mov dword [esi + 0x30], 0x10065cec
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100097b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fae0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10072368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.1002aaa8
mov dword [ebp - 4], 0
mov dword [esi], vtable.LcW.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.10003b50
mov dword [esi], vtable._.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0x10065b5c
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x10009842
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.6fr1ZGi9ZAB6Cc2TzXD_Vv_.0
mov dword [esi + 0x30], vtable.6fr1ZGi9ZAB6Cc2TzXD_Vv_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10072368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.1002aaa8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.LcW.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.10003b50
mov dword [esi + 0x30], 0x10065b5c
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], 0x10065cf4
mov dword [esi + 0x30], 0x10065cec
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4