Function at 0x40e790
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0c
mov eax, dword [0x448044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7fe
xor esi, esi
lea ecx, [ebp - 0xafe]
xor eax, eax
push esi
push ecx
mov word [ebp - 0xb00], ax
call fcn.004279d0
add esp, 0xc
xor eax, eax
push 0x286
lea ecx, [ebp - 0x2fe]
xor edx, edx
push esi
push ecx
mov word [ebp - 0x14], dx
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov word [ebp - 0x300], ax
call fcn.004279d0
xor eax, eax
add esp, 0xc
push 0x26800
xor edx, edx
push esi
push 0x44b378
mov word [ebp - 0x54], dx
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov word [ebp - 0x36], ax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call fcn.004279d0
mov edx, dword [0x4858cc]
add esp, 0xc
mov dword [0x44b378], edx
xor eax, eax
jmp 0x40e860
movzx ecx, word [eax + 0x436474]
mov word [eax + 0x44b37c], cx
add eax, 2
cmp cx, si
jne 0x40e860
xor eax, eax
jmp 0x40e880
movzx ecx, word [eax + 0x436474]
mov word [eax + 0x44b3a0], cx
add eax, 2
cmp cx, si
jne 0x40e880
mov dword [0x44b3c8], esi
mov dword [0x44b3cc], esi
mov dword [0x44b3d0], esi
mov dword [0x44b3d4], esi
xor eax, eax
movzx ecx, word [eax + 0x436474]
mov word [eax + 0x44b3d8], cx
add eax, 2
cmp cx, si
jne 0x40e8b0
mov dword [ebp - 0xb08], 1
cmp edx, 1
jb 0x40ed09
mov esi, 0x44b608
mov eax, 4
lea ecx, [ebp - 0x300]
sub esi, 0x436474
sub eax, ecx
mov ebx, 0x44b630
mov dword [ebp - 0xb04], 0x44b638
mov dword [ebp - 0xb0c], eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0xa2
lea edi, [ebp - 0x300]
rep stosd dword es:[edi], eax
xor eax, eax
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or eax, ecx
push 0xa
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xb08]
push edx
push eax
mov dword [ebx - 0x50], eax
call fcn.004202f5
add esp, 0xc
push 0x48c250
push 0x143
lea eax, [ebp - 0x300]
push eax
push 0x436474
lea ecx, [ebp - 0x14]
push ecx
push 0x43e020
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x300]
push 0x26
push edx
call fcn.004200d1
add esp, 8
test eax, eax
je 0x40e9cb
lea eax, [ebp - 0x300]
push 0x26
push eax
call fcn.004200d1
add eax, 2
mov edx, ebx
add esp, 8
sub edx, eax
xor edi, edi
movzx ecx, word [eax]
mov word [edx + eax + 0x10], cx
add eax, 2
cmp cx, di
jne 0x40e9a3
lea edx, [ebp - 0x300]
push 0x26
push edx
call fcn.004200d1
add esp, 8
xor ecx, ecx
mov word [eax], cx
jmp 0x40e9cd
xor edi, edi
lea edx, [ebp - 0x300]
push 0x26
push edx
call fcn.004200d1
add esp, 8
test eax, eax
je 0x40ea25
lea eax, [ebp - 0x300]
push 0x26
push eax
call fcn.004200d1
add eax, 2
lea edx, [ebp - 0x34]
add esp, 8
sub edx, eax
jmp 0x40ea00
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40ea00
lea ecx, [ebp - 0x300]
push 0x26
push ecx
call fcn.004200d1
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x34]
push eax
call fcn.00421dbb
mov ecx, dword [ebp - 0xb04]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x300]
push 0x26
push ecx
call fcn.004200d1
add esp, 8
test eax, eax
je 0x40ea95
lea edx, [ebp - 0x300]
push 0x26
push edx
call fcn.004200d1
add eax, 2
lea edx, [ebp - 0x54]
add esp, 8
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40ea70
lea eax, [ebp - 0x300]
push 0x26
push eax
call fcn.004200d1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x54]
push edx
call fcn.00421dbb
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x300]
push 0x26
push eax
mov dword [ebx + 4], edx
call fcn.004200d1
add esp, 8
test eax, eax
je 0x40eaf9
lea ecx, [ebp - 0x300]
push 0x26
push ecx
call fcn.004200d1
add eax, 2
mov edx, ebx
add esp, 8
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax - 0x28], cx
add eax, 2
cmp cx, di
jne 0x40ead3
lea eax, [ebp - 0x300]
push 0x26
push eax
call fcn.004200d1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x300]
push 0x26
push edx
call fcn.004200d1
add esp, 8
test eax, eax
jne 0x40eb31
mov ecx, dword [ebp - 0xb0c]
lea eax, [ebp - 0x300]
lea edx, [ebx + ecx - 0x50]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40eb20
jmp 0x40eb90
mov eax, 0x436474
jmp 0x40eb40
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x40eb40
mov eax, dword [ebp - 0xb04]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, 0x436474
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x40eb65
mov eax, 0x436474
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x40eb80
lea ecx, [ebx - 0x4c]
call fcn.00401100
test al, al
je 0x40eba8
lea ecx, [ebx - 0x28]
call fcn.00401100
test al, al
jne 0x40ec00
mov eax, 0x436474
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x40ebb0
mov eax, dword [ebp - 0xb04]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, 0x436474
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x40ebd5
mov eax, 0x436474
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x40ebf0
lea ecx, [ebx - 0x4c]
call fcn.00401210
cmp eax, dword [ebx]
jne 0x40ec2a
cmp edx, dword [ebx + 4]
jne 0x40ec2a
lea ecx, [ebx - 0x28]
call fcn.00401210
mov ecx, dword [ebp - 0xb04]
cmp eax, dword [ecx]
jne 0x40ec2a
mov eax, ecx
cmp edx, dword [eax + 4]
je 0x40ec80
mov eax, 0x436474
nop
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x40ec30
mov eax, dword [ebp - 0xb04]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, 0x436474
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x40ec55
mov eax, 0x436474
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x40ec70
cmp dword [0x487af0], edi
je 0x40ecda
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x200
lea edi, [ebp - 0xb00]
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebx - 0x50]
lea edx, [ebp - 0x54]
push edx
lea eax, [ebx - 0x28]
push eax
lea eax, [ebx - 0x4c]
push eax
push ecx
lea edx, [ebp - 0xb00]
push str._Debug__GetDispatchRangeList___u___s___s____s___s____s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xb00]
push eax
call fcn.004042f0
add esp, 0x24
mov eax, dword [ebp - 0xb08]
add dword [ebp - 0xb04], 0x268
inc eax
add ebx, 0x268
add esi, 0x268
mov dword [ebp - 0xb08], eax
cmp eax, dword [0x4858cc]
jbe 0x40e906
push 0x220
push 0
push 0x477b88
call fcn.004279d0
add esp, 0xc
push 0x477b88
call fcn.0040dab0
add esp, 4
cmp eax, 1
jne 0x40ee7c
mov eax, dword [0x477b88]
test eax, eax
jle 0x40ee75
mov ecx, 1
cmp eax, ecx
jl 0x40ed99
mov ebx, 0x477bc0
mov edi, edi
mov esi, 1
cmp dword [0x44b378], esi
jb 0x40ed91
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, 0x44b638
cmp edi, dword [eax - 4]
jl 0x40ed7e
jg 0x40ed73
cmp edx, dword [eax - 8]
jb 0x40ed7e
cmp edi, dword [eax + 4]
jl 0x40edbb
jg 0x40ed7e
cmp edx, dword [eax]
jbe 0x40edbb
inc esi
add eax, 0x268
cmp esi, dword [0x44b378]
jbe 0x40ed67
mov eax, dword [0x477b88]
inc ecx
add ebx, 0x20
cmp ecx, eax
jle 0x40ed50
push 0x48ba50
push 0x43e140
push 0x48b210
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x48b210
jmp 0x40ee81
xor eax, eax
mov dword [ebp - 0x76], eax
mov dword [ebp - 0x72], eax
mov dword [ebp - 0x6e], eax
mov dword [ebp - 0x6a], eax
mov dword [ebp - 0x66], eax
mov dword [ebp - 0x62], eax
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], eax
mov word [ebp - 0x56], ax
lea eax, [ebp - 0x78]
push eax
shl ecx, 5
mov eax, ecx
mov ecx, dword [eax + 0x477ba4]
xor edx, edx
mov word [ebp - 0x78], dx
mov edx, dword [eax + 0x477ba0]
push ecx
push edx
call fcn.00401440
mov eax, esi
imul eax, eax, 0x268
add esp, 0xc
lea edi, [eax + 0x44b3d8]
push edi
lea ecx, [eax + 0x44b3a0]
push ecx
lea edx, [eax + 0x44b37c]
push edx
push esi
lea eax, [ebp - 0x78]
push eax
push 0x43e0b8
push 0x48b210
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0x48b210
call fcn.004042f0
mov ecx, 0x4868d8
add esp, 4
mov eax, edi
sub ecx, edi
lea esp, [esp]
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40ee50
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb1e
mov esp, ebp
pop ebp
ret
push 0x43e190
jmp 0x40ee81
push 0x43e1d8
call fcn.004042f0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041fb1e
mov esp, ebp
pop ebp
ret