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

Disassembly:
push ebp
push edi
mov eax, 0x21
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
test ebx, ebx
je 0x45ed90
test ebp, ebp
mov al, 6
je 0x45ed90
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45ed90
mov eax, dword [esp + 0xb8]
add eax, 0x20
sar eax, 6
mov edi, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xbc]
add eax, 0x20
sar eax, 6
mov esi, eax
mov dword [esp + 0x60], eax
mov eax, edi
or eax, esi
je 0x45ed90
mov eax, edi
shr eax, 0x1f
test al, al
jne 0x45ed9b
mov eax, esi
shr eax, 0x1f
test al, al
jne 0x45ed9b
movzx eax, byte [ebp + 0x12]
cmp al, 7
ja case.0x45ed57.0
movzx edx, al
jmp dword [edx*4 + 0x4f6c08]
mov esi, dword [esp + 0xb4]
add dword [esp + 0x64], 1
mov edx, dword [esi]
mov edi, dword [esp + 0x64]
add dword [esp + 0x2c], eax
cmp edx, edi
ja 0x45f05a
mov ebp, esi
add edx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
add dword [ebp + 4], eax
xor eax, eax
mov dword [ebp], edx
nop
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x9c
mov eax, 6
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x45ed90
mov eax, dword [esp + 0x60]
lea eax, [eax + eax*2]
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
mov edi, dword [ebp]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov esi, eax
mov dword [esp + 0x30], eax
sar eax, 0x1f
xor esi, eax
sub esi, eax
mov eax, dword [esp + 0x28]
mov edx, 8
add eax, ebx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], esi
jg 0x45f2b4
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x45f2b4
add ebx, dword [esp + 0x28]
lea eax, [esi*8]
imul ebx, edx
cmp eax, ebx
mov ecx, ebx
mov eax, dword [ebp + 0xc]
jbe 0x45f402
lea edx, [eax + esi]
shr ebx, 3
and ecx, 7
add ebx, eax
mov dword [esp + 0x2c], edx
mov edx, 0xff00
shr edx, cl
test edi, edi
mov dword [esp + 0x20], edx
je 0x45f402
test ecx, ecx
jne 0x45f3b4
mov dword [esp + 0xb4], ebp
mov edi, dword [esp + 0x2c]
mov ebp, esi
mov esi, dword [esp + 0xb4]
jmp 0x45ee69
add ebx, ebp
add edi, ebp
sub dword [esp + 0x24], 1
je 0x45efd2
cmp edi, ebx
jbe 0x45ee5a
mov eax, edi
mov dword [esp + 4], 0
mov dword [esp], ebx
sub eax, ebx
mov dword [esp + 8], eax
call sym._memset
jmp 0x45ee5a
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*2]
mov dword [esp + 0x28], eax
jmp 0x45edba
xor eax, eax
mov dword [esp + eax + 0x78], 0
add eax, 4
cmp eax, 0x18
jb 0x45ee99
lea eax, [esp + 0x78]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._FT_Bitmap_Convert
test eax, eax
jne 0x45ed90
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._ft_mem_free
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x8c]
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x14], edx
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x10], eax
shr eax, 0x10
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
mov ebx, dword [ebp + 4]
mov edx, esi
mov dword [esp + 0x2c], edi
mov edi, dword [ebp]
sar edx, 0x1f
mov dword [esp + 0x30], esi
xor esi, edx
sub esi, edx
cmp al, 6
mov dword [esp + 0x24], edi
ja case.0x45ef42.0
movzx eax, al
jmp dword [eax*4 + 0x4f6c28]
mov eax, 8
mov edi, dword [esp + 0x28]
mov esi, eax
mov eax, dword [ebx]
mov ebx, dword [ebp + 4]
cmp edi, 8
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
cmovle esi, edi
mov edi, dword [ebp]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
mov esi, eax
sar eax, 0x1f
xor esi, eax
mov dword [esp + 0x24], edi
sub esi, eax
mov eax, dword [esp + 0x28]
mov edx, 1
lea eax, [eax + ebx + 7]
shr eax, 3
mov dword [esp + 0x20], eax
jmp 0x45ede9
mov eax, dword [esp + 0x28]
mov edx, 4
lea eax, [eax + ebx + 1]
shr eax, 1
mov dword [esp + 0x20], eax
jmp 0x45ede9
mov eax, dword [esp + 0x28]
mov edx, 2
lea eax, [eax + ebx + 3]
shr eax, 2
mov dword [esp + 0x20], eax
jmp 0x45ede9
mov eax, 0x12
jmp 0x45ed90
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov ebp, esi
mov edi, dword [esi]
test ebx, ebx
jle 0x45f399
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], ebx
imul edx, ebx
add eax, edx
mov edx, edi
mov dword [esp + 0x2c], eax
test edi, edi
je 0x45ed7e
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x64], 0
mov eax, esi
sub eax, 1
mov edi, eax
mov dword [esp + 0x4c], eax
mov eax, esi
sub eax, 4
shr eax, 2
add eax, 1
mov dword [esp + 0x48], eax
shl eax, 2
cmp edi, 2
mov esi, eax
mov dword [esp + 0x5c], eax
mov eax, 0
cmova eax, esi
mov esi, ebp
lea edi, [eax + 1]
mov dword [esp + 0x54], eax
add eax, 2
mov dword [esp + 0x40], eax
mov eax, ebx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x60]
add edi, 1
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x4c]
cmp edi, 0xffffffff
je 0x45f161
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], edi
mov ebp, esi
lea ebx, [eax - 2]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
add ebx, eax
nop
mov esi, dword [esp + 0x28]
movzx eax, byte [ebx - 1]
test esi, esi
je 0x45f142
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45f40b
mov edi, 1
mov dword [esp + 0x34], eax
mov eax, ebx
mov esi, dword [esp + 0x3c]
mov ebx, edi
mov edi, eax
jmp 0x45f10c
test esi, esi
js 0x45f140
movzx eax, word [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [ecx + esi]
movzx edx, ax
movzx eax, byte [edi - 1]
mov dword [esp + 0x20], edx
mov word [esp + 0x30], dx
movzx edx, al
mov dword [esp + 0x24], edx
movzx edx, cl
add edx, dword [esp + 0x24]
cmp dword [esp + 0x20], edx
jle 0x45f2a2
add eax, ecx
mov byte [edi - 1], al
movzx edx, word [ebp + 0x10]
movzx eax, al
sub edx, 1
cmp eax, edx
je 0x45f140
add ebx, 1
sub esi, 1
cmp ebx, dword [esp + 0x28]
jg 0x45f140
cmp byte [ebp + 0x12], 1
jne 0x45f0b1
mov edx, dword [esp + 0x34]
mov ecx, ebx
movzx eax, byte [edi - 2]
sub esi, 1
sar edx, cl
or dl, byte [edi - 1]
mov ecx, 8
sub ecx, ebx
add ebx, 1
shl eax, cl
or edx, eax
cmp ebx, dword [esp + 0x28]
mov byte [edi - 1], dl
jle 0x45f10c
nop
lea esi, [esi]
mov ebx, edi
sub dword [esp + 0x38], 1
sub dword [esp + 0x3c], 1
sub ebx, 1
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
jne 0x45f080
mov eax, dword [ebp + 8]
mov esi, ebp
mov edx, dword [esp + 0x60]
test edx, edx
je 0x45ed65
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xb4], esi
add edi, edx
lea ecx, [edx + 4]
add ebx, edx
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x34], ecx
mov ecx, edx
add edi, edx
add ecx, ebx
mov dword [esp + 0x58], edi
mov ebp, ebx
mov edi, 1
mov dword [esp + 0x68], ecx
jmp 0x45f235
mov ecx, dword [esp + 0x24]
mov esi, edx
or esi, ecx
and esi, 3
jne 0x45f285
cmp dword [esp + 0x4c], 2
jbe 0x45f1e4
xor eax, eax
mov esi, dword [edx + eax*4]
or dword [ecx + eax*4], esi
add eax, 1
cmp eax, dword [esp + 0x48]
jb 0x45f1cf
cmp dword [esp + 0x5c], ebp
je 0x45f21e
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
sub eax, ebx
movzx ecx, byte [esi]
or byte [edx + eax], cl
mov eax, dword [esp + 0x50]
cmp ebp, eax
jle 0x45f21e
mov esi, dword [esp + 0x3c]
sub eax, ebx
movzx ecx, byte [esi]
or byte [edx + eax], cl
cmp ebp, dword [esp + 0x40]
jle 0x45f21e
mov eax, dword [esp + 0x40]
sub eax, ebx
mov ebx, dword [esp + 0x58]
movzx ecx, byte [ebx]
or byte [edx + eax], cl
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 8]
add edi, 1
cmp edi, dword [esp + 0x44]
je 0x45ed5e
mov ebx, edi
imul ebx, eax
test ebp, ebp
je 0x45f228
mov esi, dword [esp + 0x34]
mov eax, ebx
neg eax
mov dword [esp + 0x30], eax
add eax, edx
cmp eax, esi
mov esi, 4
mov dword [esp + 0x24], eax
setae byte [esp + 0x20]
movzx ecx, byte [esp + 0x20]
sub esi, ebx
test esi, esi
setle al
mov esi, eax
mov eax, ecx
or esi, eax
cmp ebp, 6
seta byte [esp + 0x20]
movzx eax, byte [esp + 0x20]
mov ecx, esi
test al, cl
jne 0x45f1b5
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x68]
mov ecx, edx
nop
movzx ebx, byte [ecx]
or byte [ecx + eax], bl
add ecx, 1
cmp ecx, esi
jne 0x45f290
jmp 0x45f21e
mov ebx, edi
movzx eax, byte [esp + 0x30]
sub eax, 1
mov byte [ebx - 1], al
jmp 0x45f142
lea eax, [esp + 0x78]
add edi, dword [esp + 0x60]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._ft_mem_qrealloc
mov edi, eax
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x45ed90
mov edx, dword [ebp + 8]
mov eax, ebx
test edx, edx
mov edx, dword [esp + 0x24]
jle 0x45f487
imul eax, edx
add eax, 7
shr eax, 3
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
test eax, eax
je 0x45f365
mov ecx, dword [esp + 0x60]
xor ebx, ebx
xor edx, edx
imul ecx, dword [esp + 0x20]
add ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 0x30], ecx
add eax, ebx
add ebx, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._memcpy
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x20]
add edx, 1
cmp edx, dword [ebp]
jb 0x45f32e
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._ft_mem_free
mov edx, dword [ebp + 8]
mov dword [ebp + 0xc], edi
shr edx, 0x1f
mov eax, edx
neg eax
xor eax, dword [esp + 0x20]
lea ebx, [eax + edx]
mov eax, edi
mov edi, dword [ebp]
mov dword [ebp + 8], ebx
jmp 0x45efdc
mov esi, ebx
lea ecx, [edi - 1]
mov edx, edi
neg esi
imul ecx, esi
mov dword [esp + 0x6c], esi
add eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x45eff7
mov dword [esp + 0xb4], ebp
add ebx, 1
mov ebp, esi
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0xb4]
jmp 0x45f3dc
add edi, ebp
add ebx, ebp
sub dword [esp + 0x24], 1
je 0x45efd2
movzx eax, byte [esp + 0x20]
and byte [ebx - 1], al
cmp ebx, edi
jae 0x45f3cd
mov eax, edi
mov dword [esp + 4], 0
mov dword [esp], ebx
sub eax, ebx
mov dword [esp + 8], eax
call sym._memset
jmp 0x45f3cd
mov ebx, dword [esp + 0x30]
jmp 0x45efdc
mov edi, dword [esp + 0x3c]
mov esi, 2
mov dword [esp + 0x34], eax
cmp byte [ebp + 0x12], 1
lea ecx, [esi - 1]
je 0x45f4e1
test edi, edi
js 0x45f142
mov edx, dword [esp + 0x2c]
movzx eax, word [ebp + 0x10]
movzx ecx, byte [ebx - 1]
movzx edx, byte [edx + edi]
mov dword [esp + 0x20], eax
mov word [esp + 0x30], ax
movzx eax, cl
mov dword [esp + 0x24], eax
movzx eax, dl
add eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
jle 0x45f2a4
add edx, ecx
mov byte [ebx - 1], dl
movzx eax, word [ebp + 0x10]
movzx edx, dl
sub eax, 1
cmp edx, eax
je 0x45f142
cmp esi, dword [esp + 0x28]
jg 0x45f142
add esi, 1
sub edi, 1
jmp 0x45f418
imul eax, edx
add eax, 7
shr eax, 3
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
test eax, eax
je 0x45f365
mov ebx, edi
xor edx, edx
xor ecx, ecx
mov eax, edx
add eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add ebx, dword [esp + 0x20]
add ecx, 1
add edx, esi
cmp ecx, dword [ebp]
jb 0x45f4a5
jmp 0x45f365
mov eax, dword [esp + 0x34]
sar eax, cl
or byte [ebx - 1], al
cmp dword [esp + 0x28], esi
jge 0x45f47f
jmp 0x45f15c