Function at 0x410600
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb18
mov eax, dword [0x44a044]
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.00427f40
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.00427f40
xor eax, eax
add esp, 0xc
push 0x26800
xor ecx, ecx
push esi
push 0x44d310
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.00427f40
mov edx, dword [0x487868]
add esp, 0xc
mov dword [0x44d310], edx
xor eax, eax
nop
movzx ecx, word [eax + 0x43c324]
mov word [eax + 0x44d314], cx
add eax, 2
cmp cx, si
jne 0x4106d0
xor eax, eax
jmp 0x4106f0
movzx ecx, word [eax + 0x43c324]
mov word [eax + 0x44d338], cx
add eax, 2
cmp cx, si
jne 0x4106f0
mov dword [0x44d360], esi
mov dword [0x44d364], esi
mov dword [0x44d368], esi
mov dword [0x44d36c], esi
xor eax, eax
movzx ecx, word [eax + 0x43c324]
mov word [eax + 0x44d370], cx
add eax, 2
cmp cx, si
jne 0x410720
mov dword [ebp - 0xb0c], 1
cmp edx, 1
jb 0x410b79
mov esi, 0x44d5a0
mov eax, 4
lea edx, [ebp - 0x304]
sub esi, 0x43c324
sub eax, edx
mov ebx, 0x44d5c8
mov dword [ebp - 0xb08], 0x44d5d0
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.00422c15
mov eax, dword [ebp - 0xb14]
add esp, 0xc
push eax
push 0x143
lea ecx, [ebp - 0x304]
push ecx
push 0x43c324
lea edx, [ebp - 0x18]
push edx
push 0x440780
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.00421cfc
add esp, 8
test eax, eax
je 0x41083d
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.00421cfc
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 0x410815
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.00421cfc
add esp, 8
xor ecx, ecx
mov word [eax], cx
jmp 0x41083f
xor edi, edi
lea edx, [ebp - 0x304]
push 0x26
push edx
call fcn.00421cfc
add esp, 8
test eax, eax
je 0x410895
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.00421cfc
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 0x410870
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.00421cfc
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x38]
push eax
call fcn.00423dab
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.00421cfc
add esp, 8
test eax, eax
je 0x410905
lea edx, [ebp - 0x304]
push 0x26
push edx
call fcn.00421cfc
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 0x4108e0
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.00421cfc
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x58]
push edx
call fcn.00423dab
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x304]
push 0x26
push eax
mov dword [ebx + 4], edx
call fcn.00421cfc
add esp, 8
test eax, eax
je 0x410969
lea ecx, [ebp - 0x304]
push 0x26
push ecx
call fcn.00421cfc
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 0x410943
lea eax, [ebp - 0x304]
push 0x26
push eax
call fcn.00421cfc
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x304]
push 0x26
push edx
call fcn.00421cfc
add esp, 8
test eax, eax
jne 0x4109a1
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 0x410990
jmp 0x410a00
mov eax, 0x43c324
jmp 0x4109b0
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x4109b0
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, 0x43c324
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x4109d5
mov eax, 0x43c324
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x4109f0
lea ecx, [ebx - 0x4c]
call fcn.00403680
test al, al
je 0x410a18
lea ecx, [ebx - 0x28]
call fcn.00403680
test al, al
jne 0x410a70
mov eax, 0x43c324
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x410a20
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, 0x43c324
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x410a45
mov eax, 0x43c324
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x410a60
lea ecx, [ebx - 0x4c]
call fcn.00403790
cmp eax, dword [ebx]
jne 0x410a9a
cmp edx, dword [ebx + 4]
jne 0x410a9a
lea ecx, [ebx - 0x28]
call fcn.00403790
mov ecx, dword [ebp - 0xb08]
cmp eax, dword [ecx]
jne 0x410a9a
mov eax, ecx
cmp edx, dword [eax + 4]
je 0x410af0
mov eax, 0x43c324
nop
movzx ecx, word [eax]
mov word [esi + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x410aa0
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, 0x43c324
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, di
jne 0x410ac5
mov eax, 0x43c324
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax - 0x24], cx
add eax, 2
cmp cx, di
jne 0x410ae0
cmp dword [0x489a88], edi
je 0x410b4a
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.00406870
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 [0x487868]
jbe 0x410776
push 0x220
push 0
push 0x479b20
call fcn.00427f40
add esp, 0xc
push 0x479b20
call fcn.0040f920
add esp, 4
cmp eax, 1
jne 0x410cec
mov eax, dword [0x479b20]
test eax, eax
jle 0x410ce5
mov ecx, 1
cmp eax, ecx
jl 0x410c09
mov ebx, 0x479b58
mov edi, edi
mov esi, 1
cmp dword [0x44d310], esi
jb 0x410c01
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, 0x44d5d0
cmp edi, dword [eax - 4]
jl 0x410bee
jg 0x410be3
cmp edx, dword [eax - 8]
jb 0x410bee
cmp edi, dword [eax + 4]
jl 0x410c2b
jg 0x410bee
cmp edx, dword [eax]
jbe 0x410c2b
inc esi
add eax, 0x268
cmp esi, dword [0x44d310]
jbe 0x410bd7
mov eax, dword [0x479b20]
inc ecx
add ebx, 0x20
cmp ecx, eax
jle 0x410bc0
push 0x48d9d8
push 0x4408a0
push 0x48d198
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x48d198
jmp 0x410cf1
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 + 0x479b3c]
xor edx, edx
mov word [ebp - 0x7c], dx
mov edx, dword [eax + 0x479b38]
push ecx
push edx
call fcn.004039c0
mov eax, esi
imul eax, eax, 0x268
add esp, 0xc
lea edi, [eax + 0x44d370]
push edi
lea ecx, [eax + 0x44d338]
push ecx
lea edx, [eax + 0x44d314]
push edx
push esi
lea eax, [ebp - 0x7c]
push eax
push 0x440818
push 0x48d198
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0x48d198
call fcn.00406870
mov ecx, 0x488870
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 0x410cc0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
push 0x4408f0
jmp 0x410cf1
push 0x440938
call fcn.00406870
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00421294
mov esp, ebp
pop ebp
ret