Function at 0x406420
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x416c78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41e8b8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x34]
push str..new
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00404580
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call fcn.00404de0
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
mov byte [esp + 0x40], 1
call fcn.00404de0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x44], 2
call fcn.00401c70
lea esi, [eax + 0x10]
push 0
push esi
call fcn.0040b9e3
add esp, 0x20
cmp eax, 0xffffffff
lea eax, [esi - 0x10]
setne byte [esp + 0x34]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x34], 0
je 0x406521
lea edi, [esp + 0x14]
call fcn.00406370
test al, al
je 0x406516
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00405940
add esp, 8
cmp eax, 1
jne 0x40650f
mov eax, dword [ebp]
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x418070]
test eax, eax
je 0x406521
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x40651b
mov edx, dword [esp + 0x14]
push edx
jmp 0x40651b
mov eax, dword [esp + 0x14]
push eax
call dword [0x41806c]
mov edi, ebp
call fcn.00406370
test al, al
jne 0x4065a5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40659e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406667
push ebp
mov ecx, ebx
xor edi, edi
call fcn.00405050
mov ecx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x24]
call fcn.00405170
test esi, esi
je 0x4065d3
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [0x41810c]
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40663d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406665
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8