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

Disassembly:
push ebp
push edi
mov edx, 6
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov ebx, dword [eax + 0x210]
mov ecx, dword [eax + 0x64]
test ebx, ebx
je 0x4b6276
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
test eax, eax
mov edi, eax
mov dword [esp + 0x1c], eax
je 0x4b60fc
mov eax, dword [ebx + 8]
cmp edi, 1
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax]
mov dword [esp + 0x54], edx
movzx edx, byte [ebx + 0x58]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp + 0x58], eax
jbe 0x4b60fc
mov eax, dword [ebx + 0xc]
cmp edi, 2
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
mov dword [esp + 0x60], edx
movzx edx, byte [ebx + 0x64]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp + 0x64], eax
je 0x4b60fc
mov eax, dword [ebx + 0x10]
cmp edi, 3
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x74]
mov edx, dword [eax]
mov dword [esp + 0x6c], edx
movzx edx, byte [ebx + 0x70]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp + 0x70], eax
je 0x4b60fc
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
mov dword [esp + 0x78], edx
movzx edx, byte [ebx + 0x7c]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x14]
mov dword [esp + 4], eax
call sym._ft_mem_alloc
mov edx, dword [esp + 0x34]
mov ebp, eax
test edx, edx
jne 0x4b6276
mov eax, dword [esp + 0x1c]
lea edi, [ebp + 0x14]
mov dword [ebp + 4], esi
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0x10], 0
mov dword [esp + 0x24], edi
mov dword [ebp + 0xc], edi
test eax, eax
mov dword [ebp], eax
je 0x4b625b
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edi, 0x50b6bc
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x28], 0xffffffff
mov dword [ebp + 0x24], 0xffffffff
shl esi, 0x10
shl ecx, 0x10
mov dword [ebp + 0x20], ecx
add ecx, esi
mov dword [ebp + 0x14], eax
sar ecx, 1
mov dword [ebp + 0x18], esi
mov esi, eax
mov dword [ebp + 0x1c], ecx
mov ecx, 7
mov dword [esp + 0x20], eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov eax, esi
cmp al, cl
je 0x4b6283
mov esi, dword [esp + 0x20]
mov ecx, 6
mov edi, str.Width
repe cmpsb byte [esi], byte es:[edi]
seta al
setb cl
cmp al, cl
je 0x4b6430
mov esi, dword [esp + 0x20]
mov edi, str.OpticalSize
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b628a
mov dword [ebp + 0x24], 0x6f70737a
jmp 0x4b628a
mov dword [ebp + 0x54], 0x77676874
cmp dword [esp + 0x1c], 3
je 0x4b625b
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edi, 0x50b6bc
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x70], 0xffffffff
mov dword [ebp + 0x6c], 0xffffffff
shl esi, 0x10
shl ecx, 0x10
mov dword [ebp + 0x68], ecx
add ecx, esi
mov dword [ebp + 0x5c], eax
sar ecx, 1
mov dword [ebp + 0x60], esi
mov esi, eax
mov dword [ebp + 0x64], ecx
mov ecx, 7
mov dword [esp + 0x20], eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov eax, esi
cmp al, cl
jne 0x4b63c2
mov dword [ebp + 0x6c], 0x77676874
mov ecx, dword [ebx + 4]
mov eax, 1
shl eax, cl
cmp dword [ebx], eax
je 0x4b6440
mov eax, dword [esp + 0xa4]
mov dword [eax], ebp
add esp, 0x8c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 0x24], 0x77676874
cmp dword [esp + 0x1c], 1
jbe 0x4b625b
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edi, 0x50b6bc
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x40], 0xffffffff
mov dword [ebp + 0x3c], 0xffffffff
shl esi, 0x10
shl ecx, 0x10
mov dword [ebp + 0x38], ecx
add ecx, esi
mov dword [ebp + 0x2c], eax
sar ecx, 1
mov dword [ebp + 0x30], esi
mov esi, eax
mov dword [ebp + 0x34], ecx
mov ecx, 7
mov dword [esp + 0x20], eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov eax, esi
cmp al, cl
je 0x4b6320
mov esi, dword [esp + 0x20]
mov ecx, 6
mov edi, str.Width
repe cmpsb byte [esi], byte es:[edi]
seta al
setb cl
cmp al, cl
je 0x4b6420
mov esi, dword [esp + 0x20]
mov edi, str.OpticalSize
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6327
mov dword [ebp + 0x3c], 0x6f70737a
jmp 0x4b6327
mov dword [ebp + 0x3c], 0x77676874
cmp dword [esp + 0x1c], 2
je 0x4b625b
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edi, 0x50b6bc
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x58], 0xffffffff
mov dword [ebp + 0x54], 0xffffffff
shl esi, 0x10
shl ecx, 0x10
mov dword [ebp + 0x50], ecx
add ecx, esi
mov dword [ebp + 0x44], eax
sar ecx, 1
mov dword [ebp + 0x48], esi
mov esi, eax
mov dword [ebp + 0x4c], ecx
mov ecx, 7
mov dword [esp + 0x20], eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov eax, esi
cmp al, cl
je 0x4b61f2
mov esi, dword [esp + 0x20]
mov ecx, 6
mov edi, str.Width
repe cmpsb byte [esi], byte es:[edi]
seta al
setb cl
cmp al, cl
je 0x4b6410
mov esi, dword [esp + 0x20]
mov edi, str.OpticalSize
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b61f9
mov dword [ebp + 0x54], 0x6f70737a
jmp 0x4b61f9
mov esi, dword [esp + 0x20]
mov ecx, 6
mov edi, str.Width
repe cmpsb byte [esi], byte es:[edi]
seta al
setb cl
cmp al, cl
je 0x4b6400
mov esi, dword [esp + 0x20]
mov edi, str.OpticalSize
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b625b
mov dword [ebp + 0x6c], 0x6f70737a
jmp 0x4b625b
mov dword [ebp + 0x6c], 0x77647468
jmp 0x4b625b
mov dword [ebp + 0x54], 0x77647468
jmp 0x4b61f9
mov dword [ebp + 0x3c], 0x77647468
jmp 0x4b6327
mov dword [ebp + 0x24], 0x77647468
jmp 0x4b628a
cmp ecx, 1
mov eax, dword [ebx + 0x8c]
je 0x4b65b1
cmp ecx, 2
je 0x4b65bd
cmp ecx, 3
je 0x4b65d5
mov esi, dword [eax + 0x3c]
mov ecx, dword [eax + 0x34]
mov edi, dword [eax + 0x2c]
add ecx, esi
add esi, dword [eax + 0x38]
add ecx, edi
add ecx, dword [eax + 0x24]
add ecx, dword [eax + 0x1c]
add ecx, dword [eax + 0x14]
add ecx, dword [eax + 0xc]
add ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [edi + esi]
add ecx, dword [eax + 0x28]
add ecx, dword [eax + 0x1c]
add esi, dword [eax + 0x34]
add ecx, dword [eax + 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x30]
add ecx, esi
mov esi, dword [eax + 0x1c]
add esi, ecx
add ecx, edi
add esi, dword [eax + 0x18]
add ecx, dword [eax + 0x28]
add esi, dword [eax + 0x14]
add ecx, dword [eax + 0x24]
add esi, dword [eax + 0x10]
add ecx, dword [eax + 0x20]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b626d
lea eax, [ebx + 0x5c]
mov edx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
lea eax, [edi + edi*2]
mov ecx, dword [esp + edi*4 + 0x38]
lea eax, [edx + eax*8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 4]
cmp ecx, dword [ebx]
jle 0x4b6554
movzx esi, byte [eax - 4]
cmp esi, 1
jle 0x4b6529
mov edx, dword [ebx + 4]
cmp ecx, edx
jle 0x4b6605
mov eax, 1
jmp 0x4b6522
mov edx, dword [ebx + eax*4]
lea ebp, [eax*4]
cmp ecx, edx
jle 0x4b6560
add eax, 1
cmp eax, esi
jne 0x4b6514
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, dword [eax + esi*4 - 4]
shl edx, 0x10
add edi, 1
add dword [esp + 0x20], 0xc
cmp edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [eax + 8], edx
je 0x4b65a4
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
jmp 0x4b64e0
mov eax, dword [eax]
mov edx, dword [eax]
shl edx, 0x10
jmp 0x4b6536
lea eax, [eax*4 - 4]
mov esi, ebp
mov dword [esp + 0x2c], eax
mov ebp, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ebp, dword [eax + ebp]
mov eax, dword [eax + esi]
sub eax, ebp
mov esi, ebp
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [ebx + eax]
sub edx, eax
sub ecx, eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym._FT_DivFix
imul eax, ebp
mov edx, esi
shl edx, 0x10
add edx, eax
jmp 0x4b6536
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
jmp 0x4b626d
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
jmp 0x4b64c3
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 4]
add esi, ecx
add ecx, dword [eax + 8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
jmp 0x4b64c3
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 0x14]
lea esi, [ecx + edi]
add esi, dword [eax + 0xc]
add ecx, dword [eax + 0x18]
add esi, dword [eax + 4]
mov dword [esp + 0x38], esi
mov esi, dword [eax + 0xc]
add esi, ecx
add ecx, edi
add esi, dword [eax + 8]
add ecx, dword [eax + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
jmp 0x4b64c3
mov dword [esp + 0x2c], 0
mov esi, 4
mov ebp, dword [esp + 0x2c]
jmp 0x4b656f