Function at 0x4598e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569fa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x684
push esi
push edi
mov dword [ebp - 0x640], ecx
call fcn.0055f60b
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c0], eax
push 0x208
lea ecx, [ebp - 0x2ec]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x2ec]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d39c
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x384]
call fcn.0054a7e6
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp - 0x4fc]
add eax, 1
push eax
lea ecx, [ebp - 0x3b0]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054a76e
mov byte [ebp - 4], 1
push 0x5abce8
lea edx, [ebp - 0x3b0]
push edx
lea eax, [ebp - 0x508]
push eax
call fcn.0054d5cd
mov dword [ebp - 0x604], eax
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx]
mov dword [ebp - 0x608], edx
mov eax, dword [ebp - 0x608]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x504], al
lea ecx, [ebp - 0x508]
call fcn.0054d328
mov ecx, dword [ebp - 0x504]
and ecx, 0xff
test ecx, ecx
je 0x459a19
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x110], 0
mov dword [ebp - 0x50c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x50c]
jmp 0x45aad6
mov eax, dword [0x5be480]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [0x5be480]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552c60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4f8]
call fcn.005527dd
mov byte [ebp - 4], 5
lea edx, [ebp - 0x4e8]
mov dword [ebp - 0x60c], edx
mov eax, dword [ebp - 0x60c]
mov ecx, dword [0x5be480]
mov dword [eax], ecx
mov byte [ebp - 4], 6
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4ec], 0xffffffff
push 0
lea ecx, [ebp - 0x4e8]
call fcn.0054d4bf
mov byte [ebp - 4], 7
push 0x5abce8
lea edx, [ebp - 0x3b0]
push edx
lea eax, [ebp - 0x510]
push eax
call fcn.0054d5cd
mov dword [ebp - 0x644], eax
mov ecx, dword [ebp - 0x644]
mov dword [ebp - 0x610], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x610]
mov eax, dword [edx]
mov dword [ebp - 0x614], eax
lea ecx, [ebp - 0x4f8]
push ecx
push 0
mov edx, dword [ebp - 0x614]
push edx
lea ecx, [ebp - 0x3a8]
call fcn.00552d6e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x510]
call fcn.0054d328
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x3a8]
call fcn.00552f53
test eax, eax
je 0x459b2d
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0054d755
jmp 0x459b06
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x48]
call fcn.0054d755
lea ecx, [ebp - 0x3a8]
call fcn.005530a6
lea ecx, [ebp - 0xe4]
call fcn.0054d2b0
lea ecx, [ebp - 0x48]
call fcn.0054acc3
lea ecx, [ebp - 0x48]
call fcn.0054abd2
push 0x5c2d6c
push 0x5a9614
lea ecx, [ebp - 0x48]
call fcn.0054a4c8
push 0x5c2d6c
push 0x5abce0
lea ecx, [ebp - 0x48]
call fcn.0054a4c8
push 0x5c2d6c
push 0x5abcdc
lea ecx, [ebp - 0x48]
call fcn.0054a4c8
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x618], ecx
cmp dword [ebp - 0x618], 0x78
jl 0x459bc9
mov edx, dword [ebp - 0x48]
mov eax, dword [edx - 8]
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0x82
jle 0x459c5a
mov ecx, dword [ebp - 0x3c0]
mov dword [ecx + 0x110], 0
mov dword [ebp - 0x514], 0
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x514]
jmp 0x45aad6
push 0x5abcd0
lea ecx, [ebp - 0x3ac]
call fcn.0054d39c
mov byte [ebp - 4], 0xa
push 0x5abbcc
lea ecx, [ebp - 0x44]
call fcn.0054d39c
mov byte [ebp - 4], 0xb
mov edx, dword [0x5be480]
mov dword [ebp - 0x500], edx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f30
mov byte [ebp - 4], 0x10
push 0x10
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.004035c7
push 0x10
lea ecx, [ebp - 0x3ac]
push ecx
lea ecx, [ebp - 0x37c]
call fcn.004035c7
push 0x10
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0xe0]
call fcn.004035c7
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x37c]
push ecx
lea edx, [ebp - 0x5a4]
push edx
lea ecx, [ebp - 0xe0]
call fcn.00403df7
mov dword [ebp - 0x648], eax
mov esi, dword [ebp - 0x648]
mov ecx, 0x24
lea edi, [ebp - 0x450]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x5a4]
call fcn.00401f71
push 0x10
lea eax, [ebp - 0x500]
push eax
lea ecx, [ebp - 0x450]
call fcn.00403832
mov ecx, dword [ebp - 0x500]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x620], edx
mov eax, dword [ebp - 0x620]
and eax, 0x80000001
jns 0x459d7a
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x459e7a
mov ecx, dword [ebp - 0x3c0]
mov dword [ecx + 0x110], 0
mov dword [ebp - 0x5a8], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5a8]
jmp 0x45aad6
push ecx
mov ecx, esp
mov dword [ebp - 0x5ac], esp
lea edx, [ebp - 0x500]
push edx
call fcn.0054d095
mov dword [ebp - 0x64c], eax
lea eax, [ebp - 0x5b0]
push eax
mov ecx, dword [ebp - 0x3c0]
call fcn.004c1480
mov dword [ebp - 0x650], eax
mov ecx, dword [ebp - 0x650]
mov dword [ebp - 0x654], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x654]
push edx
lea ecx, [ebp - 0xe4]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5b0]
call fcn.0054d328
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 2
lea ecx, [ebp - 0x5b4]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054a76e
mov dword [ebp - 0x658], eax
mov edx, dword [ebp - 0x658]
mov dword [ebp - 0x65c], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5b4]
call fcn.0054d328
push 0x5abbc4
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.00537cf5
add esp, 8
mov dword [ebp - 0x624], eax
xor edx, edx
cmp dword [ebp - 0x624], 0
setne dl
and edx, 0xff
test edx, edx
je 0x45a066
mov eax, dword [ebp - 0x3c0]
mov dword [eax + 0x110], 0
mov dword [ebp - 0x5b8], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5b8]
jmp 0x45aad6
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 1
push 2
lea edx, [ebp - 0x5bc]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054a65c
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x660]
mov dword [ebp - 0x664], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x664]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5bc]
call fcn.0054d328
push 0x5abbc0
mov edx, dword [ebp - 0x384]
push edx
call fcn.00537cf5
add esp, 8
mov dword [ebp - 0x628], eax
xor eax, eax
cmp dword [ebp - 0x628], 0
setne al
and eax, 0xff
test eax, eax
je 0x45a1ef
mov ecx, dword [ebp - 0x3c0]
mov dword [ecx + 0x110], 0
mov dword [ebp - 0x5c0], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5c0]
jmp 0x45aad6
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 1
push 7
lea eax, [ebp - 0x5c4]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054a65c
mov dword [ebp - 0x668], eax
mov ecx, dword [ebp - 0x668]
mov dword [ebp - 0x66c], ecx
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x66c]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5c4]
call fcn.0054d328
push 0x5abbbc
mov eax, dword [ebp - 0x384]
push eax
call fcn.00537cf5
add esp, 8
mov dword [ebp - 0x62c], eax
xor ecx, ecx
cmp dword [ebp - 0x62c], 0
setne cl
and ecx, 0xff
test ecx, ecx
je 0x45a379
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x110], 0
mov dword [ebp - 0x5c8], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5c8]
jmp 0x45aad6
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x38c], 0
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 4
push 3
lea ecx, [ebp - 0x5cc]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054a65c
mov dword [ebp - 0x670], eax
mov edx, dword [ebp - 0x670]
mov dword [ebp - 0x674], edx
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x674]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5cc]
call fcn.0054d328
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.0053758e
add esp, 4
mov dword [ebp - 0x390], eax
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 2
push 8
lea eax, [ebp - 0x5d0]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054a65c
mov dword [ebp - 0x678], eax
mov ecx, dword [ebp - 0x678]
mov dword [ebp - 0x67c], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x67c]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5d0]
call fcn.0054d328
mov eax, dword [ebp - 0x384]
push eax
call fcn.0053758e
add esp, 4
mov dword [ebp - 0x394], eax
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 2
push 0xb
lea edx, [ebp - 0x5d4]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054a65c
mov dword [ebp - 0x680], eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x684], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x684]
push ecx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5d4]
call fcn.0054d328
mov edx, dword [ebp - 0x384]
push edx
call fcn.0053758e
add esp, 4
mov dword [ebp - 0x38c], eax
push 0xffffffffffffffff
push 0
push 0
push 0
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x394]
push ecx
mov edx, dword [ebp - 0x390]
push edx
lea ecx, [ebp - 0x380]
call fcn.0054adfb
mov dword [ebp - 0x4c], 0
push 0x34
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.005370b0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x2ec]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x27
push 3
push 0
push 1
push SysReAllocStringLen
lea edx, [ebp - 0x2ec]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
jne 0x45a65c
mov dword [ebp - 0x5d8], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5d8]
jmp 0x45aad6
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov dword [ebp - 0x3b8], eax
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x45a6ae
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x5dc]
call fcn.0054ae93
mov dword [ebp - 0x630], eax
mov edx, dword [ebp - 0x630]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x5e0], esp
push ecx
call fcn.0054aedf
lea edx, [ebp - 0x5e4]
push edx
lea ecx, [ebp - 0x50]
call fcn.0043c2f0
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x634]
mov ecx, dword [eax]
mov dword [ebp - 0x3bc], ecx
mov eax, dword [ebp - 0x3bc]
cdq
mov ecx, 0x15180
idiv ecx
test eax, eax
jle 0x45a7ed
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x110], 0
mov dword [ebp - 0x5e8], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5e8]
jmp 0x45aad6
lea eax, [ebp - 0x5ec]
push eax
call fcn.0054aedf
mov dword [ebp - 0x638], eax
mov ecx, dword [ebp - 0x638]
mov edx, dword [ecx]
mov dword [ebp - 0x50], edx
push ecx
mov eax, esp
mov dword [ebp - 0x5f0], esp
mov dword [ebp - 0x63c], eax
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ebp - 0x380]
mov dword [ecx], edx
lea eax, [ebp - 0x5f4]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043c2f0
mov dword [ebp - 0x688], eax
mov ecx, dword [ebp - 0x688]
mov edx, dword [ecx]
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp - 0x3bc]
cdq
mov ecx, 0x15180
idiv ecx
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x388], 0
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
push 2
push 0xe
lea eax, [ebp - 0x5f8]
push eax
lea ecx, [ebp - 0x384]
call fcn.0054a65c
mov dword [ebp - 0x68c], eax
mov ecx, dword [ebp - 0x68c]
mov dword [ebp - 0x690], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x690]
push edx
lea ecx, [ebp - 0x384]
call fcn.0054d46f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5f8]
call fcn.0054d328
mov eax, dword [ebp - 0x384]
push eax
call fcn.0053758e
add esp, 4
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x388]
imul ecx, ecx, 0x16d
cmp dword [ebp - 0x3b4], ecx
jg 0x45a8fd
cmp dword [ebp - 0x3b4], 0
jge 0x45a9f4
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x110], 0
mov dword [ebp - 0x5fc], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x5fc]
jmp 0x45aad6
mov dword [ebp - 0x600], 1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe0]
call fcn.00401f71
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.00401f71
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x37c]
call fcn.00401f71
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4e4]
call fcn.00401f71
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x500]
call fcn.0054d328
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3ac]
call fcn.0054d328
mov byte [ebp - 4], 4
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x4e8]
call fcn.0054d328
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.00552d2b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.0054d328
mov eax, dword [ebp - 0x600]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret