Function at 0x402d50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a875
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x439080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], edx
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov edi, 0x7ffffffe
mov ebx, dword [ebp + 8]
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x402f99
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x402da2
mov eax, dword [esi]
push 1
push 0x433d6c
push ecx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x60]
call fcn.00409dd0
push ebx
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407b60
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x402e0b
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f9e
push ecx
push edx
call fcn.0040da29
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov eax, dword [esi + 0x10]
sub edi, eax
mov dword [ebp - 0x4c], 7
cmp edi, 1
jb 0x402fa3
cmp dword [esi + 0x14], 7
jbe 0x402e35
mov esi, dword [esi]
push 1
push 0x433d6c
push eax
push esi
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x78]
call fcn.00409dd0
push dword [ebp - 0x48]
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00407b60
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x402e9d
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fa8
push ecx
push edx
call fcn.0040da29
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x64], 7
cmova ecx, dword [ebp - 0x40]
mov word [ebp - 0x78], ax
call fcn.00402920
test al, al
jne 0x402ef9
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
call fcn.00402920
test al, al
je 0x402ef9
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00414971
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x402f33
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402f29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fad
push ecx
push edx
call fcn.0040da29
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x402f7d
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402f73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fad
push ecx
push edx
call fcn.0040da29
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040da1b
mov esp, ebp
pop ebp
ret
call fcn.00401310
call fcn.00414476
call fcn.00401310
call fcn.00414476
call fcn.00414476
int3