Function at 0x10044240
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1007411e
call fcn.100729d8
sub esp, 0x90
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x40]
push 4
mov dword [ebp - 0x30], edi
call fcn.10013d2b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
jmp 0x1004427a
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x6c], 0xfffffff6
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 3
jl 0x1004426c
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x2c]
call fcn.10044121
mov dword [ebp - 0x2c], ebx
jmp 0x1004429e
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x54], 0x3afc3718
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 2
jl 0x10044290
mov byte [ebp - 0x25], bl
cmp byte [ebp - 0x25], bl
je 0x100442b3
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, dword [ebp - 0x40]
mov dword [esi + 0xc], 2
mov dword [ebp - 0x18], 0xd86e52d8
mov dword [ebp - 0x34], 0xb416c011
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], ebx
jmp 0x10044424
mov dword [ebp - 0x14], 0x1d847576
xor edx, edx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x50]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setle cl
imul eax, ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x18], ebx
je 0x10044352
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
jl 0x10044419
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0x6c]
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x6c], ecx
mov byte [ebp - 0x25], bl
cmp byte [ebp - 0x25], bl
je 0x10044348
call fcn.1000d503
dec dword [ebp - 0x14]
jns 0x1004432d
jmp 0x10044419
mov dword [ebp - 0x20], 0xe8ee72c9
mov dword [ebp - 0x14], ebx
jmp 0x100443bd
mov dword [ebp - 0x20], 0x4daed0f1
mov dword [ebp - 0x20], ebx
jmp 0x100443b4
push 2
lea ecx, [ebp - 0x60]
call fcn.10013d2b
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x98]
call fcn.10044140
mov edx, dword [ebp - 0x60]
mov dword [edx + 4], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + eax*4 - 0x6c]
mov eax, dword [ebp - 0x14]
inc dword [edx + 4]
cmp dword [edx + 4], 1
mov dword [ebp + eax*4 - 0x68], ecx
jle 0x10044388
push dword [ebp - 0x60]
call fcn.10058737
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
inc dword [ebp - 0x20]
pop ecx
cmp dword [ebp - 0x20], 2
jle 0x1004436a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jle 0x1004435e
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
imul ecx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
cmp ecx, 0xffffffff
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setl cl
xor edx, edx
imul ecx, ecx, 0xeddd
cmp ecx, eax
setg dl
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], ebx
je 0x10044400
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x20], ebx
je 0x1004440b
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x20]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
call fcn.1004415f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jle 0x100442d9
dec dword [esi + 0xc]
jns 0x100442bd
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x40]
call fcn.10058737
pop ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp dword [edi], ebx
je 0x10044655
push dword [edi]
push ebx
push dword [edi + 4]
call fcn.10013468
add esp, 0xc
lea ecx, [ebp - 0x4c]
push 1
call fcn.10013d2b
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0x81c2900
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0x208e
cmp dword [ebp - 0x20], 0xd59
jge 0x1004455e
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 2
mov ecx, 0x10663ef0
call fcn.1001944c
xorps xmm0, xmm0
mov esi, ebx
movlpd qword [ebp - 0x24], xmm0
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movlpd qword [ebp - 0x1c], xmm0
cmp dword [ebp - 0x74], esi
jbe 0x1004453b
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
cmp byte [eax + esi], 0x61
jne 0x10044502
add edx, 1
mov dword [ebp - 0x18], edx
adc edi, 0
jmp 0x10044532
push edi
push edx
push 0
push 2
call fcn.10044166
mov ecx, dword [ebp - 0x20]
add esp, 0x10
sub ecx, 1
sbb ebx, 0
add eax, ecx
push 0
push 0x6a
adc edx, ebx
push edx
push eax
call fcn.10072ab0
mov ecx, eax
mov ebx, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
inc esi
cmp esi, dword [ebp - 0x74]
jb 0x100444e0
mov edi, dword [ebp - 0x30]
push ebx
push ecx
mov ecx, 0x10663e38
call fcn.10013aef
push eax
call fcn.100184bb
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x84]
push ebx
push 1
call fcn.1001442b
mov dword [ebp - 0x20], ebx
jmp 0x10044573
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
mov dword [eax + ecx*4], 0x1713b910
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jl 0x10044563
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x10044638
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], 0x5546
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x30], 0x30b91300
cmp dword [eax], ebx
je 0x100445bc
cmp dword [ebp - 0x18], ebx
je 0x100445bc
xor edx, edx
inc edx
jmp 0x100445be
mov edx, ebx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x4c]
cmp edx, dword [eax + ecx*4]
jl 0x100445d2
cmp dword [ebp - 0x18], ebx
jne 0x100445d2
mov eax, ebx
jmp 0x100445d5
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
neg esi
mov eax, dword [ebp - 0x4c]
sbb esi, esi
xor edx, edx
neg esi
cmp esi, dword [eax + ecx*4]
setle dl
xor ebx, ebx
mov dword [ebp - 0x88], edx
test edx, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
setne bl
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x20]
add esi, ebx
imul esi, dword [ecx + edx*4]
sub esi, eax
cmp dword [ebp - 0x20], esi
jne 0x1004461b
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
dec dword [ebp - 0x18]
jns 0x10044585
cmp dword [ebp - 0x4c], 0
je 0x10044647
push dword [ebp - 0x4c]
call fcn.10058737
pop ecx
push dword [edi + 4]
call fcn.10058737
pop ecx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret