Function at 0x4443c0
Capabilities:
Check if file exists
Get file attributes
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 0x59e201
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2b78
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b80], ecx
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
push ecx
mov dword [ebp - 0x2b74], eax
lea ecx, [ebp - 0x10c0]
mov eax, dword [ebx + 8]
push str.CreatePrinterSettingInfo::GetAddPrinterInfo
mov dword [ebp - 0x2b7c], eax
mov dword [ebp - 0x2b88], edi
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x444484
test byte [esi + 0x1c], 1
je 0x444484
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cbda4
mov ecx, 0x22
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
push 0x208
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x68]
push 0x40
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x2b70]
push 0x1a74
push 0
push eax
call fcn.00571c00
mov eax, dword [ebp - 0x2b74]
add esp, 0xc
cmp dword [eax + 4], 0
jne 0x444562
cmp esi, 0x608f30
je 0x444510
test byte [esi + 0x1c], 4
je 0x444510
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cbda4
mov ecx, 0x23
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
mov byte [ebp - 0x10bc], 1
cmp esi, 0x608f30
je 0x444bb2
test byte [esi + 0x1c], 1
je 0x444bb2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov ecx, 0x24
push eax
push dword [esi + 0x14]
mov edx, 0x5cbda4
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x4451c7
push 0x7d18
push 0
push edi
call fcn.00571c00
mov esi, dword [ebp - 0x2b7c]
add esp, 0xc
mov eax, dword [esi + 0x1868]
mov dword [edi + 0x4080], eax
call fcn.0052ee40
push dword [esi + 0x1868]
call fcn.00534e60
push eax
lea eax, [edi + 0x1450]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4445ee
test byte [ecx + 0x1c], 4
je 0x4445ee
push dword [edi + 0x4080]
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [esi + 0x1868]
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x25
call fcn.00437f70
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x444696
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444644
test byte [ecx + 0x1c], 4
je 0x444644
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x26
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
mov byte [ebp - 0x10bc], 1
cmp ecx, 0x608f30
je 0x444bb2
test byte [ecx + 0x1c], 1
je 0x444bb2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x27
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x4451c7
push 0x208
push dword [esi + 0x1868]
lea eax, [esi + 0x618]
lea ecx, [esi + 0x208]
push eax
mov dword [ebp - 0x2b84], ecx
push ecx
mov ecx, dword [ebp - 0x2b80]
call fcn.00444240
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444707
test byte [ecx + 0x1c], 4
je 0x444707
cmp dword [0x608f68], 8
lea edx, [esi + 0x208]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x28
call fcn.00405920
add esp, 0x10
push 0x2c44
lea eax, [esi + 0x1e84]
lea ecx, [edi + 0x4ecc]
push eax
push ecx
call fcn.00571100
add esp, 0xc
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444769
test byte [ecx + 0x1c], 4
je 0x444769
cmp dword [0x608f68], 8
lea edx, [edi + 0x4ecc]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x29
call fcn.004018a0
add esp, 0x10
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x2b70]
push eax
mov ecx, dword [ecx + 0x34]
call fcn.004e4140
cmp dword [ebx + 0x14], 1
jne 0x4447ce
lea eax, [esi + 0xa28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0xe38]
push eax
lea eax, [edi + 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0x618]
push eax
lea eax, [edi + 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0x1a74]
push eax
lea eax, [edi + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.0049c250
test eax, eax
jne 0x444bbf
cmp dword [ebx + 0x14], 1
jne 0x444bbf
mov esi, dword [ebp - 0x2b74]
lea eax, [edi + 0x1040]
push dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x58]
lea eax, [edi + 0x4094]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444852
test byte [ecx + 0x1c], 4
je 0x444852
cmp dword [0x608f68], 8
lea edx, [edi + 0x1040]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2a
call fcn.00405920
add esp, 0x10
push 0x208
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x270]
push dword [esi + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
call esi
push 0x5c84c0
lea eax, [ebp - 0x270]
push eax
call esi
push 0x5c6930
lea eax, [edi + 0x4094]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [0x6184f0]
mov ecx, dword [ecx + 0x1c]
test eax, eax
je 0x4448b0
lea eax, [ebp - 0x270]
push eax
jmp 0x4448b5
push 0x5c6930
push str.USEMONITORFILE
call fcn.004f6860
push 0x800
lea eax, [ebp - 0x1088]
push 0
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
add esp, 0xc
mov eax, dword [ecx + 8]
cmp dword [eax + 0x7f8], 2
jne 0x444a27
push 0x208
lea eax, [ebp - 0x888]
mov dword [ebp - 0x2b78], 0
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x680]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea ecx, [ebp - 0x2b80]
call fcn.00430700
push 0
lea eax, [ebp - 0x2b78]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2b80]
call fcn.00436650
mov esi, dword [ebp - 0x2b78]
cmp esi, 2
jge 0x4449ca
lea eax, [edi + 0xc30]
mov edi, dword [ebp - 0x2b7c]
mov dword [ebp - 0x2b78], eax
nop
push 1
push esi
lea ecx, [ebp - 0x888]
push ecx
lea ecx, [ebp - 0x270]
push ecx
push dword [edi + 0x1868]
mov ecx, 0x618568
push eax
call fcn.00448fb0
push 0x5c6930
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4449c4
mov eax, dword [ebp - 0x2b78]
inc esi
cmp esi, 2
jl 0x444980
mov edi, dword [ebp - 0x2b88]
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x680]
push eax
push 8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00580f0a
add esp, 0x24
lea eax, [ebp - 0x680]
push 0
push 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1088]
push 0x400
push eax
call fcn.00580cd3
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b80]
call fcn.004307d0
jmp 0x444a3b
mov ecx, dword [ecx + 0x1c]
lea eax, [ebp - 0x1088]
push eax
push str.TEMPPATH
call fcn.004f65f0
mov eax, dword [0x6184f4]
push ecx
push str.CBaseOSSpec::CopyMonitorFile
lea ecx, [ebp - 0x10f8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2b80], eax
call fcn.0040a480
mov byte [ebp - 4], 2
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444aa4
test byte [ecx + 0x1c], 1
je 0x444aa4
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5dd2b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x44
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
mov edx, dword [ebp - 0x2b80]
xor esi, esi
mov edx, dword [edx + 8]
test edx, edx
je 0x444acb
mov eax, dword [edx]
lea ecx, [ebp - 0x1088]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x608f30]
mov esi, eax
mov byte [ebp - 0x10f4], 1
cmp ecx, 0x608f30
je 0x444b14
test byte [ecx + 0x1c], 1
je 0x444b14
cmp dword [0x608f68], 8
lea edx, [ebp - 0x1088]
push esi
push edx
mov eax, 0x608f54
mov edx, 0x5dd2b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x45
call fcn.004300c0
add esp, 0x14
lea ecx, [ebp - 0x10f8]
mov byte [ebp - 4], 0
call fcn.0040a570
test esi, esi
jne 0x444bb9
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444b6f
test byte [ecx + 0x1c], 4
je 0x444b6f
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [esi + 0x2b]
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
mov byte [ebp - 0x10bc], 1
cmp ecx, 0x608f30
je 0x444bb2
test byte [ecx + 0x1c], 1
je 0x444bb2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2c
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x4451c7
mov esi, dword [ebp - 0x2b7c]
call fcn.0049c250
test eax, eax
je 0x444bd2
cmp dword [ebx + 0x14], 0
jne 0x444fa2
mov eax, dword [ebp - 0x2b74]
lea ecx, [edi + 0x1658]
push dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x20
lea eax, [ebp - 0x68]
push eax
push 0x104
lea eax, [ebp - 0x478]
push eax
mov eax, dword [ebp - 0x2b74]
push 0
push 0
push 0
push 0
push dword [eax + 0xc]
call fcn.00580f0a
add esp, 0x24
lea ecx, [ebp - 0x68]
lea eax, [esi + 0x1248]
push ecx
lea ecx, [ebp - 0x478]
push ecx
push 0
push 0
push 0x104
push eax
call fcn.00580cd3
add esp, 0x18
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444cc8
test byte [ecx + 0x1c], 4
je 0x444c87
cmp dword [0x608f68], 8
lea edx, [edi + 0x1658]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2d
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x444cc8
test byte [ecx + 0x1c], 4
je 0x444cc8
cmp dword [0x608f68], 8
lea edx, [esi + 0x1248]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2e
call fcn.00405920
add esp, 0x10
mov eax, dword [ebp - 0x2b74]
lea ecx, [edi + 0x1860]
push dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x20
lea eax, [ebp - 0x68]
push eax
push 0x104
lea eax, [ebp - 0x478]
push eax
mov eax, dword [ebp - 0x2b74]
push 0
push 0
push 0
push 0
push dword [eax + 0x10]
call fcn.00580f0a
add esp, 0x24
lea ecx, [ebp - 0x68]
lea eax, [esi + 0x1450]
push ecx
lea ecx, [ebp - 0x478]
push ecx
push 0
push 0
push 0x104
push eax
call fcn.00580cd3
add esp, 0x18
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444dbe
test byte [ecx + 0x1c], 4
je 0x444d7d
cmp dword [0x608f68], 8
lea edx, [edi + 0x1860]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2f
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x444dbe
test byte [ecx + 0x1c], 4
je 0x444dbe
cmp dword [0x608f68], 8
lea edx, [esi + 0x1450]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x30
call fcn.00405920
add esp, 0x10
mov eax, dword [ebp - 0x2b74]
lea ecx, [edi + 0x1a68]
push dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x20
lea eax, [ebp - 0x68]
push eax
push 0x104
lea eax, [ebp - 0x478]
push eax
mov eax, dword [ebp - 0x2b74]
push 0
push 0
push 0
push 0
push dword [eax + 0x14]
call fcn.00580f0a
add esp, 0x24
lea eax, [ebp - 0x68]
add esi, 0x1658
push eax
lea eax, [ebp - 0x478]
push eax
push 0
push 0
push 0x104
push esi
call fcn.00580cd3
add esp, 0x18
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444eaa
test byte [ecx + 0x1c], 4
je 0x444e6f
cmp dword [0x608f68], 8
lea edx, [edi + 0x1a68]
push edx
mov eax, 0x608f54
mov edx, 0x5cbda4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x31
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x444eaa
test byte [ecx + 0x1c], 4
je 0x444eaa
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x32
call fcn.00405920
add esp, 0x10
mov eax, dword [ebp - 0x2b74]
xor edx, edx
mov dword [ebp - 0x2b78], edx
mov esi, dword [eax + 0x1c]
cmp word [esi], dx
je 0x444f3a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x2b78]
lea edi, [eax + 1]
add edx, edi
mov dword [ebp - 0x2b78], edx
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444f21
test byte [ecx + 0x1c], 4
je 0x444f21
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edx
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push edi
push esi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x33
call fcn.00442fd0
mov edx, dword [ebp - 0x2b78]
add esp, 0x18
cmp word [esi + edi*2], 0
lea esi, [esi + edi*2]
jne 0x444ec0
mov eax, dword [ebp - 0x2b74]
mov edi, dword [ebp - 0x2b88]
mov esi, dword [eax + 0x1c]
push edx
lea eax, [edi + 0x1c70]
push esi
push eax
call fcn.00571100
mov eax, dword [ebp - 0x2b74]
lea esi, [edi + 0x3c70]
add esp, 0xc
push dword [eax + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x444fa2
test byte [ecx + 0x1c], 4
je 0x444fa2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x34
call fcn.00405920
add esp, 0x10
mov esi, dword [ebx + 0x14]
cmp esi, 1
jne 0x4450fe
push dword [ebp - 0x2b7c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [edi + 0x3e78]
push 0x104
push eax
lea eax, [ebp - 0x2b70]
push eax
push str.Data_Type
push dword [ebp - 0x2b84]
call esi
push dword [ebp - 0x2b7c]
lea eax, [edi + 0x1248]
push 0x104
push eax
lea eax, [ebp - 0x2968]
push eax
push str.PrintProcessor
push dword [ebp - 0x2b84]
call esi
push 0x208
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x680]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x888]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x270]
push 0xa
push 0x104
push eax
push dword [ebp - 0x2760]
call fcn.0058134e
push 0xa
push 0x104
lea eax, [ebp - 0x680]
push eax
push dword [ebp - 0x275c]
call fcn.0058134e
push 0xa
push 0x104
lea eax, [ebp - 0x888]
push eax
push dword [ebp - 0x2758]
call fcn.0058134e
add esp, 0x30
lea eax, [ebp - 0x270]
push dword [ebp - 0x2b7c]
push 0x104
push eax
push eax
push str.Priority
push dword [ebp - 0x2b84]
call esi
lea eax, [ebp - 0x270]
push eax
call fcn.00577bb7
add esp, 4
mov dword [edi + 0x4084], eax
lea eax, [ebp - 0x680]
push eax
call fcn.00577bb7
imul eax, eax, 0x3e8
add esp, 4
mov dword [edi + 0x4088], eax
lea eax, [ebp - 0x888]
push eax
call fcn.00577bb7
add esp, 4
imul eax, eax, 0x3e8
mov dword [edi + 0x408c], eax
mov esi, dword [ebx + 0x14]
mov eax, dword [ebp - 0x2b7c]
mov eax, dword [eax + 0x1860]
mov dword [edi + 0x4090], eax
call fcn.0049c250
test eax, eax
je 0x44511d
test esi, esi
jne 0x445133
mov eax, dword [ebp - 0x2b74]
push dword [eax + 0x48]
lea eax, [edi + 0x46ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x44517f
test byte [ecx + 0x1c], 4
je 0x44517f
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [edi + 0x4080]
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x35
call fcn.004018a0
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x10bc], 1
cmp ecx, 0x608f30
je 0x4451c2
test byte [ecx + 0x1c], 1
je 0x4451c2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cbda4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x36
call fcn.004018a0
add esp, 0x10
mov esi, 1
lea ecx, [ebp - 0x10c0]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10