Function at 0x4168b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483610
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x4ae364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x11c], 0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], edi
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x118], ebx
cmp ebx, eax
je 0x416c52
lea esi, [edi + 0x28]
push esi
call fcn.00449c84
add esp, 4
test eax, eax
je 0x416934
push eax
call fcn.0044a931
add esp, 4
mov al, byte [esi + 0x68]
mov byte [ebp - 0x10d], al
push esi
mov dword [ebp - 4], 0
call fcn.00449ca9
add esp, 4
test eax, eax
je 0x41695a
push eax
call fcn.0044a931
add esp, 4
cmp byte [ebp - 0x10d], 0
mov dword [ebp - 4], 0xffffffff
jne 0x416c52
push esi
call fcn.00449c84
add esp, 4
test eax, eax
je 0x416984
push eax
call fcn.0044a931
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 0x50], eax
mov eax, dword [esi + 0x64]
adc dword [esi + 0x54], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
push esi
mov dword [ebp - 4], 1
call fcn.00449ca9
add esp, 4
test eax, eax
je 0x4169be
push eax
call fcn.0044a931
add esp, 4
cmp dword [ebx + 0x18], 8
lea edi, [ebx + 4]
mov dword [ebp - 4], 2
mov eax, edi
mov dword [ebp - 0x120], edi
jb 0x4169d8
mov eax, dword [edi]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004138e0
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1ec], eax
lea ecx, [ebp - 0x1e8]
cmp dword [ebp - 0x18c], 0
setne bl
call fcn.00415200
test bl, bl
jne 0x416d0b
mov ebx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x2c]
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2c], ax
or ebx, 1
mov eax, dword [edi + 0x10]
add eax, 5
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x11c], ebx
call fcn.0041a1a0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x416a6e
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00419310
push 5
push 0x48b08c
lea ecx, [ebp - 0x2c]
call fcn.00419310
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1e0]
push 0x40
push 0x2c
push eax
call fcn.00413ac0
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1e4], eax
and ebx, 0xfffffffe
mov dword [ebp - 0x11c], ebx
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x416b14
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416b0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416e0d
push edx
push ecx
call fcn.0044c1f2
add esp, 8
mov ebx, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x114]
add eax, 8
mov dword [ebp - 0x18], 7
push eax
lea eax, [ebp - 0x1e0]
push eax
mov eax, dword [ebx]
push 1
add eax, 0x18
push eax
call fcn.00431310
mov eax, dword [ebp - 0x12c]
mov ecx, eax
push dword [ebp - 0x114]
add eax, 4
mov byte [ebp - 4], 6
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004314d0
lea ecx, [ebp - 0x10c]
call fcn.004314a0
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1e4], eax
lea ecx, [ebp - 0x1dc]
call fcn.004145c0
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1e4], eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044967c
push esi
mov byte [ebp - 4], 2
call fcn.00449c84
add esp, 8
test eax, eax
je 0x416c11
push eax
call fcn.0044a931
add esp, 4
mov al, byte [esi + 0x68]
mov byte [ebp - 0x10d], al
push esi
mov byte [ebp - 4], 8
call fcn.00449ca9
add esp, 4
test eax, eax
je 0x416c34
push eax
call fcn.0044a931
add esp, 4
cmp byte [ebp - 0x10d], 0
mov byte [ebp - 4], 2
je 0x416cc5
mov edi, dword [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x28]
push esi
call fcn.00449c84
add esp, 4
test eax, eax
je 0x416c6b
push eax
call fcn.0044a931
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 0x50], eax
mov eax, dword [esi + 0x64]
adc dword [esi + 0x54], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
push esi
mov dword [ebp - 4], 0xc
call fcn.00449ca9
add esp, 4
test eax, eax
je 0x416ca9
push eax
call fcn.0044a931
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044c213
mov esp, ebp
pop ebp
ret
push 0x48b08c
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00412bb0
add esp, 0xc
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x416ce1
mov ecx, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x416ce9
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00405440
test edi, edi
je 0x416e12
mov edi, dword [ebp - 0x120]
jmp 0x416d11
mov ebx, dword [ebp - 0x118]
push esi
mov dword [ebp - 0x130], esi
call fcn.00449c84
add esp, 4
test eax, eax
je 0x416d2d
push eax
call fcn.0044a931
add esp, 4
mov ecx, dword [ebx]
mov byte [ebp - 4], 9
mov eax, dword [ecx + 0x178]
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 0x17c]
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x120], ecx
cmp dword [esi + 0x3c], ecx
je 0x416d7a
mov eax, dword [ebx]
mov dword [ecx], eax
add ecx, 4
push edi
call fcn.00413d60
mov ecx, dword [ebp - 0x120]
movzx eax, byte [ebx + 0x1c]
mov byte [ecx + 0x1c], al
movzx eax, byte [ebx + 0x1d]
mov byte [ecx + 0x1d], al
add dword [esi + 0x38], 0x20
jmp 0x416d84
push ebx
push ecx
lea ecx, [esi + 0x34]
call fcn.00413000
push esi
mov byte [ebp - 4], 0xa
call fcn.00449ca9
add esp, 4
test eax, eax
je 0x416d9e
push eax
call fcn.0044a931
add esp, 4
mov edi, dword [ebp - 0x114]
add ebx, 0x20
mov eax, dword [ebp - 0x124]
mov dword [ebp - 4], 0xffffffff
jmp 0x41690d
call fcn.00466d4c
lea ecx, [ebp - 0x54]
call fcn.0042f160
push 0x4a45e4
lea eax, [ebp - 0x54]
push eax
call fcn.00462ed2
int3