Function at 0x100326d0
Capabilities:
Delete file
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090be0
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x23c], ebx
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x206
push eax
lea eax, [ebp - 0x22a]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [ebp - 0x244], 0xffffffff
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 1
push str.dynconfig.dat
push 0x100e1fb0
push 0x10086350
lea eax, [ebp - 0x22c]
push eax
call fcn.10004ed0
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x244], esi
cmp esi, 0xffffffff
je 0x10032d5a
push 0
lea eax, [ebp - 0x240]
push eax
push 0xc
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10032d74
cmp dword [ebp - 0x240], 0xc
jne 0x10032d74
mov eax, dword [ebp - 0x238]
cmp eax, 0x10a0000
jb 0x10032c1b
cmp dword [ebp - 0x234], 8
jne 0x10032c1b
mov dword [edi + 0x6294], eax
mov eax, dword [ebp - 0x230]
mov dword [ebx], eax
imul edi, eax, 0x41c
lea eax, [edi + 0xa]
push eax
call fcn.1005218a
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
jne 0x100328d3
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10032859
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100328b6
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x10032895
mov byte [esi + 0xffff], 0
push esi
push str.LoadDynConfigFile
push 1
mov edx, 0x189
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100328ad
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 5
jmp 0x10032edc
push edi
push 0
push eax
call fcn.10055aa0
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov eax, dword [ebp - 0x23c]
cmp ebx, dword [eax]
jge 0x10032ae8
imul edi, ebx, 0x41c
add edi, dword [eax + 4]
push 0
lea eax, [ebp - 0x240]
push eax
push 0x41c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10032a80
cmp dword [ebp - 0x240], 0x41c
jne 0x10032a80
imul eax, dword [edi + 0x414], 0x210
add eax, 0xa
push eax
call fcn.1005218a
add esp, 4
mov ecx, eax
mov dword [edi + 0x418], ecx
test ecx, ecx
jne 0x100329a8
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1003283f
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x10032895
mov byte [esi + 0xffff], 0
push esi
push str.LoadDynConfigFile
push 1
mov edx, 0x197
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100328ad
imul eax, dword [edi + 0x414], 0x210
push eax
push 0
push ecx
call fcn.10055aa0
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x24c], esi
cmp esi, dword [edi + 0x414]
jge 0x10032a74
imul eax, esi, 0x210
add eax, dword [edi + 0x418]
push 0
lea ecx, [ebp - 0x240]
push ecx
push 0x210
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10032a0c
cmp dword [ebp - 0x240], 0x210
jne 0x10032a0c
inc esi
jmp 0x100329c0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10032d96
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10032deb
mov byte [esi + 0xffff], 0
push esi
push str.LoadDynConfigFile
push 1
mov edx, 0x1a0
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10032e03
inc ebx
mov esi, dword [ebp - 0x244]
jmp 0x100328e1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10032d96
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10032deb
mov byte [esi + 0xffff], 0
push esi
push str.LoadDynConfigFile
push 1
mov edx, 0x193
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10032e03
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x248], 0
push 0x1000a
call fcn.1005218a
add esp, 4
mov dword [ebp - 0x23c], eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov edi, eax
cmp dword [ebp - 0x23c], 0
je 0x10032bc9
test edi, edi
je 0x10032bc9
push str.dynconfig.dat
push str.Local_dynamic_config_loaded:__s__
push 0xffff
push edi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x10032bb4
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x23c]
lea eax, [ebp - 0x248]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x10032b92
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [ebp - 0x23c]
push str.LoadDynConfigFile
push 4
mov edx, 0x1a3
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10032be1
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x10032bdb
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x10032bf4
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x10032c01
push edi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0
call fcn.10032e2d
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10032edc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x244], 0xffffffff
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x248], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x23c], 0
push 0x1000a
call fcn.1005218a
add esp, 4
mov edi, eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov esi, eax
test edi, edi
je 0x10032d28
test esi, esi
je 0x10032d28
push dword [ebp - 0x248]
push 8
push dword [ebp - 0x234]
push 0x10a0000
push dword [ebp - 0x238]
lea eax, [ebp - 0x22c]
push eax
push str.INCOMPATIBLE_VERSION:___s_:__X____X____d____d____d
push 0xffff
push esi
call fcn.1005211a
add esp, 0x24
test eax, eax
jle 0x10032d13
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xffffffffffffffff
push esi
mov ecx, esi
call fcn.10001b80
inc eax
push eax
push edi
lea eax, [ebp - 0x23c]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x10032cf6
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push edi
push str.LoadDynConfigFile
push 4
mov edx, 0x180
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10032d40
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x10032d3a
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x10032d4d
push edi
call fcn.10052152
add esp, 4
test esi, esi
je 0x10032d5a
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
xor eax, eax
jmp 0x10032edc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10032db0
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10032e0c
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10032deb
mov byte [esi + 0xffff], 0
push esi
push str.LoadDynConfigFile
push 1
mov edx, 0x176
mov ecx, str...StandAloneSvcDynConfig.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10032e03
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x10032edc
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret