Function at 0x43a420
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x100]
push edi
sub esp, 0xc
mov dword [ebp - 0x2c], ebx
lea eax, [ebx + 4]
push eax
call fcn.0043aa10
mov dword [ebp - 4], 0
cmp dword [ebp - 0xa4], 0
je 0x43a714
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ebx + 0x1c]
mov byte [ebp - 4], 1
push esi
push dword [esi + 4]
push dword [esi]
call fcn.00422590
mov eax, dword [esi]
lea edx, [ebp - 0x28]
add esp, 0xc
mov dword [esi + 4], eax
lea ecx, [ebp - 0x100]
call fcn.0043bd10
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x43a695
nop
lea esi, [ebp - 0x102]
xor ecx, ecx
nop dword [eax + eax]
mov eax, 0xcccccccd
add esi, 0xfffffffe
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x43a4d0
lea eax, [ebp - 0x102]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], edx
mov edi, 7
mov dword [ebp - 0x30], edi
cmp esi, eax
je 0x43a51c
sub eax, esi
lea ecx, [ebp - 0x44]
sar eax, 1
push eax
push esi
call fcn.0040e8f0
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp edi, 8
cmovae ecx, edx
cmp esi, 8
cmovae eax, ebx
movzx ecx, word [ecx]
mov dword [ebp - 0x10], ecx
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
cmp edi, 8
jb 0x43a580
lea edi, [edi*2 + 2]
mov eax, edx
cmp edi, 0x1000
jb 0x43a56a
mov edx, dword [edx - 4]
add edi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a79e
push edi
push edx
call fcn.0046a77c
mov esi, dword [ebp - 0x14]
add esp, 8
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
cmp ax, cx
jne 0x43a674
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov edx, 1
cmp eax, edx
cmovb edx, eax
cmp esi, 8
cmovae ecx, ebx
sub eax, edx
mov dword [ebp - 0x18], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.0046bfc0
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
add esp, 0xc
cmp eax, 4
jb 0x43a7a3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push str..tmp
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.00423050
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 5
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x30]
mov esi, eax
cmp edx, 8
jb 0x43a64b
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a641
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a79e
push edx
push ecx
call fcn.0046a77c
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00410ef0
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
test esi, esi
je 0x43a66b
push 1
call fcn.00439970
jmp 0x43a677
push 2
call fcn.00439970
jmp 0x43a677
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x100]
call fcn.0043bd10
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x43a4c0
lea ecx, [ebp - 0xf0]
call fcn.0043b9b0
test eax, eax
jne 0x43a6cf
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0040b3d0
mov ecx, ebx
call fcn.00439ad0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43a714
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a70a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a79e
push edx
push ecx
call fcn.0046a77c
add esp, 8
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xf0]
call fcn.0043b520
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.0045572b
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
call fcn.0040a9a0
int3