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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
cmp dword [esi + 4], 0xffffffff
push edi
lea edi, [esi + 4]
je 0x55118f
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
imul ebx, ebx, 0x2c
mov eax, dword [ebp + 0x18]
cmp dword [ebx + eax + 0x28], 0xffffffff
mov dword [esp + 0x14], ebx
jne 0x550dab
mov ecx, eax
mov edx, dword [ebx + ecx + 0xc]
lea eax, [ebx + ecx]
mov dword [eax + 0x28], edx
mov dword [esi], 0
mov eax, dword [edi]
add eax, 1
mov dword [esi], eax
mov ecx, dword [esi + 0x14]
lea eax, [eax + ecx + 1]
mov dword [esi], eax
mov edx, dword [esi + 0x24]
lea eax, [edx + eax + 1]
mov dword [esi], eax
mov ecx, dword [esi + 0x34]
lea eax, [eax + ecx + 1]
mov dword [esi], eax
mov edx, dword [esi + 0x48]
lea eax, [edx + eax + 1]
mov dword [esi], eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + ecx + 1]
mov dword [esi], eax
mov edx, dword [esi + 0x68]
lea eax, [edx + eax + 1]
mov dword [esi], eax
mov ecx, dword [esi + 8]
lea eax, [ecx + eax + 1]
mov dword [esi], eax
mov edx, dword [esi + 0x18]
lea eax, [edx + eax + 1]
mov dword [esi], eax
mov ecx, dword [esi + 0x28]
lea eax, [eax + ecx + 1]
mov dword [esi], eax
mov edx, dword [esi + 0x38]
lea eax, [edx + eax + 1]
mov dword [esi], eax
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax + 1]
mov dword [esi], eax
mov edx, dword [esi + 0x5c]
lea eax, [edx + eax + 1]
mov dword [esi], eax
mov ecx, dword [esi + 0x6c]
lea eax, [eax + ecx + 1]
mov dword [esi], eax
add eax, 0x78
push eax
call sym.convertifd.exe_CreatePfontSegment
mov edx, dword [ebp + 0x18]
mov dword [ebx + edx + 0x20], eax
mov eax, dword [ebp + 0x18]
add esp, 4
cmp dword [ebx + eax + 0x20], 0
jne 0x550e57
pop edi
pop esi
pop ebp
mov eax, 0xfffffff1
pop ebx
add esp, 8
ret
mov ecx, eax
mov edx, dword [ebx + ecx + 0x20]
push edx
call sym.convertifd.exe_LockPfontSegment
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x550e4a
mov eax, 0x78
mov dword [esp + 0x10], eax
xor ebx, ebx
jmp 0x550e84
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
movsx ecx, ax
mov dword [edi + 8], ecx
mov ecx, dword [ebx + 0x6a0ae0]
push edx
push ecx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi], 0
je 0x550eb3
mov edx, dword [ebx + 0x6a0ae0]
push edx
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
lea eax, [ecx + eax + 1]
mov ecx, dword [edi + 0x10]
movsx edx, ax
mov dword [edi + 0x18], edx
mov edx, dword [ebx + 0x6a06f0]
push ecx
mov dword [esp + 0x14], eax
push edx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi + 0x10], 0
je 0x550ef2
mov eax, dword [ebx + 0x6a06f0]
push eax
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx + 1]
mov edx, dword [edi + 0x20]
movsx ecx, ax
mov dword [edi + 0x28], ecx
mov ecx, dword [ebx + 0x6a06d8]
push edx
mov dword [esp + 0x14], eax
push ecx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi + 0x20], 0
je 0x550f32
mov edx, dword [ebx + 0x6a06d8]
push edx
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
lea eax, [ecx + eax + 1]
mov ecx, dword [edi + 0x30]
movsx edx, ax
mov dword [edi + 0x38], edx
mov edx, dword [ebx + 0x6a02d0]
push ecx
mov dword [esp + 0x14], eax
push edx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi + 0x30], 0
je 0x550f72
mov eax, dword [ebx + 0x6a02d0]
push eax
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [edi + 0x30]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx + 1]
mov edx, dword [edi + 0x44]
movsx ecx, ax
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebx + 0x6a02c8]
push edx
mov dword [esp + 0x14], eax
push ecx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi + 0x44], 0
je 0x550fb2
mov edx, dword [ebx + 0x6a02c8]
push edx
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x44]
lea eax, [ecx + eax + 1]
mov ecx, dword [edi + 0x54]
movsx edx, ax
mov dword [edi + 0x5c], edx
mov edx, dword [ebx + 0x6a06e0]
push ecx
mov dword [esp + 0x14], eax
push edx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi + 0x54], 0
je 0x550ff2
mov eax, dword [ebx + 0x6a06e0]
push eax
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [edi + 0x54]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx + 1]
mov edx, dword [edi + 0x64]
movsx ecx, ax
mov dword [edi + 0x6c], ecx
mov ecx, dword [ebx + 0x6a06e8]
push edx
mov dword [esp + 0x14], eax
push ecx
add eax, ebp
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
cmp dword [edi + 0x64], 0
je 0x551032
mov edx, dword [ebx + 0x6a06e8]
push edx
call sym.convertifd.exe_IpFree
add esp, 4
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x10]
add ebx, 4
lea edx, [ecx + eax + 1]
add edi, 4
cmp ebx, 8
mov dword [esp + 0x10], edx
jl 0x550e80
cmp dword [esi + 8], 0
jne 0x551062
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x18], 0
jne 0x551074
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x28], 0
jne 0x551086
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x30], edx
cmp dword [esi + 0x38], 0
jne 0x551098
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x40], ecx
cmp dword [esi + 0x4c], 0
jne 0x5510aa
mov edx, dword [esi + 0x48]
mov dword [esi + 0x4c], edx
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], eax
cmp dword [esi + 0x5c], 0
jne 0x5510bc
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x5c], ecx
mov edx, dword [esi + 0x60]
mov dword [esi + 0x64], edx
cmp dword [esi + 0x6c], 0
jne 0x5510ce
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x74], ecx
push 0x78
push esi
push ebp
call sym.convertifd.exe_MoveFarToFar
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x18]
mov ebp, dword [esp + 0x20]
mov ecx, dword [eax + ebp + 0x20]
push ecx
call sym.convertifd.exe_UnlockPfontSegment
add esp, 0x10
cmp dword [esp + 0x28], 0
jle 0x55118f
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, dword [ebx]
jle 0x551148
lea edi, [esi + 0x28]
push edi
call sym.convertifd.exe_GmUTable
push edi
call sym.convertifd.exe_GmFTable
push 0x38
push 0x400
push edi
call sym.convertifd.exe_GmCTable
mov edx, dword [esp + 0x44]
lea eax, [edx + esi*4]
push eax
push edi
call sym.convertifd.exe_GmLTable
add esp, 0x1c
mov dword [ebx], esi
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x18]
mov ecx, dword [esp + 0x30]
lea eax, [edx + ebp + 0x1c]
lea edi, [ecx + esi*4]
push eax
push edi
add esi, 0x28
push esi
call sym.convertifd.exe_GmVTable
add esp, 0xc
test eax, eax
je 0x550e4a
mov edx, dword [ebx + 0x18]
mov eax, dword [edx + ebp + 0x1c]
mov ecx, dword [esp + 0x24]
shl eax, 0xa
add eax, dword [edi]
push 0x400
push ecx
push eax
call sym.convertifd.exe_MoveFarToFar
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret