Function at 0x4ce060
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x4ce068
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ceb9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x46576c]
call fcn.00402e7c
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x40fee4]
call fcn.00402e7c
mov dword [ebp - 0x28], eax
mov eax, dword [0x53ce1c]
mov edx, dword [eax]
mov dword [0x53ef7c], edx
mov edx, dword [eax + 4]
mov dword [0x53ef80], edx
mov eax, dword [0x53ce1c]
mov edx, dword [eax]
mov dword [0x53ef84], edx
mov edx, dword [eax + 4]
mov dword [0x53ef88], edx
mov dword [0x53ef8c], 0
mov dword [0x53ef90], 0
mov eax, 0x53ef94
mov edx, 0x4cebb4
call fcn.00403c4c
mov eax, dword [0x53ef44]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4ceb3d
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x53ef44]
call fcn.00411b18
mov ebx, eax
cmp byte [ebx + 0x18], 2
jne 0x4ceb31
cmp dword [ebx + 0xc], 0
jne 0x4ce13a
cmp dword [ebx + 8], 0x7d000
ja 0x4ce498
jmp 0x4ce140
jg 0x4ce498
lea eax, [ebp - 0x50]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00467750
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.00433cf8
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x46576c]
call fcn.00402e7c
mov dword [ebp - 0x14], eax
mov eax, dword [0x53d130]
mov eax, dword [eax]
call eax
add eax, dword [ebp - 0x18]
mov edx, dword [0x53ef44]
mov esi, dword [edx + 8]
dec esi
sub esi, eax
jl 0x4ce29e
inc esi
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x53ef44]
call fcn.00411b18
mov ebx, eax
cmp byte [ebx + 0x18], 2
jne 0x4ce294
cmp dword [ebx + 0xc], 0
jne 0x4ce1d7
cmp dword [ebx + 8], 0x7d000
jbe 0x4ce1dd
jmp 0x4ce294
jg 0x4ce294
mov byte [ebx + 0x18], 0
lea eax, [ebp - 0x54]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov eax, dword [ebp - 0x54]
mov dx, 0x20
call fcn.0046609c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ce285
mov eax, dword [ebp - 0x14]
call fcn.00413ff8
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004140bc
cdq
cmp edx, dword [ebx + 0xc]
jne 0x4ce24b
cmp eax, dword [ebx + 8]
jne 0x4ce24b
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.004119bc
mov eax, dword [ebx + 8]
add dword [ebp - 0x2c], eax
jmp 0x4ce256
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00414008
mov eax, dword [0x53d52c]
cmp byte [eax], 0
je 0x4ce27d
mov eax, dword [0x53d284]
mov edx, dword [0x53d28c]
add edx, 0x10c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402b1c
jne 0x4ce285
mov eax, dword [ebp - 8]
call fcn.00402eac
mov eax, dword [ebp - 0x14]
call fcn.00414014
cmp eax, 0x400000
jg 0x4ce29e
inc dword [ebp - 0x1c]
dec esi
jne 0x4ce1aa
mov eax, dword [ebp - 0x14]
mov dword [0x53ef2a], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
mov edx, dword [0x53cbd4]
mov edx, dword [edx]
shr edx, 8
add eax, edx
mov dword [0x53ef36], eax
mov edx, 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx]
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.00414008
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
mov byte [esi + 0xd], 0xc
mov byte [esi + 0xc], 0xd6
mov eax, dword [ebp - 0x10]
call fcn.00414014
mov dword [esi + 4], eax
mov byte [esi + 0xe], 0
mov eax, dword [0x53d130]
mov eax, dword [eax]
call eax
mov edx, dword [0x53ef36]
mov dword [esi + eax*4 + 0x10], edx
mov eax, dword [ebp - 0x14]
call fcn.00414014
mov dword [esi + 0x14], eax
mov eax, esi
call fcn.004cdee0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
xor edx, edx
call fcn.004c3974
mov eax, dword [0x53d0cc]
cmp byte [eax], 7
je 0x4ce353
mov eax, dword [0x53ef2a]
call fcn.00414014
test eax, eax
jle 0x4ce353
mov eax, dword [ebp - 0x2c]
push eax
push 1
mov cl, 1
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.004cd4d4
cmp byte [0x53ef28], 0
jne 0x4ce460
mov eax, dword [ebp - 0x2c]
cdq
add dword [0x53ef08], eax
adc dword [0x53ef0c], edx
cmp dword [0x53ef04], 0
jne 0x4ce384
cmp dword [0x53ef00], 0
jbe 0x4ce3be
jmp 0x4ce386
jle 0x4ce3be
push dword [0x53ef04]
push dword [0x53ef00]
push 0
push 0x64
mov eax, dword [0x53ef08]
mov edx, dword [0x53ef0c]
call fcn.004067a4
call fcn.004067ea
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.004c3974
jmp 0x4ce3d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
mov edx, 0x64
call fcn.004c3974
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, 0x64
call fcn.004c3974
lea eax, [ebp - 0x20]
mov edx, dword [0x53c9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
call fcn.00403db0
push dword [0x53ef0c]
push dword [0x53ef08]
lea eax, [ebp - 0x58]
call fcn.004cc294
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x20]
mov edx, 0x4cebc0
call fcn.004cc428
mov eax, dword [0x53ef00]
mov edx, dword [0x53ef04]
sub eax, dword [0x53ef08]
sbb edx, dword [0x53ef0c]
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.004cc294
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
mov edx, 0x4cebcc
call fcn.004cc428
mov eax, dword [0x50f6ac]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ebp - 0x20]
call fcn.00433cf8
mov eax, dword [0x53d52c]
cmp byte [eax], 0
je 0x4ce48b
mov eax, dword [0x53d284]
mov edx, dword [0x53d28c]
add edx, 0x10c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402b1c
jne 0x4ceb0c
mov eax, dword [ebp - 0x14]
call fcn.00402eac
jmp 0x4ceb0c
mov byte [ebp - 0x39], 0
mov eax, dword [0x53cba8]
cmp dword [eax], 0
je 0x4ce524
push dword [0x53ef58]
push dword [ebx]
push 0x4cebd8
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403f38
mov eax, dword [0x53cba8]
push dword [eax]
lea edx, [ebp - 0x60]
mov eax, dword [0x53ef58]
call fcn.0040961c
push dword [ebp - 0x60]
push dword [ebx]
push 0x4cebd8
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00403f38
mov eax, dword [ebp - 0x40]
call fcn.00409260
inc eax
je 0x4ce53e
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x44]
call fcn.004095c0
mov eax, dword [ebp - 0x64]
call fcn.00462398
push 2
lea eax, [ebp - 0x44]
call fcn.00404048
push eax
lea eax, [ebp - 0x40]
call fcn.00404048
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x4ce53e
push dword [0x53ef58]
push dword [ebx]
push 0x4cebd8
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00403f38
cmp dword [ebx + 0xc], 0
jne 0x4ce54f
cmp dword [ebx + 8], 0x500000
jae 0x4ce55d
jmp 0x4ce551
jge 0x4ce55d
mov eax, dword [ebp - 0x44]
call fcn.004092c8
test al, al
je 0x4ce5d9
lea eax, [ebp - 0x68]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x44]
call fcn.004cdfd0
test al, al
jne 0x4ce5d9
lea eax, [ebp - 0x6c]
mov edx, dword [0x53c9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x600]
call fcn.00403db0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d8]
call fcn.00433cf8
mov eax, dword [0x53d4cc]
cmp dword [eax], 0
jne 0x4ce5d9
push 1
lea edx, [ebp - 0x70]
mov eax, dword [ebx]
call fcn.0040961c
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x44]
pop ecx
call fcn.00505058
lea eax, [ebp - 0x78]
mov edx, dword [0x53c9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x68]
call fcn.00403db0
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d8]
call fcn.00433cf8
lea eax, [ebp - 0x7c]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x44]
call fcn.004cdfd0
test al, al
je 0x4ce752
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x44]
call fcn.0040961c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.00433cf8
mov dl, 1
mov eax, dword [0x4106bc]
call fcn.00402e7c
mov edi, eax
mov edx, dword [ebp - 0x44]
mov eax, edi
call fcn.00414440
mov dword [0x53ef2a], edi
mov eax, dword [ebp - 0x18]
add eax, 0x2710
shl eax, 8
mov edx, dword [0x53cbd4]
mov edx, dword [edx]
shr edx, 8
add eax, edx
mov dword [0x53ef36], eax
mov edx, 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx]
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.00414008
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
call fcn.00465eac
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
mov byte [esi + 0xd], 0xc
mov byte [esi + 0xc], 0xe0
mov eax, dword [ebp - 0x10]
call fcn.00414014
mov dword [esi + 4], eax
mov byte [esi + 0xe], 0
mov eax, dword [0x53ef36]
mov dword [esi + 0x10], eax
mov eax, edi
call fcn.00414014
mov dword [esi + 0x14], eax
mov eax, esi
call fcn.004cdee0
mov eax, dword [ebp - 0x10]
call fcn.00414014
test eax, eax
jns 0x4ce6e1
add eax, 0x3ffff
sar eax, 0x12
call fcn.00467420
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
xor edx, edx
call fcn.004c3974
mov eax, dword [0x53d0cc]
cmp byte [eax], 7
je 0x4ce71c
push 0
push 1
mov cl, byte [ebp - 0x21]
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.004cd4d4
mov byte [ebp - 0x39], 1
cmp byte [0x53ef28], 0
jne 0x4ce74b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, 0x64
call fcn.004c3974
lea eax, [ebp - 0x20]
mov edx, dword [0x53c9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
call fcn.00403db0
mov eax, edi
call fcn.00402eac
mov eax, dword [0x53d0cc]
cmp byte [eax], 7
je 0x4ceb0c
lea eax, [ebp - 0x88]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.004043fc
mov eax, dword [ebp - 0x84]
mov dx, 0x20
call fcn.0046604c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ceb0c
lea eax, [ebp - 0x90]
mov ecx, dword [ebx]
mov edx, dword [0x53ef58]
call fcn.00403ec4
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00467750
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.00433cf8
mov eax, dword [ebp - 0xc]
mov dword [0x53ef2a], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
mov edx, dword [0x53cbd4]
mov edx, dword [edx]
shr edx, 8
add eax, edx
mov dword [0x53ef36], eax
mov eax, dword [ebp - 0xc]
call fcn.00464394
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [0x53cbd4]
mov eax, dword [eax]
cdq
push edx
push eax
mov eax, dword [0x53cbd4]
mov eax, dword [eax]
cdq
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
sub eax, 1
sbb edx, 0
call fcn.004067ea
mov esi, eax
mov dword [0x53ef32], esi
push esi
mov eax, 0x53ef2e
mov ecx, 1
mov edx, dword [0x4cbf08]
call fcn.004057f8
add esp, 4
mov eax, dword [0x53ef68]
call fcn.004e28e4
cmp byte [ebp - 0x39], 0
je 0x4ce865
mov al, 1
mov byte [0x53ef29], 0
jmp 0x4ce86e
xor eax, eax
mov byte [0x53ef29], 1
mov esi, dword [0x53ef32]
dec esi
test esi, esi
jl 0x4ce893
inc esi
mov dword [ebp - 0x1c], 0
mov edx, dword [0x53ef2e]
mov ecx, dword [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [ebp - 0x1c]
dec esi
jne 0x4ce881
mov edx, 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx]
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.00414008
lea edx, [ebp - 0x38]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 8]
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
call fcn.00465eac
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
mov byte [esi + 0xd], 0xc
mov byte [esi + 0xc], 0xd0
mov eax, dword [ebp - 0x10]
call fcn.00414014
mov dword [esi + 4], eax
mov byte [esi + 0xe], 0
mov eax, dword [0x53ef36]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1c], eax
mov byte [0x53ef6c], 0
mov eax, esi
call fcn.004cdee0
mov eax, 0xa
call fcn.00467420
cmp byte [0x53ef6c], 0
je 0x4ce959
mov eax, dword [0x53ef68]
call fcn.004e28e4
mov byte [0x53ef29], 1
cmp byte [ebp - 0x39], 0
je 0x4ce959
mov esi, dword [0x53ef32]
dec esi
test esi, esi
jl 0x4ce959
inc esi
mov dword [ebp - 0x1c], 0
mov eax, dword [0x53ef2e]
mov edx, dword [ebp - 0x1c]
mov byte [eax + edx], 0
inc dword [ebp - 0x1c]
dec esi
jne 0x4ce947
lea edx, [ebp - 0x94]
mov eax, dword [ebx]
call fcn.00465b04
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
mov edx, dword [0x53ca90]
call fcn.00403e1c
mov eax, dword [ebp - 0x98]
pop edx
call fcn.00465dc4
xor al, 1
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
xor edx, edx
call fcn.004c3974
mov eax, dword [0x53d0cc]
cmp byte [eax], 7
je 0x4ce9d0
mov eax, dword [ebp - 0xc]
call fcn.00464394
cmp edx, 0
jne 0x4ce9bd
cmp eax, 0
jbe 0x4ce9d0
jmp 0x4ce9bf
jle 0x4ce9d0
push 0
push 0
mov cl, byte [ebp - 0x21]
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004cd4d4
cmp byte [0x53ef28], 0
jne 0x4ceaeb
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
add dword [0x53ef08], eax
adc dword [0x53ef0c], edx
cmp dword [0x53ef04], 0
jne 0x4cea03
cmp dword [0x53ef00], 0
jbe 0x4cea3d
jmp 0x4cea05
jle 0x4cea3d
push dword [0x53ef04]
push dword [0x53ef00]
push 0
push 0x64
mov eax, dword [0x53ef08]
mov edx, dword [0x53ef0c]
call fcn.004067a4
call fcn.004067ea
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.004c3974
jmp 0x4cea50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
mov edx, 0x64
call fcn.004c3974
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, 0x64
call fcn.004c3974
lea eax, [ebp - 0x20]
mov edx, dword [0x53c9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
call fcn.00403db0
push dword [0x53ef0c]
push dword [0x53ef08]
lea eax, [ebp - 0x9c]
call fcn.004cc294
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 0x4cebc0
call fcn.004cc428
mov eax, dword [0x53ef00]
mov edx, dword [0x53ef04]
sub eax, dword [0x53ef08]
sbb edx, dword [0x53ef0c]
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.004cc294
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x20]
mov edx, 0x4cebcc
call fcn.004cc428
mov eax, dword [0x50f6ac]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ebp - 0x20]
call fcn.00433cf8
mov eax, dword [0x53cfbc]
cmp dword [eax], 0x184604
je 0x4ceb04
mov eax, 0x4cebec
call fcn.004f4c68
jmp 0x4ceb0c
mov eax, dword [ebp - 0xc]
call fcn.00402eac
mov eax, dword [0x53cf5c]
cmp byte [eax], 0
je 0x4ceb1e
mov eax, dword [0x53d0cc]
mov byte [eax], 7
mov eax, dword [0x53d0cc]
cmp byte [eax], 7
je 0x4ceb3d
cmp dword [0x53ef74], 0
jle 0x4ceb3d
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4ce10c
mov eax, dword [ebp - 0x28]
call fcn.00402eac
mov eax, dword [ebp - 0x10]
call fcn.00402eac
call fcn.004fa218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ceba4
lea eax, [ebp - 0xa0]
mov edx, 7
call fcn.00403c1c
lea eax, [ebp - 0x84]
call fcn.004042bc
lea eax, [ebp - 0x80]
mov edx, 0xe
call fcn.00403c1c
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00403c1c
lea eax, [ebp - 0x20]
call fcn.00403bf8
ret