Function at 0x44e070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
push edi
call fcn.004642c0
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
add esp, 4
cmp ebx, 8
mov dword [esp + 0x40], 0
jne 0x44e0b5
mov al, byte [esp + 0x68]
test al, al
je 0x44e0b5
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
push edi
call fcn.00463b70
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
push edi
call fcn.00463bb0
mov ebp, dword [esp + 0x6c]
test eax, eax
setne byte [esp + 0x34]
mov eax, ebp
imul eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
call fcn.00459eb4
mov edi, dword [esp + 0x74]
mov dword [esp + 0x78], eax
lea eax, [ebp + ebp*2 + 3]
cdq
and edx, 3
add eax, edx
mov ecx, eax
sar ecx, 2
shl ecx, 2
lea eax, [ebp + 3]
cdq
mov dword [esp + 0x28], ecx
imul ecx, edi
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
shl esi, 2
push ecx
mov dword [esp + 0x30], esi
call fcn.00459eb4
imul esi, edi
push esi
mov dword [esp + 0x38], eax
call fcn.00459eb4
mov esi, eax
mov eax, dword [esp + 0x84]
add esp, 0x20
test eax, eax
mov dword [esp + 0x24], esi
jne 0x44e27a
test edi, edi
jle 0x44e435
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
call fcn.00463260
add esp, 0xc
cmp ebx, 0x18
je 0x44e232
cmp ebx, 0x20
je 0x44e1f0
test ebp, ebp
jle 0x44e24a
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
mov eax, edi
cdq
and edx, 7
push ebx
add eax, edx
mov edx, dword [esp + 0x78]
push ecx
sar eax, 3
push esi
add eax, edx
push eax
push ebp
call 0x44e540
mov eax, dword [esp + 0x8c]
add esp, 0x28
inc esi
add edi, ebx
add ebp, 3
dec eax
mov dword [esp + 0x64], eax
jne 0x44e19b
mov ebp, dword [esp + 0x58]
jmp 0x44e24a
test ebp, ebp
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
jle 0x44e24a
mov dword [esp + 0x64], ebp
mov edx, eax
mov bp, word [edx]
mov ecx, edi
mov word [ecx], bp
mov dl, byte [edx + 2]
mov byte [ecx + 2], dl
mov dl, byte [eax + 3]
or cl, 0xff
sub cl, dl
mov byte [esi], cl
mov ecx, dword [esp + 0x64]
inc esi
add eax, 4
add edi, 3
dec ecx
mov dword [esp + 0x64], ecx
jne 0x44e200
mov ebp, dword [esp + 0x58]
jmp 0x44e24a
lea ecx, [ebp + ebp*2]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x28]
add esi, edx
dec eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], eax
jne 0x44e163
jmp 0x44e431
cmp eax, 1
jne 0x44e522
lea eax, [ebp + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x28], eax
lea eax, [edi + 7]
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
xor esi, esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], esi
test ecx, ecx
mov dword [esp + 0x1c], 0
jbe 0x44e421
lea eax, [esi + 0x482434]
mov edx, dword [eax]
xor edi, edi
test edx, edx
mov dword [esp + 0x3c], edi
jle 0x44e410
mov ebp, dword [esi + 0x48246c]
mov ecx, dword [esp + 0x1c]
imul ebp, edi
lea eax, [ecx*8]
mov ecx, dword [esi + 0x482450]
add ebp, eax
mov eax, dword [esp + 0x5c]
add ebp, ecx
cmp ebp, eax
jge 0x44e3ef
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
push 0
push edx
push eax
call fcn.00463260
mov ecx, dword [esp + 0x34]
xor eax, eax
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x64], eax
jbe 0x44e3ef
lea edi, [esi + 0x4824a4]
jmp 0x44e32d
mov esi, dword [esp + 0x54]
mov ecx, dword [esi + 0x482488]
lea edx, [ecx + eax*8]
mov eax, dword [edi]
xor esi, esi
test eax, eax
mov dword [esp + 0x44], edx
jle 0x44e3d2
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x4824c0]
mov edx, dword [esp + 0x44]
imul eax, esi
mov ecx, dword [esp + 0x58]
add eax, edx
cmp eax, ecx
jge 0x44e3d2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, ebp
imul ecx, dword [esp + 0x28]
push ebx
push edx
mov edx, dword [esp + 0x40]
add ecx, eax
add ecx, edx
mov edx, dword [edi]
imul edx, dword [esp + 0x80]
add edx, esi
imul edx, ebx
push ecx
mov ecx, dword [esp + 0x80]
shr edx, 3
add edx, ecx
mov ecx, ebp
imul ecx, dword [esp + 0x30]
push edx
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x3c]
add eax, ecx
add edx, eax
push edx
call 0x44e540
mov eax, dword [edi]
add esp, 0x28
inc esi
cmp esi, eax
jl 0x44e346
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jb 0x44e329
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
mov ecx, dword [esi + 0x482434]
lea eax, [esi + 0x482434]
inc edi
cmp edi, ecx
mov dword [esp + 0x3c], edi
jl 0x44e2d1
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
inc edx
cmp edx, ecx
mov dword [esp + 0x1c], edx
jb 0x44e2c1
add esi, 4
cmp esi, 0x1c
mov dword [esp + 0x54], esi
jl 0x44e2ab
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00459ea9
push 1
push edi
push ebp
call fcn.004462b0
add esp, 0x10
xor edx, edx
test edi, edi
mov dword [0x57e828], eax
jle 0x44e495
mov esi, dword [esp + 0x18]
mov dword [esp + 0x58], esi
jmp 0x44e465
mov eax, dword [0x57e828]
mov edi, dword [eax + 8]
mov ecx, dword [esp + 0x10]
imul edi, edx
add edi, dword [eax + 0x28]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x5c]
inc edx
add esi, ecx
cmp edx, eax
mov dword [esp + 0x58], esi
jl 0x44e460
mov al, byte [esp + 0x20]
test al, al
jne 0x44e4b1
mov al, byte [esp + 0x68]
test al, al
je 0x44e4ac
cmp ebx, 0x20
jge 0x44e4b1
jmp 0x44e503
cmp ebx, 0x10
jl 0x44e503
mov esi, dword [esp + 0x5c]
push 1
push esi
push ebp
call fcn.00446420
add esp, 0xc
xor edx, edx
test esi, esi
mov dword [0x57e82c], eax
jle 0x44e503
mov ebx, dword [esp + 0x24]
jmp 0x44e4d7
mov eax, dword [0x57e82c]
mov edi, dword [eax + 8]
mov ebp, dword [eax + 0x28]
imul edi, edx
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
add edi, ebp
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [esp + 0x5c]
inc edx
add ebx, ecx
cmp edx, eax
jl 0x44e4d2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00459ea9
mov edx, dword [esp + 0x28]
push edx
call fcn.00459ea9
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x485e58
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], 6
call fcn.00459e6f
nop
nop
nop
nop
nop
nop
nop
mov al, byte [esp + 0x18]
test al, al
push esi
push edi
je 0x44e63d
mov ecx, dword [esp + 0x1c]
cmp ecx, 8
jne 0x44e5c8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [eax]
lea esi, [edx + ecx*2]
mov cl, byte [ecx + esi + 2]
mov esi, dword [esp + 0xc]
mov byte [esi], cl
xor ecx, ecx
mov cl, byte [eax]
mov edi, ecx
lea ecx, [edx + edi*2]
mov cl, byte [edi + ecx + 1]
mov byte [esi + 1], cl
xor ecx, ecx
mov cl, byte [eax]
lea edx, [edx + ecx*2]
mov cl, byte [ecx + edx]
mov byte [esi + 2], cl
mov cl, byte [esp + 0x24]
test cl, cl
je 0x44e68a
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov dl, byte [eax]
mov eax, edx
cmp eax, ecx
jge 0x44e5be
mov edx, dword [esp + 0x28]
push ebx
mov bl, byte [eax + edx]
mov eax, dword [esp + 0x18]
or cl, 0xff
sub cl, bl
pop ebx
pop edi
mov byte [eax], cl
pop esi
ret
mov ecx, dword [esp + 0x14]
pop edi
mov byte [ecx], 0
pop esi
ret
cmp ecx, 0x18
mov eax, dword [esp + 0x10]
jl 0x44e5e3
mov esi, dword [esp + 0xc]
mov edx, eax
mov di, word [edx]
mov word [esi], di
mov dl, byte [edx + 2]
mov byte [esi + 2], dl
cmp ecx, 0x20
jl 0x44e5f9
mov dl, byte [eax + 3]
or cl, 0xff
sub cl, dl
mov edx, dword [esp + 0x14]
pop edi
mov byte [edx], cl
pop esi
ret
mov cl, byte [esp + 0x24]
test cl, cl
je 0x44e68a
movzx dx, byte [eax]
mov ecx, dword [esp + 0x30]
cmp dx, word [ecx + 6]
jne 0x44e633
movzx dx, byte [eax + 1]
cmp dx, word [ecx + 4]
jne 0x44e633
movzx ax, byte [eax + 2]
cmp ax, word [ecx + 2]
jne 0x44e633
mov ecx, dword [esp + 0x14]
pop edi
mov byte [ecx], 0xff
pop esi
ret
mov edx, dword [esp + 0x14]
pop edi
mov byte [edx], 0
pop esi
ret
mov edx, dword [esp + 0x10]
mov al, byte [edx]
mov ecx, dword [esp + 0xc]
mov byte [ecx + 2], al
mov byte [ecx + 1], al
mov byte [ecx], al
cmp dword [esp + 0x1c], 0x10
jl 0x44e666
mov cl, byte [edx + 1]
or al, 0xff
sub al, cl
mov ecx, dword [esp + 0x14]
pop edi
mov byte [ecx], al
pop esi
ret
mov al, byte [esp + 0x24]
test al, al
je 0x44e68a
movzx dx, byte [edx]
mov eax, dword [esp + 0x30]
cmp dx, word [eax + 8]
mov edx, dword [esp + 0x14]
setne cl
dec ecx
and ecx, 0xff
mov byte [edx], cl
pop edi
pop esi
ret