Function at 0x6d1c70ef
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c9025
call fcn.6d1c81f0
sub esp, 0x134
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, ecx
push 0x800
push 0x6d1c1584
mov esi, 0x6d1c156c
push esi
mov dword [ebp - 0x10], edi
call fcn.6d1c1a89
lea eax, [ebp + 0x2b]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d1c2d41
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x80]
push eax
mov ebx, 0x6d1c155c
push ebx
push esi
push dword [ebp + 0x10]
call fcn.6d1c6179
cmp byte [ebp + 0xc], 0
jne 0x6d1c71f5
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
lea eax, [edi + 0x20]
push 0
push eax
call fcn.6d1c37a6
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x14]
call fcn.6d1c6346
push dword [ebp + 0x10]
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
call fcn.6d1c4a3b
mov eax, dword [edi + 0x18]
test eax, eax
je 0x6d1c71c0
cmp dword [edi + 0x1c], 0
je 0x6d1c71c0
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x6d1c7194
mov ecx, 0x6d1c1168
push dword [ebp + 0x10]
push eax
push 0x6d1c1554
push ecx
call fcn.6d1c1a89
mov eax, dword [esi + 4]
test eax, eax
jne 0x6d1c71af
mov eax, 0x6d1c1168
push dword [ebp + 0x10]
push dword [edi + 0x1c]
push 0x6d1c154c
push eax
call fcn.6d1c1a89
mov eax, dword [edi + 0x24]
test eax, eax
mov ecx, 0x6d1c1168
je 0x6d1c71ce
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x6d1c71dd
mov eax, 0x6d1c1168
push dword [ebp + 0x10]
push ecx
push 0x6d1c11b0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x6d1c73e3
add edi, 0xbc
cmp dword [ebp + 0x18], edi
jne 0x6d1c7220
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x6d1c720f
mov eax, 0x6d1c1168
mov ecx, dword [ebp + 8]
push ecx
add ecx, 0x14
push ecx
push eax
push dword [ebp + 0x10]
call fcn.6d1c5020
lea eax, [ebp + 0x2b]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d1c2d41
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
mov byte [ebp - 4], 1
jne 0x6d1c723f
mov eax, 0x6d1c1168
push 1
lea ecx, [ebp - 0x74]
push ecx
mov edi, 0x6d1c1538
push edi
push eax
push dword [ebp + 0x10]
call fcn.6d1c6179
lea eax, [ebp + 0x2b]
push eax
lea ecx, [ebp - 0x90]
call fcn.6d1c2d41
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebx]
mov byte [ebp - 4], 2
jmp 0x6d1c72b1
call esi
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x68]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x68]
jmp 0x6d1c7be0
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x6d1c729c
mov eax, 0x6d1c1168
push 1
lea ecx, [ebp - 0x90]
push ecx
push edi
push eax
push dword [ebp + 0x10]
call fcn.6d1c6179
mov esi, dword [esi]
cmp esi, ebx
jne 0x6d1c7290
mov al, byte [ebp + 0x2b]
xor esi, esi
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
cmp eax, esi
mov byte [ebp - 4], 3
mov edx, 0x6d1c1168
je 0x6d1c72db
mov edx, eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x14]
push ecx
push dword [eax + 0x24]
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.6d1c4eb5
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x6d1c72fb
mov eax, 0x6d1c1168
push dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x6d1c14c0
push eax
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov dword [ebp + 0xc], 0xffffffff
mov edi, 0x6d1c14a8
jne 0x6d1c733c
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x6d1c7330
mov eax, 0x6d1c1168
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push eax
call esi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x44]
test eax, eax
mov esi, 0x6d1c1168
jne 0x6d1c734a
mov eax, esi
push dword [ebp + 0x10]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x6d1c73e3
cmp byte [ebp + 0x28], 0
je 0x6d1c7391
test bl, bl
mov eax, dword [ebp - 0x44]
je 0x6d1c737e
test eax, eax
jne 0x6d1c7373
mov eax, esi
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + 0xc]
jmp 0x6d1c738a
test eax, eax
jne 0x6d1c7384
mov eax, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.6d1c1af2
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x6d1c739a
mov eax, esi
push dword [ebp + 0x10]
mov edi, 0x6d1c14c0
push 1
push edi
push eax
call fcn.6d1c1af2
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x6d1c73b9
mov eax, esi
mov ecx, dword [ebp + 8]
push ebx
push dword [ecx + 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.6d1c4eb5
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x6d1c73d3
mov eax, esi
push dword [ebp + 0x10]
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x6d1c73fa
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x6d1c726e
call esi
jmp 0x6d1c727a
cmp byte [ebp + 0x28], 0
jne 0x6d1c7415
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x6d1c7409
mov eax, esi
push dword [ebp + 0x10]
push 1
push edi
push eax
call fcn.6d1c1af2
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], ebx
mov dword [ebp - 0x38], ebx
jbe 0x6d1c75aa
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
add eax, 0x30
and dword [ebp - 0x24], 0
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x84]
lea edx, [eax + ecx]
mov eax, dword [edx + 0x24]
push 4
mov dword [ebp + 0xc], eax
lea esi, [edx + 0x10]
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x6d1c7597
cmp byte [ebp + 0x28], al
je 0x6d1c7467
test byte [ebp + 0xc], 0x2f
jmp 0x6d1c746b
test byte [ebp + 0xc], 0xc
je 0x6d1c7597
cmp byte [ebp + 0x28], 0
je 0x6d1c747e
mov dword [ebp + 0xc], 4
mov al, byte [ebp + 0x2b]
mov byte [ebp - 0x34], al
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
mov esi, dword [eax]
cmp esi, eax
mov byte [ebp - 4], 4
je 0x6d1c7589
mov eax, dword [edx + 0x20]
mov edi, 0xffffff
and eax, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x28]
and eax, edi
cmp eax, dword [ebp + 8]
jne 0x6d1c74cc
push dword [edx + 4]
push dword [esi + 0x2c]
call fcn.6d1c1c61
test al, al
jne 0x6d1c74de
mov esi, dword [esi]
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax + 0xe0]
jne 0x6d1c74b3
jmp 0x6d1c7589
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x34]
push dword [ebp + 0x18]
push esi
push eax
call fcn.6d1c6faf
mov eax, dword [ebp - 0x30]
test eax, eax
mov edi, 0x6d1c1168
jne 0x6d1c750a
mov eax, edi
push dword [ebp + 0x10]
push eax
push esi
call fcn.6d1c2c55
mov al, byte [ebp + 0x2b]
mov byte [ebp - 0x20], al
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
test byte [ebp + 0xc], 4
mov byte [ebp - 4], 5
je 0x6d1c7536
lea eax, [ebx + 0x14]
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x6d1c7542
mov eax, edi
push ecx
push dword [ebx + 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.6d1c4eb5
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x6d1c7559
mov edx, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x6d1c7562
mov ecx, edi
push dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
push dword [ebp + 0x20]
mov esi, dword [ebp - 0x24]
push dword [eax + esi + 4]
call fcn.6d1c1ce9
push eax
push edx
push ecx
call fcn.6d1c1a89
push 1
lea ecx, [ebp - 0x20]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.6d1c2261
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x24], 0x28
cmp eax, dword [ebx + 0xc]
jb 0x6d1c7437
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x6d1c7b6e
mov eax, dword [ebp - 0x10]
and byte [eax + 0xd4], 0
and dword [eax + 0xd8], 0
mov eax, dword [ecx + 0x1c]
xor edx, edx
div dword [ecx + 4]
and dword [ebp + 0xc], 0
test eax, eax
jbe 0x6d1c7b6e
mov edi, ecx
mov esi, dword [ebp + 0xc]
imul esi, esi, 0x264
add esi, dword [edi + 0x20]
mov ebx, dword [esi + 0x208]
test bl, 1
je 0x6d1c7627
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x6d1c7602
mov eax, 0x6d1c1168
mov ecx, dword [ebp - 0x10]
shr ebx, 0x18
and ebx, 0xffffff01
push ebx
push 1
push esi
push eax
push 0x6d1c15b0
push 0x6d1c14d4
call fcn.6d1c443c
jmp 0x6d1c7b5a
test bl, 2
je 0x6d1c7bcb
mov al, byte [ebp + 0x2b]
mov byte [ebp - 0xd0], al
xor eax, eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
mov edi, dword [eax]
cmp edi, eax
je 0x6d1c7b46
mov ecx, dword [esi + 0x220]
mov eax, 0xffffff
and ecx, eax
mov edx, dword [edi + 0x2c]
and edx, eax
cmp ecx, edx
je 0x6d1c7688
mov edi, dword [edi]
mov edx, dword [ebp - 0x10]
cmp edi, dword [edx + 0xe0]
jne 0x6d1c766d
jmp 0x6d1c7b46
mov al, byte [ebp + 0x2b]
mov byte [ebp - 0x20], al
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push dword [ebp + 0x18]
mov byte [ebp - 4], 7
push edi
push eax
call fcn.6d1c6faf
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x6d1c76c7
mov eax, 0x6d1c1168
push dword [ebp + 0x10]
push eax
push edi
call fcn.6d1c2c55
mov eax, dword [ebp - 0x1c]
test eax, eax
mov edi, 0x6d1c1168
jne 0x6d1c76df
mov eax, edi
mov ecx, ebx
shr ecx, 0x18
and ecx, 0xffffff01
push ecx
mov ecx, dword [ebp - 0x10]
push 1
push esi
push eax
push 0x6d1c12ec
push 0x6d1c130c
call fcn.6d1c443c
cmp word [esi], 0
jne 0x6d1c7717
mov dword [ebp + 0x28], ebx
and dword [ebp + 0x28], 0x1000000
je 0x6d1c781a
lea eax, [ebp + 0x2b]
push eax
push 0x6d1c12d4
lea ecx, [ebp - 0xb0]
call fcn.6d1c325e
push dword [esi + 0x20c]
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 4], 8
call fcn.6d1c3b60
push eax
lea eax, [ebp - 0x130]
push 0x6d1c1308
push eax
mov byte [ebp - 4], 9
call fcn.6d1c39c8
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call fcn.6d1c2eff
push 1
lea ecx, [ebp - 0x130]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.6d1c2261
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
mov dword [ebp + 0x28], ebx
and dword [ebp + 0x28], 0x1000000
je 0x6d1c77df
test eax, eax
jne 0x6d1c77a4
mov eax, edi
mov edx, dword [ebp - 0xac]
test edx, edx
jne 0x6d1c77b0
mov edx, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x6d1c77b9
mov ecx, edi
push eax
push 0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x6d1c7809
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x6d1c79fd
call esi
jmp 0x6d1c7a09
test eax, eax
jne 0x6d1c77e5
mov eax, edi
mov edx, dword [ebp - 0xac]
test edx, edx
jne 0x6d1c77f1
mov edx, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x6d1c77fa
mov ecx, edi
push eax
lea eax, [esi + 0x210]
push eax
push edx
push ecx
call fcn.6d1c3bf2
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.6d1c2261
lea eax, [ebp + 0x2b]
push eax
push 0x6d1c12c8
lea ecx, [ebp - 0x68]
call fcn.6d1c325e
push dword [esi + 0x20c]
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 0xb
call fcn.6d1c3b60
push eax
mov ebx, 0x6d1c1308
lea eax, [ebp - 0xe0]
push ebx
push eax
mov byte [ebp - 4], 0xc
call fcn.6d1c39c8
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.6d1c2eff
push 1
lea ecx, [ebp - 0xe0]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x110]
call fcn.6d1c2261
mov al, byte [ebp + 0x2b]
mov byte [ebp - 0x34], al
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x28], eax
mov byte [ebp - 4], 0xe
mov dword [ebp + 8], eax
jne 0x6d1c7912
mov eax, dword [esi + 0x260]
test al, 4
je 0x6d1c78b4
push 0x6d1c1514
jmp 0x6d1c78bd
test al, 8
je 0x6d1c78c5
push 0x6d1c1510
lea ecx, [ebp - 0x34]
call fcn.6d1c305d
mov eax, dword [esi + 0x260]
test al, 1
je 0x6d1c78d6
push 0x6d1c151c
jmp 0x6d1c78df
test al, 2
je 0x6d1c78e7
push 0x6d1c1518
lea ecx, [ebp - 0x34]
call fcn.6d1c3040
push 0x6d1c1168
lea ecx, [ebp - 0x34]
call fcn.6d1c2418
test eax, eax
jne 0x6d1c7905
push 0x6d1c1520
lea ecx, [ebp - 0x34]
call fcn.6d1c305d
mov eax, dword [ebp - 0x30]
test eax, eax
mov dword [ebp + 8], edi
je 0x6d1c7912
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
test eax, eax
mov edx, edi
je 0x6d1c7920
mov edx, eax
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x6d1c7929
mov eax, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x6d1c7932
mov ecx, edi
push edx
push dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x6d1c79ed
lea eax, [ebp + 0x2b]
push eax
push 0x6d1c12b0
lea ecx, [ebp - 0xc0]
call fcn.6d1c325e
push dword [esi + 0x20c]
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0xf
call fcn.6d1c3b60
push eax
lea eax, [ebp - 0xf0]
push ebx
push eax
mov byte [ebp - 4], 0x10
call fcn.6d1c39c8
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.6d1c2eff
push 1
lea ecx, [ebp - 0xf0]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xf
call fcn.6d1c2261
cmp dword [ebp + 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
je 0x6d1c7a0f
test eax, eax
jne 0x6d1c79c9
mov eax, edi
mov edx, dword [ebp - 0xbc]
test edx, edx
jne 0x6d1c79d5
mov edx, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x6d1c79de
mov ecx, edi
push eax
push 0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x6d1c7a39
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x6d1c77d8
call esi
and eax, 0xffff
or eax, 0x80070000
push eax
jmp 0x6d1c7bd0
test eax, eax
jne 0x6d1c7a15
mov eax, edi
mov edx, dword [ebp - 0xbc]
test edx, edx
jne 0x6d1c7a21
mov edx, edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x6d1c7a2a
mov ecx, edi
push eax
lea eax, [esi + 0x250]
push eax
push edx
push ecx
call fcn.6d1c3bf2
lea eax, [ebp + 0x2b]
push eax
push 0x6d1c129c
lea ecx, [ebp - 0xa0]
call fcn.6d1c325e
push dword [esi + 0x20c]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x12
call fcn.6d1c3b60
push eax
lea eax, [ebp - 0x120]
push ebx
push eax
mov byte [ebp - 4], 0x13
call fcn.6d1c39c8
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
call fcn.6d1c2eff
push 1
lea ecx, [ebp - 0x120]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
call fcn.6d1c2261
cmp dword [ebp + 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
je 0x6d1c7ae0
test eax, eax
jne 0x6d1c7ab6
mov eax, edi
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x6d1c7ac2
mov ecx, edi
cmp dword [ebp - 0x1c], 0
je 0x6d1c7acb
mov edi, dword [ebp - 0x1c]
push eax
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x6d1c79ed
jmp 0x6d1c7b10
test eax, eax
jne 0x6d1c7ae6
mov eax, edi
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x6d1c7af2
mov ecx, edi
cmp dword [ebp - 0x1c], 0
je 0x6d1c7afb
mov edi, dword [ebp - 0x1c]
push eax
push dword [esi + 0x224]
add esi, 0x228
push esi
push ecx
push edi
call fcn.6d1c3e0e
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0xa0]
call fcn.6d1c2261
push esi
lea ecx, [ebp - 0xc0]
call fcn.6d1c2261
push esi
lea ecx, [ebp - 0x34]
call fcn.6d1c2261
push esi
lea ecx, [ebp - 0x68]
call fcn.6d1c2261
push esi
lea ecx, [ebp - 0x20]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.6d1c2261
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi + 0x1c]
xor edx, edx
div dword [edi + 4]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x6d1c75dc
cmp dword [ebp - 0x6c], 0
pop edi
pop esi
pop ebx
je 0x6d1c7b98
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x6d1c7b86
mov eax, 0x6d1c1168
push dword [ebp + 0x10]
lea ecx, [ebp - 0x74]
push ecx
push 0x6d1c1538
push eax
call fcn.6d1c4a3b
push 1
lea ecx, [ebp - 0x48]
call fcn.6d1c2261
lea ecx, [ebp - 0x90]
call fcn.6d1c399d
lea ecx, [ebp - 0x74]
call fcn.6d1c399d
lea ecx, [ebp - 0x80]
call fcn.6d1c399d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x24
push 0x80040610
lea ecx, [ebp - 0x58]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll__CxxThrowException
int3