Function at 0x1000414a
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x10041d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10057040]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x48]
call fcn.100089c1
and dword [ebp - 4], 0
lea ebx, [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push 0x18
pop ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
jmp 0x100041f4
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100041b3
mov eax, dword [esi]
push eax
call fcn.100263bc
mov eax, dword [ebx]
add esi, 0x18
mov dword [ebp - 0x10], eax
pop ecx
cmp esi, eax
je 0x100041e0
push 0x18
mov edi, eax
pop ebx
push esi
lea ecx, [esi - 0x18]
call fcn.1000924a
add esi, ebx
cmp esi, edi
jne 0x100041cb
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
push 0x18
pop eax
sub ecx, eax
call fcn.10003128
add dword [ebx], 0xffffffe8
mov eax, dword [ebx]
push 0x18
pop ecx
mov esi, dword [edi + 0x28]
sub eax, esi
cdq
idiv ecx
cmp eax, dword [edi + 8]
jae 0x100041a9
mov ecx, dword [ebx]
mov eax, ecx
sub eax, esi
and dword [ebp - 0x14], 0
push 0x18
cdq
pop ebx
idiv ebx
test eax, eax
je 0x100042e8
and dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x14]
sub ecx, esi
mov eax, ecx
cdq
push 0x18
pop ecx
idiv ecx
lea ecx, [ebp + 0x8d]
sub eax, ebx
lea edx, [eax + 1]
call fcn.100099f0
push ecx
lea ecx, [ebp + 0x8d]
push ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.10009a08
push 0x1004f018
lea edx, [ebp + 0x48]
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.10008aa4
pop ecx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp - 0x18]
lea ecx, [ebp + 0x30]
call fcn.1000927e
lea ecx, [ebp]
call fcn.10003128
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 5
call fcn.10003128
cmp dword [ebp + 0x44], 0xf
lea ecx, [ebp + 0x30]
mov eax, dword [edi + 0x28]
cmova ecx, dword [ebp + 0x30]
mov esi, dword [ebp - 0x10]
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x100042a3
mov eax, dword [eax]
push ecx
push eax
call fcn.1002a57d
pop ecx
pop ecx
mov ecx, dword [edi + 0x28]
lea eax, [ebp + 0x30]
add ecx, esi
push eax
call fcn.10008963
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0
call fcn.10003128
mov ecx, dword [edi + 0x2c]
inc ebx
push 0x18
pop eax
add esi, eax
mov eax, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [edi + 0x28]
sub eax, esi
cdq
idiv dword [ebp - 0x18]
cmp ebx, eax
jb 0x10004220
push 0x18
pop ebx
push 0x1004f040
lea edx, [ebp + 0x48]
lea ecx, [ebp + 0x60]
call fcn.10008aa4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x60]
cmp dword [ebp + 0x74], 0xf
lea eax, [ebp + 0x48]
cmova ecx, dword [ebp + 0x60]
cmp dword [ebp + 0x5c], 0xf
push ecx
cmova eax, dword [ebp + 0x48]
push eax
call fcn.1002a57d
mov eax, dword [edi + 0x2c]
lea ecx, [ebp + 0x60]
add esp, 0xc
push ecx
cmp eax, dword [edi + 0x30]
je 0x10004334
mov ecx, eax
call fcn.100089c1
add dword [edi + 0x2c], ebx
jmp 0x1000433d
push eax
lea ecx, [edi + 0x28]
call fcn.10009e6b
lea ecx, [ebp + 0x60]
call fcn.10003128
lea ecx, [ebp + 0x48]
call fcn.10003128
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.10020674
add ebp, 0x94
leave
ret