Function at 0x40e160
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4c7d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 0x14]
mov ecx, esi
mov eax, dword [ebx + 8]
push 0x63fefc
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], esi
mov byte [ebp - 0x288], 1
call fcn.0047e040
test al, al
je 0x40e1fc
push 0x63fefc
mov ecx, esi
call fcn.0047a600
mov ecx, eax
call fcn.0047df90
test al, al
je 0x40e1fc
push 0x63fefc
mov ecx, esi
call fcn.0047a600
mov ecx, eax
call fcn.0047b610
mov byte [ebp - 0x288], al
cmp byte [edi + 0x110], 0
mov byte [ebp - 0x270], 0
je 0x40e24a
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x278], esi
push eax
lea ecx, [ebp - 0x278]
call fcn.0040d9a0
push str.upload_xml
push eax
mov dword [ebp - 4], 0
call fcn.004513e0
add esp, 8
mov byte [ebp - 0x270], al
lea ecx, [ebp - 0x2b0]
call fcn.0047a120
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov dword [ebp - 4], 2
cmp dword [edi + 0x124], 0
je 0x40e35e
cmp dword [edi + 0x128], 0x10
lea edx, [edi + 0x114]
jb 0x40e298
mov edx, dword [edi + 0x114]
mov ecx, dword [edi + 0x124]
sub esp, 8
mov eax, esp
push ecx
mov dword [eax], 0x63ff0c
mov dword [eax + 4], 1
lea eax, [ebp - 0x280]
push edx
push eax
call fcn.00451d80
add esp, 0x14
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
mov eax, ecx
mov esi, dword [ebp - 0x280]
sub eax, esi
sar eax, 3
cmp eax, 2
jne 0x40e316
mov edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
push 4
push str.true
push 0
call fcn.0040fcf0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40e316
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x250]
push eax
push dword [esi]
mov dword [ebp - 0x290], eax
call fcn.00406230
mov esi, dword [ebp - 0x280]
mov byte [ebp - 4], 2
test esi, esi
je 0x40e358
mov eax, dword [ebp - 0x278]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x40e34e
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e7f1
push ecx
push esi
call fcn.005a242d
add esp, 8
mov esi, dword [ebp - 0x284]
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x278], esi
push eax
lea ecx, [ebp - 0x278]
call fcn.0040d9a0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push str.pmmDomainConfig
push eax
push ecx
call fcn.00451250
add esp, 0xc
push dword [ebp - 0x288]
push ecx
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebp - 0x28c]
call fcn.0041dc40
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.0047a120
mov ecx, edi
call fcn.0041fe40
test eax, eax
jne 0x40e3c6
xor esi, esi
jmp 0x40e799
lea eax, [ebp - 0x250]
mov ecx, edi
push eax
push dword [ebp - 0x270]
call fcn.004210b0
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x278], esi
push eax
lea ecx, [ebp - 0x278]
call fcn.0040d9a0
push str.rhinoDomain
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 5
push eax
call fcn.00451250
add esp, 0xc
push eax
lea eax, [edi + 0xf8]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.00421c60
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x224]
cmp ecx, 0x10
jb 0x40e45c
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e452
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e7f6
push ecx
push edx
call fcn.005a242d
add esp, 8
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
mov byte [ebp - 4], 2
call fcn.0047a120
mov ecx, edi
call fcn.004219f0
push 0
mov dword [ebp - 0x290], eax
call fcn.005b48bc
add esp, 4
push edx
push eax
call fcn.00453160
add esp, 8
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], esi
push eax
call fcn.0040d9a0
push str.daily_report
push eax
mov byte [ebp - 4], 7
call fcn.004513e0
add esp, 8
mov byte [ebp - 0x269], al
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.0047a120
cmp byte [ebp - 0x269], 0
je 0x40e77b
mov eax, dword [ebp - 0x28c]
lea ecx, [edi + 0x12c]
mov dword [ebp - 0x270], ecx
mov esi, dword [eax + 0x3f8]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40e520
push 0x208
lea eax, [ebp - 0x220]
sub esi, ecx
push 0
push eax
sar esi, 1
call fcn.005a49e0
add esp, 0xc
cmp dword [edi + 0x140], 8
jb 0x40e55a
mov eax, dword [edi + 0x12c]
mov dword [ebp - 0x270], eax
push esi
mov esi, dword [ebp - 0x28c]
lea ecx, [ebp - 0x238]
push dword [esi + 0x3f8]
call fcn.004185c0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x40e57d
mov eax, dword [eax]
mov ecx, dword [ebp - 0x270]
push ecx
push 0x103
lea ecx, [ebp - 0x220]
push ecx
push 0x6417c8
push eax
push str.f874f0ba89b5c2b64302f135660b026f
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x224]
test eax, eax
sete al
mov byte [ebp - 0x269], al
cmp ecx, 8
jb 0x40e5f2
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e5e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e7fb
push ecx
push edx
call fcn.005a242d
mov al, byte [ebp - 0x269]
add esp, 8
test al, al
je 0x40e60f
xorps xmm0, xmm0
movlpd qword [ebp - 0x280], xmm0
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x280]
jmp 0x40e61e
lea eax, [ebp - 0x220]
push eax
call fcn.005b6497
add esp, 4
cmp eax, dword [ebp - 0x284]
jne 0x40e632
cmp edx, dword [ebp - 0x288]
je 0x40e77b
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], edi
mov byte [ebp - 0x278], 0
call fcn.0040e810
mov eax, dword [esi + 0x3f8]
lea ecx, [edi + 0x12c]
mov esi, eax
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x278], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40e667
sub esi, edx
sar esi, 1
cmp dword [ecx + 0x14], 8
jb 0x40e684
mov ecx, dword [ecx]
mov dword [ebp - 0x270], ecx
push dword [ebp - 0x288]
lea ecx, [ebp - 0x268]
push dword [ebp - 0x284]
call fcn.00418530
add esp, 8
mov edi, eax
mov byte [ebp - 4], 8
cmp dword [edi + 0x14], 8
jb 0x40e6ac
mov edi, dword [edi]
push esi
push dword [ebp - 0x278]
lea ecx, [ebp - 0x238]
call fcn.004185c0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x40e6c9
mov eax, dword [eax]
push dword [ebp - 0x270]
push edi
push eax
push str.f874f0ba89b5c2b64302f135660b026f
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x40e71c
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e712
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e800
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp ecx, 8
jb 0x40e793
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e76f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e800
push ecx
push edx
call fcn.005a242d
add esp, 8
jmp 0x40e793
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], edi
mov byte [ebp - 0x278], 1
call fcn.0040e810
mov esi, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0x10
jb 0x40e7cf
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e7c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e805
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.005a7b3f
call fcn.005a7b3f
call fcn.005a7b3f
call fcn.005a7b3f
call fcn.005a7b3f
int3