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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce653
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea edx, [ebp + 0xc]
mov esi, dword [ebp + 0x20]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
cmp esi, 0x10
mov ebx, dword [ebp + 0x1c]
cmovae edx, edi
lea esp, [esp]
cmp esi, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edi
add eax, ebx
cmp edx, eax
je 0x40a597
movzx eax, byte [edx]
add ecx, eax
inc edx
jmp 0x40a580
mov ebx, dword [ebp - 0x24]
cmp ecx, dword [ebx + 0x10]
jne 0x40a5a6
mov bl, 1
jmp 0x40a7ea
xorps xmm0, xmm0
mov dword [ebx + 0x10], ecx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0040fcb0
mov dword [ebp - 0x1c], eax
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004021e0
lea ecx, [ebp - 0x1c]
call fcn.004099b0
add esp, 0x18
test al, al
jne 0x40a61f
mov edx, str._________logger_load_config_file_error
mov ecx, 0x516238
call fcn.0040ffb0
push eax
call fcn.004104c0
mov eax, dword [ebp - 0x1c]
add esp, 4
xor bl, bl
jmp 0x40a7ca
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x40a7c8
lea edi, [ebx + 0x34]
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x40a63d
mov ecx, dword [ecx]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
push edi
mov ebx, eax
call fcn.0047df9a
add esp, 4
test eax, eax
je 0x40a65d
push eax
call fcn.0047db79
add esp, 4
mov byte [ebp - 4], 2
test ebx, ebx
jne 0x40a6ea
cmp byte [ebp + 8], bl
jne 0x40a760
push 0x88
call fcn.004952af
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x40a6ac
push 0x88
push 0
push ebx
call fcn.0049aba0
add esp, 0xc
lea eax, [esi + 0x28]
mov ecx, ebx
push eax
push dword [ebp - 0x24]
call fcn.00408710
jmp 0x40a6ae
xor eax, eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 2
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x20], eax
jb 0x40a6c0
mov ecx, dword [ecx]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
lea ecx, [ebx + 0x2c]
call fcn.00411240
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x2c]
call fcn.00411310
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, byte [esi + 0x7c]
push eax
call dword [edx + 0x1c]
cmp dword [esi + 0x54], 0x10
lea ecx, [esi + 0x40]
jb 0x40a701
mov ecx, dword [ecx]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
cmp dword [esi + 0x6c], 0x10
lea ecx, [esi + 0x58]
jb 0x40a714
mov ecx, dword [ecx]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x70]
call dword [eax + 0x2c]
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, byte [esi + 0x7d]
push eax
call dword [edx + 0x34]
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, byte [esi + 0x74]
push eax
call dword [edx + 0x3c]
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, byte [esi + 0x75]
push eax
call dword [edx + 0x44]
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x78]
call dword [eax + 0x4c]
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, byte [esi + 0x76]
push eax
call dword [edx + 0x54]
push edi
mov byte [ebp - 4], 1
call fcn.0047dfc3
add esp, 4
test eax, eax
je 0x40a77a
push eax
call fcn.0047db79
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x40a7ba
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40a79f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40a7ba
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x40a793
jmp 0x40a7ba
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40a7b8
cmp esi, dword [eax + 8]
jne 0x40a7b8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40a7a8
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
cmp esi, eax
jne 0x40a632
mov bl, 1
push eax
push dword [eax]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e5c0
push dword [ebp - 0x1c]
call fcn.00494c0b
mov esi, dword [ebp + 0x20]
add esp, 4
mov edi, dword [ebp + 0xc]
cmp esi, 0x10
jb 0x40a7f8
push edi
call fcn.00494c0b
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0x1c