Function at 0x10003060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
cmp ebx, edi
sete al
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp + 0xc], edi
mov dword [ebp - 0xc], eax
cmp esi, edi
je 0x10002fea
cmp eax, edi
je 0x10002d47
call sub.glib_2.0.dll_g_key_file_new
mov ebx, eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.10002b30
add esp, 4
cmp dword [ebp + 0x14], edi
jne 0x10002d76
mov ecx, dword [0x1008ccb4]
mov edx, dword [0x1008ccd4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [0x1008ccd4], edi
mov dword [0x1008ccb4], edi
push esi
call sub.glib_2.0.dll_g_strdup
push 0xfffffffffffffffc
push eax
mov ecx, str.outputdebugstring
mov dword [0x1008ccbc], eax
call fcn.10002130
mov dword [0x1008ccb8], eax
mov eax, dword [0x1008ccbc]
push 2
push eax
mov ecx, str.syslog
call fcn.10002130
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edx, dword [0x1008ccbc]
push ecx
push ebx
mov ecx, esi
mov dword [0x1008ccb0], eax
call fcn.10002520
push 0
push 0
push str.logging
push ebx
call sub.glib_2.0.dll_g_key_file_get_keys
mov edi, eax
add esp, 0x2c
mov dword [ebp + 8], edi
test edi, edi
je 0x10002e59
lea ebx, [ebx]
mov edx, dword [ebp + 8]
mov esi, dword [edx]
test esi, esi
je 0x10002e56
push str..level
push esi
call sub.glib_2.0.dll_g_str_has_suffix
add esp, 8
test eax, eax
je 0x10002e50
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002e00
sub eax, edx
mov byte [eax + esi - 6], cl
mov ecx, dword [0x1008ccbc]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002e35
test dl, dl
je 0x10002e31
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002e35
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002e15
xor eax, eax
jmp 0x10002e3a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002e50
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push eax
push ebx
mov edx, esi
call fcn.10002520
add esp, 8
add dword [ebp + 8], 4
jne 0x10002de0
mov esi, dword [ebp - 4]
push edi
call sub.glib_2.0.dll_g_strfreev
push 0
push 0x1005dda8
push str.logging
push ebx
call sub.glib_2.0.dll_g_key_file_get_boolean
or eax, dword [ebp + 0x10]
add esp, 0x14
cmp dword [0x1008ccd8], 0
mov dword [0x1008ccc8], eax
jne 0x10002e9c
push 0x1008cce0
mov dword [0x1008ccd8], 1
call sub.glib_2.0.dll_g_static_rec_mutex_init
add esp, 4
lea ecx, [ebp + 0xc]
push ecx
push str.maxCacheEntries
push str.logging
push ebx
call sub.glib_2.0.dll_g_key_file_get_integer
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov dword [section..data], eax
test ecx, ecx
jne 0x10002ec3
test eax, eax
jge 0x10002eff
mov eax, 0x1000
mov dword [section..data], eax
test ecx, ecx
je 0x10002f01
mov ecx, dword [ecx + 4]
cmp ecx, 3
je 0x10002eec
cmp ecx, 4
je 0x10002eec
push ecx
push str.Invalid_value_for_maxCacheEntries_key:_Error__d.
call fcn.10050cd0
add esp, 8
lea edx, [ebp + 0xc]
push edx
call sub.glib_2.0.dll_g_clear_error
mov eax, dword [section..data]
add esp, 4
test eax, eax
jle 0x10002f11
push eax
push str.Log_caching_is_enabled_with_maxCacheEntries_d.
call fcn.100010b0
add esp, 8
jmp 0x10002f1e
push str.Log_caching_is_disabled.
call fcn.100010b0
add esp, 4
push 0
push str.enableCoreDump
push str.logging
push ebx
call sub.glib_2.0.dll_g_key_file_has_key
add esp, 0x10
test eax, eax
je 0x10002f51
push 0
push str.enableCoreDump
push str.logging
push ebx
call sub.glib_2.0.dll_g_key_file_get_boolean
add esp, 0x10
mov dword [0x10083004], eax
cmp dword [ebp + 0x14], 0
jne 0x10002f66
test esi, esi
je 0x10002f66
push 1
push esi
call sub.glib_2.0.dll_g_ptr_array_free
add esp, 8
cmp dword [0xcec8304], 0xffffff8b
inc esp
and al, 0x10
mov dword [esp + 4], edx
mov dword [esp], ecx
mov eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
cmp eax, 0
je 0x10002fb1
mov eax, dword [esp + 4]
mov al, byte [eax]
mov ecx, dword [esp]
mov byte [ecx], al
mov eax, dword [esp]
add eax, 1
mov dword [esp], eax
mov eax, dword [esp + 4]
add eax, 1
mov dword [esp + 4], eax
jmp 0x10002f7e
add esp, 0xc
ret
xor edi, edi
lea esi, [edi + edi*2]
cmp esi, eax
je 0x1000302b
mov edx, dword [edx]
mov dword [esp + 0x10], 0
add byte [eax], al
cmp edx, ecx
je 0x10003027
mov esi, dword [edx + 0x30]
movzx ebx, word [esi]
test bx, bx
je 0x10002fd9
add esi, 2
xor edi, edi
jmp 0x10003019
movzx ebx, bx
add edi, ebx
movzx ebx, word [esi]
add esi, 2
test bx, bx
je 0x10002fdb
lea ebp, [ebx - 0x41]
cmp bp, 0x1a
jae 0x10003009
add ebx, 0x20
jmp 0x10003009
xor ebp, ebp
jmp 0x1000302e
mov ebp, dword [edx + 0x18]
mov ecx, dword [0x10085b9f]
mov eax, dword [0x10085ba7]
mov edx, dword [0x10085b97]
mov dword [esp], edx
mov edx, dword [ebp + 0x3c]
add edx, ebp
mov ecx, dword [edx + ecx*8 + 0x78]
mov edx, dword [ebp + ecx + 0x18]
mov dword [esp + 0xc], edx
push esp
and al, 0xc
test edx, edx
mov dword [esp + 4], ebp
je 0x1000310e
mov esi, dword [ebp + ecx + 0x20]
add esi, ebp
mov edx, dword [ebp + ecx + 0x1c]
add edx, ebp
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + ecx + 0x24]
add ecx, ebp
mov dword [esp + 0x14], ecx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop