Function at 0x457150
Capabilities:
Check if file exists
Create directory
Get file attributes
Resolve function by parsing pe exports

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 0x4c3692
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xf4], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x118], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x110], eax
xor eax, eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 4], eax
mov esi, dword [edi + 4]
test esi, esi
je 0x457eda
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x80]
mov ecx, dword [esi + 0x7c]
sub esp, 0x10
mov dword [esi + 0x58], eax
lea eax, [esi + 0xd8]
mov dword [esi + 0x5c], ecx
mov ecx, esi
mov dword [esi + 0x50], 0
push 0
push 0
push eax
mov dword [esi + 0x54], 0
call fcn.00467780
xor ecx, ecx
mov dword [esi + 0x64], 0
add esp, 0x1c
test eax, eax
sete cl
mov dword [esi + 0x60], ecx
test eax, eax
jne 0x457eda
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x100], eax
test eax, eax
je 0x457298
mov eax, dword [eax]
push 0
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0xf4]
call esi
push 0
push eax
push 0
mov ecx, edi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x100]
call edi
mov eax, dword [ebp - 0xf4]
mov edi, dword [eax + 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
test al, al
je 0x457292
mov dword [ebp - 0xf4], 2
jmp 0x457f01
mov edi, dword [ebp - 0xf4]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 1
push ecx
push 0x8000
lea ecx, [ebp - 0x48]
call fcn.004340d0
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x100], esi
jmp 0x4572e6
mov esi, dword [ebp - 0x100]
push 0x50
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.004883f0
push ecx
mov ecx, dword [edi + 4]
lea edx, [ebp - 0xf0]
push 0x8000
push esi
call fcn.00467d20
add esp, 0x18
mov dword [ebp - 0x18], 0
cmp byte [edi + 0x18], 0
je 0x4573ac
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x457f68
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
mov edi, dword [ebp - 0x100]
push edi
call fcn.00426b40
test al, al
jne 0x45736e
push edi
lea ecx, [ebp - 0x108]
call fcn.00426c20
mov byte [ebp - 4], 3
lea edx, [ebp - 0x108]
mov esi, dword [ebp - 0xf8]
lea ecx, [ebp - 0x134]
or esi, 1
mov dword [ebp - 0xfc], esi
call fcn.00462680
mov ecx, eax
mov dword [ebp - 4], 4
or esi, 2
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], esi
jmp 0x457424
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x457f68
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x104], eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x104]
mov edi, dword [ebp - 0x100]
push edi
call fcn.00426b40
test al, al
jne 0x4573fe
push edi
lea ecx, [ebp - 0x104]
call fcn.00426c20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xf8]
or eax, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00458800
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0xf8]
test cl, 4
je 0x457482
and ecx, 0xfffffffb
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x104]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457482
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 4], 0xa
test cl, 2
je 0x4574ce
and ecx, 0xfffffffd
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov edx, dword [ebp - 0x134]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4574ce
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 4], 0xc
test cl, 1
je 0x457514
and ecx, 0xfffffffe
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x108]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x457514
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0xf4]
cmp byte [eax + 0x18], 0
jne 0x457566
test dword [ebp - 0xe8], 0x800
jne 0x457566
mov edx, dword [ebp - 0x18]
cmp dword [edx - 4], 1
mov esi, dword [edx - 0xc]
jle 0x457544
push esi
lea ecx, [ebp - 0x18]
call fcn.00426d30
mov edx, dword [ebp - 0x18]
push 1
push esi
lea ecx, [ebp - 0x170]
call fcn.004338b0
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xf8]
or eax, 8
jmp 0x4575b3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 4], 1
jle 0x45757d
push dword [ecx - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00426d30
mov ecx, dword [ebp - 0x18]
sub esp, 8
lea esi, [ecx + 1]
mov edx, esp
mov dword [edx], ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457587
sub ecx, esi
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x158]
call fcn.00433af0
add esp, 8
mov ecx, eax
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0xf8]
or eax, 0x10
mov dword [ebp - 0xfc], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0xf8], eax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 4], 0x11
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 0x10
je 0x457623
and eax, 0xffffffef
lea ecx, [ebp - 0x158]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], eax
call fcn.0040bf40
mov eax, dword [ebp - 0xf8]
mov byte [ebp - 4], 0x12
test al, 8
je 0x457645
and eax, 0xfffffff7
lea ecx, [ebp - 0x170]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], eax
call fcn.0040bf40
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov edi, dword [ebp - 0x30]
cmp esi, 7
cmova ecx, edi
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
cmp esi, 7
cmova edx, edi
lea eax, [edx + eax*2]
cmp ecx, eax
je 0x457680
cmp word [ecx], 0x2f
jne 0x45767b
mov eax, 0x5c
mov word [ecx], ax
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
add ecx, 2
jmp 0x457654
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0x6c]
call fcn.00424ac0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
mov ecx, dword [ebp - 0x20]
cmova eax, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x457b65
test byte [ebp - 0xc0], 0x10
jne 0x457b65
test byte [ebp - 0xbc], 0x10
jne 0x457b65
push dword [ebp - 0x118]
mov esi, dword [ebp - 0xf4]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x140]
movq qword [ebp - 0x54], xmm0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], eax
call fcn.00458920
add esp, 4
mov byte [ebp - 4], 0x15
cmp byte [esi + 0x19], 0
jne 0x4577c6
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004242c0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 7
cmova eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x84]
call fcn.0040bf40
cmp esi, 0xffffffff
je 0x4577c6
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x54]
call fcn.00458770
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x6c]
call fcn.0040bf40
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x4577ad
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4577a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f63
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
jmp 0x457cc1
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x457f72
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
test al, al
jne 0x457859
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x54]
call fcn.00458770
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x6c]
call fcn.0040bf40
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x457840
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f63
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
jmp 0x457cc1
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004242c0
mov edi, eax
mov byte [ebp - 4], 0x1e
cmp dword [edi + 0x14], 7
jbe 0x45789e
mov edi, dword [edi]
call fcn.0040b040
mov dword [ebp - 0x114], eax
test eax, eax
je 0x457f68
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x114]
call esi
add eax, 0x10
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x457906
test edi, 0xffff0000
jne 0x4578f0
movzx eax, di
lea ecx, [ebp - 0x10c]
push eax
call fcn.0040b3a0
jmp 0x457915
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4578f5
sub ecx, edx
sar ecx, 1
jmp 0x457908
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10c]
call fcn.0040b720
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0x1e
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x457959
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x188]
call fcn.0040bf40
cmp dword [ebp - 0x110], 0
je 0x457ab5
mov eax, dword [ebp - 0x38]
xor esi, esi
test eax, eax
jle 0x457ab5
test esi, esi
js 0x457f59
cmp esi, eax
jge 0x457f59
mov eax, dword [ebp - 0x3c]
lea edi, [eax + esi*4]
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x4579aa
push dword [eax - 0xc]
mov ecx, edi
call fcn.0040b520
mov edx, dword [edi]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4579d0
sub eax, edi
lea ecx, [ebp - 0x130]
sar eax, 1
push eax
push edx
call fcn.0040bd30
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x457a39
movups xmm0, xmmword [ebp - 0x130]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x120]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x11c], ecx
add dword [edx + 4], 0x18
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
jmp 0x457a4e
lea ecx, [ebp - 0x130]
push ecx
push eax
mov ecx, edx
call fcn.0042da40
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 4], 0x1d
cmp ecx, 7
jbe 0x457a8c
mov edx, dword [ebp - 0x130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457a82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f63
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
inc esi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x11c], 7
cmp esi, eax
jl 0x457982
mov esi, dword [ebp - 0xf4]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.00458460
test al, al
je 0x457d9c
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x457b48
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004242c0
mov byte [ebp - 4], 0x2a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x457b30
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 4], 0x18
jmp 0x457b39
push eax
push ecx
mov ecx, esi
call fcn.0042da40
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1a0]
call fcn.0040bf40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3c]
call fcn.00427010
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x54]
call fcn.00458770
jmp 0x457c63
test ecx, ecx
je 0x457c63
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004242c0
mov esi, eax
mov byte [ebp - 4], 0x2b
cmp dword [esi + 0x14], 7
jbe 0x457b8a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457b9a
test al, 0x10
jne 0x457bda
mov edx, esi
lea ecx, [ebp - 0x9c]
call fcn.004561d0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x9c]
call fcn.004562b0
test eax, eax
je 0x457bcb
cmp dword [esi + 0x14], 7
jbe 0x457bc2
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x9c]
call fcn.0040bf40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1b8]
call fcn.0040bf40
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x457c63
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004242c0
mov byte [ebp - 4], 0x2d
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x457c4b
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 4], 0x18
jmp 0x457c54
push eax
push ecx
mov ecx, esi
call fcn.0042da40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1d0]
call fcn.0040bf40
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x6c]
call fcn.0040bf40
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x457cad
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f63
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x457cec
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0xf4]
mov esi, dword [edi + 4]
test esi, esi
je 0x4572e0
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
je 0x457ea6
mov edi, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
cmp edi, 0xffff
jne 0x457d1b
test edx, edx
je 0x457d33
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
add eax, 1
adc ecx, 0
cmp eax, edi
jne 0x457d33
cmp ecx, edx
je 0x457ea0
mov ecx, dword [esi + 0xb0]
lea edx, [esi + 0x80]
add ecx, dword [esi + 0xac]
mov eax, dword [esi + 0xa8]
add eax, 0x2e
add eax, ecx
mov ecx, esi
add dword [esi + 0x58], eax
lea eax, [esi + 0xd8]
adc dword [esi + 0x5c], 0
add dword [esi + 0x50], 1
adc dword [esi + 0x54], 0
sub esp, 0x10
push 0
push 0
push eax
call fcn.00467780
mov edi, dword [ebp - 0xf4]
xor ecx, ecx
add esp, 0x1c
mov dword [esi + 0x64], 0
test eax, eax
sete cl
mov dword [esi + 0x60], ecx
cmp eax, 0xffffff9c
je 0x457ea6
jmp 0x4572e0
mov edi, dword [esi + 0x14]
test edi, edi
je 0x457de7
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
test al, al
je 0x457dc4
mov dword [ebp - 0xf4], 2
jmp 0x457df1
mov eax, dword [ebp - 0xf4]
push 0
push 0x105c
push 0
mov edi, dword [eax + 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 0xf4], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3c]
call fcn.00427010
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x54]
call fcn.00458770
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x6c]
call fcn.0040bf40
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x457e53
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457e49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457f63
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x457ecc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040d990
jmp 0x457f01
mov edi, dword [ebp - 0xf4]
mov edi, dword [edi + 0x14]
test edi, edi
je 0x457ec2
mov eax, dword [edi]
push 0
push 0
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 0xf4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040d990
jmp 0x457f01
mov edi, dword [edi + 0x14]
push 0
push 0x105c
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 0xf4], 1
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x457f33
mov esi, dword [edi]
lea eax, [ebx + 0xc]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebx + 0x30], 0
mov eax, dword [ebp - 0xf4]
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.0048641a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
push 0x8000000b
call fcn.0040b700
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0046efea
int3