joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ded0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x63c]
sub esp, 0x63c
push 0xffffffffffffffff
push 0x100d4820
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp + 0x638], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x644]
lea ecx, [ebp]
mov ebx, dword [ebp + 0x648]
call fcn.10004950
mov dword [ebp - 4], 0
mov eax, dword [0x10110774]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0x10110774
test eax, eax
je 0x1007df42
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ecx, 0x10110778
call fcn.10004890
test al, al
jne 0x1007df89
push 0x10110778
call fcn.10005450
lea ecx, [ebp]
add esp, 4
cmp ecx, eax
je 0x1007e03e
mov ecx, 0x10110778
call fcn.10004ad0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1007df80
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x1007e036
push 0x20c
lea eax, [ebp + 0x42c]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp + 0x42c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1007e0da
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x636], ax
lea eax, [ebp + 0x18]
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp + 0x18]
push 0x208
push eax
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x1007e01f
test eax, eax
je 0x1007e01f
add eax, eax
cmp eax, 0x412
jae 0x1007e12d
xor ecx, ecx
mov word [ebp + eax + 0x18], cx
lea eax, [ebp + 0x18]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp + 0x18]
jmp 0x1007e035
lea eax, [ebp + 0x42c]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp + 0x42c]
push eax
lea ecx, [ebp]
call fcn.10004af0
mov byte [ebp - 4], 0
mov eax, dword [0x10110774]
test eax, eax
je 0x1007e052
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push edi
lea eax, [ebp]
mov dword [ebp - 0x10], 0
push eax
mov ecx, esi
call fcn.1007de60
test al, al
je 0x1007e071
mov bl, 1
jmp 0x1007e0f7
push 0x20c
lea eax, [ebp + 0x42c]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp + 0x42c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1007e0f5
xor eax, eax
mov word [ebp + 0x636], ax
lea eax, [ebp + 0x42c]
push eax
call fcn.10004cb0
add esp, 4
lea ecx, [ebp]
push eax
lea eax, [ebp + 0x42c]
push eax
call fcn.10004af0
push ebx
push edi
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.1007de60
mov bl, al
jmp 0x1007e0f7
mov byte [ebp - 4], 0
mov eax, dword [0x10110774]
test eax, eax
je 0x1007e0ee
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x10], 0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.100048a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x638]
xor ecx, ebp
call fcn.10093f25
lea esp, [ebp + 0x63c]
pop ebp
ret 8
call fcn.100948c8
int3
Function at 0x1007ee30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d499f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1010d03c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [edi + 4]
push eax
lea ecx, [eax + 0x94]
call fcn.1007f5d0
mov esi, dword [edi + 4]
add esp, 4
sub esi, 0x94
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.100048a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.100048a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.100048a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.100048a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add dword [edi + 4], 0xffffff6c
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1007fb80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4b8f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1010d03c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.100048a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.100048a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.100048a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.100048a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10081240
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4d8f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1010d03c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10005830
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.10005830
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10005830
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.10005830
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.10005830
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10005830
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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 0x100823e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x14], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x14], edi
mov esi, edi
cmp edi, ebp
jge 0x10082453
add esi, esi
lea eax, [esi + 2]
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*8]
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.10036520
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi + esi*2]
lea eax, [ebx + eax*8]
push eax
call fcn.10005450
add esp, 0xc
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.1000b110
mov edi, esi
cmp esi, ebp
jl 0x10082410
mov eax, dword [esp + 0x10]
cmp esi, ebp
jne 0x1008247d
test al, 1
jne 0x1008247d
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [ebx + eax*8]
push eax
call fcn.10005450
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.1000b110
mov edi, dword [esp + 0x18]
push dword [esp + 0x1c]
call fcn.10005450
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edi
jge 0x100824d3
lea esi, [edi - 1]
sar esi, 1
push ecx
lea eax, [esi + esi*2]
lea ebp, [ebx + eax*8]
push ebp
call fcn.10036520
add esp, 8
test al, al
je 0x100824cf
push ebp
call fcn.10005450
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.1000b110
mov edi, esi
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x14], esi
jl 0x10082495
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10005450
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.1000b110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x100848d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x1010d03c]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x10084952
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x10084952
test ecx, ecx
je 0x1008494e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x10084910
xor eax, eax
jmp 0x10084957
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10084961
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10093f25
add esp, 0xc
ret 0xc

Function at 0x100853f0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1010d03c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
je 0x10085463
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1008543e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10085463
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, edi
pop edi
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10093f25
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10093f25
add esp, 8
ret 4

