Function at 0x40e030
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb18
mov eax, dword [0x446044]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x7fe
xor esi, esi
lea edx, [ebp - 0xb02]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0xb14], eax
mov word [ebp - 0xb04], cx
call fcn.00426670
add esp, 0xc
xor eax, eax
push 0x286
lea edx, [ebp - 0x302]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
mov word [ebp - 0x304], cx
call fcn.00426670
xor eax, eax
add esp, 0xc
push 0x26800
xor ecx, ecx
push esi
push 0xc606d8
mov word [ebp - 0x58], ax
mov dword [ebp - 0x56], eax
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 word [ebp - 0x3a], ax
mov word [ebp - 0x38], cx
mov dword [ebp - 0x36], eax
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 word [ebp - 0x1a], ax
call fcn.00426670
mov edx, dword [0xc9ac44]
add esp, 0xc
mov dword [0xc606d8], edx
xor eax, eax
nop
movzx ecx, word [eax + 0x435414]
mov word [eax + 0xc606dc], cx
add eax, 2
cmp cx, si
jne 0x40e100
xor eax, eax
jmp 0x40e120
movzx ecx, word [eax + 0x435414]
mov word [eax + 0xc60700], cx
add eax, 2
cmp cx, si
jne 0x40e120
mov dword [0xc60728], esi
mov dword [0xc6072c], esi
mov dword [0xc60730], esi
mov dword [0xc60734], esi
xor eax, eax
movzx ecx, word [eax + 0x435414]
mov word [eax + 0xc60738], cx
add eax, 2
cmp cx, si
jne 0x40e150
mov dword [ebp - 0xb0c], 1
cmp edx, 1
jb 0x40e5a9
mov esi, 0xc60968
mov eax, 4
lea edx, [ebp - 0x304]
sub esi, 0x435414
sub eax, edx
mov ebx, 0xc60990
mov dword [ebp - 0xb08], 0xc60998
mov dword [ebp - 0xb10], eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0xa2
lea edi, [ebp - 0x304]
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 - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xb0c]
push edx
push eax
mov dword [ebx - 0x50], eax
call fcn.0041ef95
mov eax, dword [ebp - 0xb14]
add esp, 0xc
push eax
push 0x143
lea ecx, [ebp - 0x304]
push ecx
push 0x435414
lea edx, [ebp - 0x18]
push edx
push 0x43c698
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.0041ed71
add esp, 8
test eax, eax
je 0x40e26d
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.0041ed71
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 0x40e245
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
jmp 0x40e26f
xor edi, edi
lea edx, [ebp - 0x304]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
test eax, eax
je 0x40e2c5
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.0041ed71
add eax, 2
lea edx, [ebp - 0x38]
add esp, 8
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40e2a0
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.0041ed71
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x38]
push eax
call fcn.00420a5b
mov ecx, dword [ebp - 0xb08]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.0041ed71
add esp, 8
test eax, eax
je 0x40e335
lea edx, [ebp - 0x304]
push 0x26
push edx
call fcn.0041ed71
add eax, 2
lea edx, [ebp - 0x58]
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 0x40e310
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x58]
push edx
call fcn.00420a5b
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x304]
push 0x26
push eax
mov dword [ebx + 4], edx
call fcn.0041ed71
add esp, 8
test eax, eax
je 0x40e399
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.0041ed71
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 0x40e373
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x304]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
test eax, eax
jne 0x40e3d1
mov ecx, dword [ebp - 0xb10]
lea eax, [ebp - 0x304]
lea edx, [ebx + ecx - 0x50]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40e3c0
jmp 0x40e430
mov eax, 0x435414
jmp 0x40e3e0
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x40e3e0
mov eax, dword [ebp - 0xb08]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, 0x435414
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x40e405
mov eax, 0x435414
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x40e420
lea ecx, [ebx - 0x4c]
call fcn.00401100
test al, al
je 0x40e448
lea ecx, [ebx - 0x28]
call fcn.00401100
test al, al
jne 0x40e4a0
mov eax, 0x435414
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x40e450
mov eax, dword [ebp - 0xb08]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, 0x435414
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x40e475
mov eax, 0x435414
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x40e490
lea ecx, [ebx - 0x4c]
call fcn.00401210
cmp eax, dword [ebx]
jne 0x40e4ca
cmp edx, dword [ebx + 4]
jne 0x40e4ca
lea ecx, [ebx - 0x28]
call fcn.00401210
mov ecx, dword [ebp - 0xb08]
cmp eax, dword [ecx]
jne 0x40e4ca
mov eax, ecx
cmp edx, dword [eax + 4]
je 0x40e520
mov eax, 0x435414
nop
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x40e4d0
mov eax, dword [ebp - 0xb08]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, 0x435414
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x40e4f5
mov eax, 0x435414
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x40e510
cmp dword [0xc9ce68], edi
je 0x40e57a
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x200
lea edi, [ebp - 0xb04]
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebx - 0x50]
lea edx, [ebp - 0x58]
push edx
lea eax, [ebx - 0x28]
push eax
lea eax, [ebx - 0x4c]
push eax
push ecx
lea edx, [ebp - 0xb04]
push str._Debug__GetDispatchRangeList___u___s___s____s___s____s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xb04]
push eax
call fcn.00403960
add esp, 0x24
mov eax, dword [ebp - 0xb0c]
add dword [ebp - 0xb08], 0x268
inc eax
add ebx, 0x268
add esi, 0x268
mov dword [ebp - 0xb0c], eax
cmp eax, dword [0xc9ac44]
jbe 0x40e1a6
push 0x220
push 0
push 0xc8cee8
call fcn.00426670
add esp, 0xc
push 0xc8cee8
call fcn.0040d350
add esp, 4
cmp eax, 1
jne 0x40e71c
mov eax, dword [0xc8cee8]
test eax, eax
jle 0x40e715
mov ecx, 1
cmp eax, ecx
jl 0x40e639
mov ebx, 0xc8cf20
mov edi, edi
mov esi, 1
cmp dword [0xc606d8], esi
jb 0x40e631
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, 0xc60998
cmp edi, dword [eax - 4]
jl 0x40e61e
jg 0x40e613
cmp edx, dword [eax - 8]
jb 0x40e61e
cmp edi, dword [eax + 4]
jl 0x40e65b
jg 0x40e61e
cmp edx, dword [eax]
jbe 0x40e65b
inc esi
add eax, 0x268
cmp esi, dword [0xc606d8]
jbe 0x40e607
mov eax, dword [0xc8cee8]
inc ecx
add ebx, 0x20
cmp ecx, eax
jle 0x40e5f0
push 0xca0dc8
push 0x43c7b8
push 0xca0588
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0xca0588
jmp 0x40e721
xor eax, eax
mov dword [ebp - 0x7a], 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 word [ebp - 0x5a], ax
lea eax, [ebp - 0x7c]
push eax
shl ecx, 5
mov eax, ecx
mov ecx, dword [eax + 0xc8cf04]
xor edx, edx
mov word [ebp - 0x7c], dx
mov edx, dword [eax + 0xc8cf00]
push ecx
push edx
call fcn.00401440
mov eax, esi
imul eax, eax, 0x268
add esp, 0xc
lea edi, [eax + 0xc60738]
push edi
lea ecx, [eax + 0xc60700]
push ecx
lea edx, [eax + 0xc606dc]
push edx
push esi
lea eax, [ebp - 0x7c]
push eax
push 0x43c730
push 0xca0588
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0xca0588
call fcn.00403960
mov ecx, 0xc9bc50
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 0x40e6f0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041e7be
mov esp, ebp
pop ebp
ret
push 0x43c808
jmp 0x40e721
push 0x43c850
call fcn.00403960
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041e7be
mov esp, ebp
pop ebp
ret