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

Disassembly:
push ebp
push edi
mov eax, 6
push esi
push ebx
sub esp, 0x16c
mov edx, dword [esp + 0x184]
test edx, edx
je 0x46360d
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x188]
mov dword [esp + 0x58], 4
mov dword [esp + 0x68], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
not edx
shr edx, 0x1f
test dl, dl
mov dword [esp + 0x38], edx
je 0x463620
mov esi, dword [esp + 0x18c]
test esi, esi
jne 0x463620
add esp, 0x16c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x180]
test ebx, ebx
je 0x463b30
mov eax, dword [esp + 0x180]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x58]
call sym._FT_Stream_New.part.1
test eax, eax
mov dword [esp + 0x48], eax
jne 0x463850
mov eax, dword [esp + 0x180]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
test al, 8
je 0x463770
mov ebp, dword [esp + 0x6c]
test ebp, ebp
je 0x463770
mov edx, dword [ebp]
test byte [edx], 1
je 0x463b60
test al, 0x10
je 0x463c52
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x50]
mov dword [esp + 4], edx
lea edx, [esp + 0x4c]
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov eax, ebp
call sym._open_face
test eax, eax
mov dword [esp + 0x48], eax
jne 0x463904
lea eax, [esp + 0x48]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._ft_mem_alloc
mov edx, dword [esp + 0x48]
test edx, edx
je 0x463c5b
test eax, eax
je 0x46388b
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x463760
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x463760
mov edx, dword [ebx + 0x80]
mov eax, dword [edx + 0x38]
sub eax, 1
test eax, eax
mov dword [edx + 0x38], eax
jg 0x463760
mov eax, dword [esi + 8]
lea ebp, [esi + 0x10]
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 0x2c], eax
call sym._FT_List_Find
test eax, eax
mov edi, eax
je 0x463760
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym._FT_List_Remove
mov dword [esp + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [esp], edi
call sym._ft_mem_free
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym._destroy_face
lea esi, [esi]
mov eax, dword [esp + 0x48]
add esp, 0x16c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x180]
mov dword [esp + 0x48], 0xb
lea ebx, [eax + 0x14]
mov eax, dword [eax + 0x10]
lea eax, [ebx + eax*4]
cmp ebx, eax
mov dword [esp + 0x34], eax
jae 0x463930
xor ecx, ecx
jmp 0x463823
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x50]
lea edx, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov eax, ebp
call sym._open_face
test eax, eax
mov dword [esp + 0x48], eax
je 0x4636c3
mov edx, dword [ebx]
mov edi, 0x4f6d4b
mov ecx, 9
mov edx, dword [edx]
mov esi, dword [edx + 8]
movzx edx, al
repe cmpsb byte [esi], byte es:[edi]
jne 0x46380f
cmp edx, 0x8e
je 0x463940
cmp edx, 2
jne 0x46385d
mov ecx, ebp
add ebx, 4
cmp dword [esp + 0x34], ebx
jbe 0x463b50
mov ebp, dword [ebx]
mov eax, dword [ebp]
test byte [eax], 1
je 0x463816
test byte [esp + 0x58], 0x10
jne 0x4637a0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
jmp 0x4637b0
movzx edx, al
mov dword [esp + 0x3c], 0
xor ebp, ebp
and eax, 0xfb
mov ebx, dword [esp + 0x4c]
cmp eax, 0x51
je 0x4638b0
cmp edx, 2
je 0x4638b0
test ebx, ebx
je 0x46388b
mov esi, dword [ebx + 0x1c]
mov dword [esp], ebx
call sym._FT_Stream_Close
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._ft_mem_free
mov eax, dword [esp + 0x50]
test eax, eax
je 0x463760
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sym._destroy_face
jmp 0x463760
test ebx, ebx
je 0x463910
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._FT_Stream_Seek
test eax, eax
mov esi, eax
je 0x463bf0
mov eax, esi
movzx eax, al
cmp eax, 2
je 0x463c23
cmp eax, 0x55
je 0x4639ad
cmp eax, 2
je 0x4639ad
test esi, esi
mov dword [esp + 0x48], esi
je 0x463bc2
mov eax, esi
cmp al, 2
je 0x463bb5
mov ebx, dword [esp + 0x4c]
jmp 0x463870
test byte [esp + 0x58], 4
jne 0x4639b8
mov dword [esp + 0x48], 0x55
jmp 0x463870
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x463870
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._FT_Stream_Seek
test eax, eax
jne 0x463e4e
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call sym._open_face_PS_from_sfnt_stream
test eax, eax
mov dword [esp + 0x48], eax
je 0x463e5a
movzx edx, al
jmp 0x46380f
test byte [esp + 0x58], 4
je 0x4638ee
mov eax, dword [esp + 0x180]
mov dword [esp + 0x54], 0
mov esi, 2
xor edi, edi
mov eax, dword [eax]
mov dword [esp + 4], ebx
xor ebx, ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call sym._FT_Raccess_Guess
mov dword [esp + 0x30], ebp
jmp 0x463a35
test al, al
je 0x463a57
mov edi, 1
add ebx, 1
cmp ebx, 9
je 0x463b70
mov eax, dword [esp + 0x180]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._ft_raccess_rule_by_darwin_vfs
test al, al
setne al
test edi, 1
mov ebp, eax
jne 0x463a20
mov ecx, dword [esp + ebx*4 + 0xe0]
test ecx, ecx
jne 0x463a29
mov eax, dword [esp + ebx*4 + 0x98]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], 4
mov dword [esp + 0x54], 0
test eax, eax
cmove eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x180]
call sym._FT_Stream_New.part.1
mov esi, eax
mov eax, ebp
test al, al
je 0x463aad
mov eax, esi
cmp al, 0x51
je 0x463a24
test esi, esi
jne 0x463a29
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + ebx*4 + 0xbc]
mov edx, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov eax, dword [esp + 0x180]
call sym._IsMacResource
mov esi, eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x463b12
mov edx, dword [eax + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call sym._FT_Stream_Close
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._ft_mem_free
test esi, esi
je 0x463b70
mov eax, ebp
test al, al
mov eax, 1
cmovne edi, eax
jmp 0x463a29
mov dword [esp + 0x48], 0x21
xor ebx, ebx
mov dword [esp + 0x3c], 0
xor ebp, ebp
jmp 0x463870
mov eax, dword [esp + 0x48]
mov ebp, ecx
movzx edx, al
jmp 0x46385d
mov dword [esp + 0x48], 0x20
jmp 0x463904
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x98]
nop
mov eax, dword [ebx]
test eax, eax
je 0x463b98
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._ft_mem_free
mov dword [ebx], 0
lea eax, [esp + 0xbc]
add ebx, 4
cmp ebx, eax
jne 0x463b80
test esi, esi
mov eax, 2
cmovne esi, eax
jmp 0x4638ee
mov dword [esp + 0x48], 2
jmp 0x463904
mov ebx, dword [esp + 0x4c]
xor eax, eax
test ebx, ebx
je 0x46360d
mov esi, dword [ebx + 0x1c]
mov dword [esp], ebx
call sym._FT_Stream_Close
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._ft_mem_free
mov eax, dword [esp + 0x48]
jmp 0x46360d
lea eax, [esp + 0xe0]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Stream_Read
test eax, eax
mov esi, eax
jne 0x4638ce
cmp byte [esp + 0xe0], 0
je 0x463d9e
mov eax, dword [esp + 0x18c]
xor ecx, ecx
mov edx, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov eax, dword [esp + 0x180]
call sym._IsMacResource
mov esi, eax
movzx eax, al
jmp 0x4638dc
xor ecx, ecx
xor edx, edx
jmp 0x463690
mov edx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov dword [esp + 4], eax
mov eax, dword [edx + 0x60]
add eax, 0x10
mov dword [esp], eax
call sym._FT_List_Add
cmp byte [esp + 0x38], 0
jne 0x463d48
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx + 8]
test al, 1
je 0x463ca3
movzx edx, word [ebx + 0x4a]
test dx, dx
js 0x463e77
test al, 0x20
jne 0x463ca3
movzx edx, word [ebx + 0x4a]
mov word [ebx + 0x4e], dx
test al, 2
je 0x463cf5
mov edx, dword [ebx + 0x1c]
test edx, edx
jle 0x463cf5
mov eax, dword [ebx + 0x20]
shl edx, 4
lea ecx, [eax + edx]
jmp 0x463cd5
mov edx, dword [eax + 8]
test edx, edx
js 0x463ceb
mov edx, dword [eax + 0xc]
test edx, edx
js 0x463ce4
add eax, 0x10
cmp eax, ecx
je 0x463cf5
movzx edx, word [eax]
test dx, dx
jns 0x463cc0
neg edx
mov word [eax], dx
jmp 0x463cc0
neg edx
mov dword [eax + 0xc], edx
jmp 0x463cce
neg edx
movsx edx, dx
mov dword [eax + 8], edx
jmp 0x463cc7
mov eax, dword [ebx + 0x80]
mov dword [eax], 0x10000
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x10000
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x38], 1
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x463e82
mov eax, dword [esp + 0x18c]
mov dword [eax], ebx
jmp 0x463760
mov eax, dword [esp + 0x50]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._FT_New_GlyphSlot
test eax, eax
mov dword [esp + 0x48], eax
jne 0x4636f3
lea eax, [esp + 0xe0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym._FT_New_Size
test eax, eax
mov dword [esp + 0x48], eax
jne 0x4636f3
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0xe0]
mov dword [ebx + 0x58], eax
jmp 0x463c83
cmp byte [esp + 0x12a], 0
jne 0x463c23
cmp byte [esp + 0x132], 0
jne 0x463c23
movzx eax, byte [esp + 0xe1]
lea edx, [eax - 1]
cmp dl, 0x20
ja 0x463c23
cmp byte [esp + 0x11f], 0
jne 0x463c23
cmp byte [esp + eax + 0xe2], 0
jne 0x463c23
movzx eax, byte [esp + 0x133]
movzx ecx, byte [esp + 0x136]
shl eax, 0x18
mov edx, eax
movzx eax, byte [esp + 0x134]
shl eax, 0x10
or eax, edx
mov edx, ebx
or ecx, eax
movzx eax, byte [esp + 0x135]
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x18c]
add ecx, 0x7f
and ecx, 0xffffff80
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
sub ecx, 0xffffff80
mov dword [esp], eax
mov eax, dword [esp + 0x180]
call sym._IsMacResource
mov esi, eax
jmp 0x4638ce
mov eax, dword [esp + 0x48]
movzx edx, al
jmp 0x46385d
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._FT_Stream_Free
mov eax, dword [esp + 0x48]
jmp 0x46360d
neg edx
mov word [ebx + 0x4a], dx
jmp 0x463c97
mov dword [esp], ebx
call sym._FT_Done_Face
jmp 0x463760