Function at 0x100857f0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1010d03c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x10085863
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1008583e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10085863
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, edi
pop edi
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10093f25
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10093f25
add esp, 8
ret 4
Function at 0x10088e30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d499f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1010d03c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edx
push 0x94
call fcn.10002260
mov esi, dword [ebp + 8]
add esp, 8
mov edi, eax
mov ecx, eax
mov dword [ebp - 0x10], edi
push esi
call fcn.10006950
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
lea ecx, [edi + 0x18]
call fcn.10006950
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10006950
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.10006950
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.10006950
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10006950
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008bc60
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1010d03c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1008bcc5
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008bca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1008bcc5
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10093f25
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10093f25
add esp, 8
ret 4
Function at 0x1008be00
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d63b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1010d03c]
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
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1008be49
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x1008bf9b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x1008bf66
test eax, eax
je 0x1008bf66
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x1008bf69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x1008beeb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008bedf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1008beeb
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x1008bef9
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10006950
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x1008bf66
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x1008bea4
jmp 0x1008bf69
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x1008bf92
test edx, edx
je 0x1008bf8e
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x1008be60
mov al, 1
jmp 0x1008bf9d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1008bf9b
mov dword [ecx], eax
xor al, al
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.10093f25
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1008dc30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d65c6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x248]
push eax
call fcn.1008ce30
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10004890
movzx ecx, al
test ecx, ecx
je 0x1008dca7
mov byte [ebp - 0x249], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100048a0
mov al, byte [ebp - 0x249]
jmp 0x1008dd86
lea ecx, [ebp - 0x230]
call fcn.10004950
mov byte [ebp - 4], 1
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.10004ac0
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x100d9550
mov ecx, 0x1010f2d0
call fcn.10004ac0
push eax
mov ecx, 0x1010f318
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x218]
test eax, eax
jne 0x1008dd2b
push 0x100d9554
lea ecx, [ebp - 0x230]
call fcn.10006920
jmp 0x1008dd3d
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10006920
push 0
lea ecx, [ebp - 0x230]
call fcn.10004ac0
push eax
call fcn.1000c850
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 0x24a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100048a0
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret

Function at 0x1008dda0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d65fb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x230]
push eax
call fcn.1008ce30
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10004890
movzx ecx, al
test ecx, ecx
je 0x1008de17
mov byte [ebp - 0x231], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov al, byte [ebp - 0x231]
jmp 0x1008debd
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.10004ac0
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010f2b8
call fcn.10004ac0
push eax
mov ecx, 0x1010f300
call fcn.10004ac0
push eax
mov ecx, 0x1010f318
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x218]
test eax, eax
jne 0x1008de8f
push 0x1010f2b8
mov ecx, dword [ebp + 8]
call fcn.1000b0e0
jmp 0x1008de9e
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10006920
mov byte [ebp - 0x232], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov al, byte [ebp - 0x232]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1008dee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6651
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x230]
call fcn.10004950
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
call fcn.1008ce30
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10004890
movzx ecx, al
test ecx, ecx
je 0x1008df75
mov byte [ebp - 0x249], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov al, byte [ebp - 0x249]
jmp 0x1008e06d
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.10004ac0
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010f2b8
call fcn.10004ac0
push eax
mov ecx, 0x1010f300
call fcn.10004ac0
push eax
mov ecx, 0x1010f318
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x218]
test eax, eax
jne 0x1008dff0
push 0x1010f2b8
lea ecx, [ebp - 0x230]
call fcn.1000b0e0
jmp 0x1008e002
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10006920
push 0x100d954c
lea ecx, [ebp - 0x264]
call fcn.10004900
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.1008da70
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.100048a0
mov byte [ebp - 0x24a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1008e090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d65fb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x230]
push eax
call fcn.1008ce30
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10004890
movzx ecx, al
test ecx, ecx
je 0x1008e107
mov byte [ebp - 0x231], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov al, byte [ebp - 0x231]
jmp 0x1008e1ad
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.10004ac0
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010f2b8
call fcn.10004ac0
push eax
mov ecx, 0x1010f2e8
call fcn.10004ac0
push eax
mov ecx, 0x1010f318
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x218]
test eax, eax
jne 0x1008e17f
push 0x1010f2b8
mov ecx, dword [ebp + 8]
call fcn.1000b0e0
jmp 0x1008e18e
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10006920
mov byte [ebp - 0x232], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov al, byte [ebp - 0x232]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x1008e1d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d66a1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x248]
push eax
call fcn.1008ce30
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10004890
movzx ecx, al
test ecx, ecx
je 0x1008e247
mov byte [ebp - 0x249], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100048a0
mov al, byte [ebp - 0x249]
jmp 0x1008e34e
lea ecx, [ebp - 0x230]
call fcn.10004950
mov byte [ebp - 4], 1
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.10004ac0
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010f2b8
call fcn.10004ac0
push eax
mov ecx, 0x1010f2e8
call fcn.10004ac0
push eax
mov ecx, 0x1010f318
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x218]
test eax, eax
jne 0x1008e2d1
push 0x1010f2b8
lea ecx, [ebp - 0x230]
call fcn.1000b0e0
jmp 0x1008e2e3
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10006920
push 0x100d94ec
lea ecx, [ebp - 0x264]
call fcn.10004900
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.1008da70
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.100048a0
mov byte [ebp - 0x24a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100048a0
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret