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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov ecx, 1
mov edx, 2
mov edi, 4
push 0x581e84
push eax
mov dword [esp + 0x18], esi
mov word [esp + 0x66], cx
mov word [esp + 0x68], cx
mov word [esp + 0x6a], dx
mov word [esp + 0x6c], di
mov word [esp + 0x6e], 8
mov word [esp + 0x84], cx
mov word [esp + 0x86], dx
mov word [esp + 0x88], di
call fcn.00515a07
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x571f7c
lea eax, [edi - 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00511a80
mov esp, ebp
pop ebp
ret
push 0
push 0
push ebx
call fcn.00515def
add esp, 0xc
mov edi, ebx
call fcn.00571d10
movzx eax, ax
cmp ax, 0x4949
jne 0x571fa7
mov word [sym.convertifd.exe_Intel_byte_order], 1
mov byte [esi], 0x49
jmp 0x571fbd
cmp ax, 0x4d4d
jne 0x572777
mov word [sym.convertifd.exe_Intel_byte_order], 0
mov byte [esi], 0x4d
mov eax, esi
call fcn.00571e10
push esi
mov eax, ebx
call fcn.00571e60
movsx eax, word [sym.convertifd.exe_Num_typefaces]
imul eax, eax, 0xa4
push eax
call sym.convertifd.exe_IpMalloc
add esp, 8
test eax, eax
mov dword [esi + 8], eax
jne 0x572009
push ebx
call fcn.005158c7
mov eax, 1
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00511a80
mov esp, ebp
pop ebp
ret
cmp word [sym.convertifd.exe_Num_typefaces], 0
mov dword [esp + 0x2c], 0
jle 0x57275a
nop
mov esi, ebx
call fcn.00571d50
push 0
push eax
push ebx
call fcn.00515def
add esp, 0xc
mov edi, ebx
call fcn.00571d10
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
movzx eax, ax
xor ecx, ecx
cmp ax, cx
mov dword [esp + 0x40], eax
mov word [edx + 0x88], cx
mov dword [esp + 0x28], ecx
jle 0x572742
mov edi, edi
mov edi, ebx
call fcn.00571d10
movzx eax, ax
mov dword [esp + 0x1c], eax
call fcn.00571d10
mov esi, ebx
movzx edi, ax
call fcn.00571d50
movsx ecx, di
movsx edi, word [esp + ecx*2 + 0x5c]
imul edi, eax
cmp edi, 4
mov dword [esp + 0x14], eax
jle 0x5720b5
call fcn.00571d50
lea edx, [esp + 0x48]
push edx
mov esi, eax
push ebx
mov dword [esp + 0x44], esi
call fcn.00573524
push 0
push esi
push ebx
call fcn.00515def
add esp, 0x14
jmp 0x5720bd
mov dword [esp + 0x3c], 0
movsx eax, word [esp + 0x1c]
add eax, 0xfffffe70
cmp eax, 0x2a
ja case.0x5720d7.401
movzx eax, byte [eax + 0x5727e4]
jmp dword [eax*4 + 0x57279c]
mov esi, ebx
call fcn.00571d50
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov byte [eax + 4], 0
jmp 0x572717
movsx ecx, word [esp + 0x14]
mov esi, dword [esp + 0x10]
mov byte [sym.convertifd.exe_SymbolMap_Flag], 1
mov edx, dword [esi + 8]
push edi
mov dword [edx + 0x68], ecx
call sym.convertifd.exe_IpMalloc
mov ecx, dword [esi + 8]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 8]
add esp, 4
cmp dword [eax + 0x98], 0
je 0x571fe9
mov edx, dword [eax + 0x68]
add edx, edx
push edx
call sym.convertifd.exe_IpMalloc
mov ecx, dword [esi + 8]
mov dword [ecx + 0xa0], eax
mov edx, dword [esi + 8]
add esp, 4
cmp dword [edx + 0xa0], 0
je 0x571fe9
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jle 0x572717
xor esi, esi
mov edi, edi
mov edi, ebx
call fcn.00571d10
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x98]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0x18]
add eax, 1
movsx esi, ax
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jl 0x572170
jmp 0x572717
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [sym.convertifd.exe_Num_symsets], ax
mov byte [sym.convertifd.exe_SymbolSetDir_Flag], 1
mov edx, dword [esi + 8]
mov word [edx + 0x6c], ax
movsx eax, word [sym.convertifd.exe_Num_symsets]
imul eax, eax, 0x29
push eax
call sym.convertifd.exe_IpMalloc
mov ecx, dword [esi + 8]
mov dword [ecx + 0x9c], eax
mov edx, dword [esi + 8]
add esp, 4
cmp dword [edx + 0x9c], 0
je 0x571fe9
cmp word [sym.convertifd.exe_Num_symsets], 0
mov dword [esp + 0x18], 0
jle 0x572717
mov esi, ebx
call fcn.00571d50
mov esi, eax
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00573524
push 0
push esi
push ebx
call fcn.00515def
movsx ecx, word [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x58], ecx
imul ecx, ecx, 0x29
add eax, ecx
mov edi, ebx
mov dword [esp + 0x28], ecx
call fcn.00571df0
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.005734e2
mov esi, ebx
call fcn.00571d50
lea edx, [esp + 0x4c]
push edx
push ebx
mov esi, eax
call fcn.00573524
push 0
push esi
push ebx
call fcn.00515def
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x9c]
mov eax, dword [esp + 0x44]
lea eax, [edx + eax + 0x1e]
call fcn.00571df0
lea ecx, [esp + 0x60]
push ecx
push ebx
call fcn.005734e2
mov esi, ebx
call fcn.00571d50
mov dword [esp + 0x54], eax
call fcn.00571d10
movsx edx, ax
lea eax, [esp + 0x68]
push eax
push ebx
mov dword [esp + 0x64], edx
call fcn.00573524
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x84]
mov edx, dword [edx + 0x9c]
imul ecx, ecx, 0x29
mov eax, dword [esp + 0x54]
lea esi, [esp + 0x90]
sub esi, ecx
sub esi, edx
add esp, 0x40
mov dword [esp + 0x20], 0
lea eax, [eax + edx + 0x1e]
add esi, 0xffffffe2
lea esp, [esp]
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x572300
mov esi, dword [ebp + 0xc]
mov edi, 0x5904d0
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x572445
mov edi, 0x58fbfc
lea esi, [esp + 0x50]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x57233f
mov dword [esp + 0x20], 1
mov edi, 0x58fbf8
lea esi, [esp + 0x50]
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x57235b
mov dword [esp + 0x20], 1
mov edi, 0x58fbf4
lea esi, [esp + 0x50]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x57239b
cmp word [esp + 0x20], ax
jne 0x57239b
cmp word [esp + 0x18], 0
jg 0x572391
mov esi, dword [ebp + 0xc]
mov edi, 0x5904d0
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x57239b
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov word [ecx + edx + 0x27], di
lea edx, [edi + edi]
push edx
call sym.convertifd.exe_IpMalloc
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x20], esi
je 0x571fe9
mov eax, dword [esp + 0x1c]
push 0
push eax
push ebx
call fcn.00515def
add esp, 0xc
test edi, edi
mov dword [esp + 0x1c], 0
jle 0x572405
xor esi, esi
mov edi, ebx
call fcn.00571d10
mov ecx, dword [esp + 0x20]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0x1c]
add eax, 1
movsx esi, ax
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x5723e0
mov esi, ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x9c]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ebx
mov dword [ecx + edx + 0x23], esi
call fcn.005734e2
mov eax, dword [esp + 0x20]
add eax, 1
add esp, 8
cmp ax, word [sym.convertifd.exe_Num_symsets]
mov dword [esp + 0x18], eax
jl 0x572212
jmp 0x572717
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x50]
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x572470
test cl, cl
je 0x57246c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x572470
add eax, 2
add esi, 2
test cl, cl
jne 0x572450
xor eax, eax
jmp 0x572475
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x572376
jmp 0x57239b
mov eax, ebx
mov byte [sym.convertifd.exe_Point_Flag], 1
call fcn.00571db0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
fstp qword [edx + 0x6e]
jmp 0x572717
mov eax, ebx
mov byte [sym.convertifd.exe_NominalPoint_Flag], 1
call fcn.00571db0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
fstp qword [ecx + 0x76]
jmp 0x572717
mov eax, ebx
mov byte [sym.convertifd.exe_DesignUnits_Flag], 1
call fcn.00571db0
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
fstp qword [eax + 0x7e]
jmp 0x572717
mov eax, ebx
mov byte [sym.convertifd.exe_TypeStruct_Flag], 1
call fcn.00571d00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov byte [edx + 0x86], al
mov eax, ebx
call fcn.00571d00
mov edi, ebx
call fcn.00571d10
jmp 0x572717
mov eax, ebx
mov byte [sym.convertifd.exe_StrokeWt_Flag], 1
call fcn.00571d00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov byte [edx + 0x87], al
mov eax, ebx
call fcn.00571d00
mov edi, ebx
call fcn.00571d10
jmp 0x572717
mov edi, ebx
mov byte [sym.convertifd.exe_Spacing_Flag], 1
call fcn.00571d10
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov word [edx + 0x8c], ax
call fcn.00571d10
jmp 0x572717
mov edi, ebx
mov byte [sym.convertifd.exe_Slant_Flag], 1
call fcn.00571d10
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov word [edx + 0x88], ax
call fcn.00571d10
jmp 0x572717
mov edi, ebx
mov byte [sym.convertifd.exe_AppWidth_Flag], 1
call fcn.00571d10
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov byte [edx + 0x8a], al
call fcn.00571d10
jmp 0x572717
mov eax, ebx
mov byte [sym.convertifd.exe_TypeStyle_Flag], 1
call fcn.00571d00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov byte [edx + 0x8b], al
mov eax, ebx
call fcn.00571d00
mov edi, ebx
call fcn.00571d10
jmp 0x572717
cmp edi, 4
mov byte [sym.convertifd.exe_Typeface_Flag], 1
mov edi, ebx
jg 0x572621
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
add eax, 4
call fcn.00571df0
cmp word [esp + 0x14], 4
jge 0x572717
mov ecx, 4
sub ecx, dword [esp + 0x14]
movzx esi, cx
lea esp, [esp]
mov eax, ebx
call fcn.00571d00
sub esi, 1
jne 0x572610
jmp 0x572717
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
add eax, 4
call fcn.00571df0
jmp 0x572717
mov eax, ebx
mov byte [sym.convertifd.exe_AverageWd_Flag], 1
call fcn.00571db0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
fstp qword [ecx + 0x8e]
jmp 0x572717
mov edi, ebx
mov byte [sym.convertifd.exe_ReclineSP_Flag], 1
call fcn.00571d10
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
mov word [ecx + 0x96], ax
call fcn.00571d10
jmp 0x572717
xor esi, esi
cmp dword [esp + 0x14], esi
mov byte [sym.convertifd.exe_HorizontalEsc_Flag], 1
mov dword [esp + 0x18], esi
jle 0x572717
mov edi, ebx
call fcn.00571d10
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0xa0]
mov word [edx + esi*2], ax
mov eax, dword [esp + 0x18]
add eax, 1
movsx esi, ax
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jl 0x572692
jmp 0x572717
cmp edi, 4
mov byte [sym.convertifd.exe_TFSelectStr_Flag], 1
mov edi, ebx
jg 0x5726ff
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
add eax, 0x36
call fcn.00571df0
cmp word [esp + 0x14], 4
jge 0x572717
mov ecx, 4
sub ecx, dword [esp + 0x14]
movzx esi, cx
mov eax, ebx
call fcn.00571d00
sub esi, 1
jne 0x5726f1
jmp 0x572717
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
add eax, 0x36
call fcn.00571df0
jmp 0x572717
mov esi, ebx
call fcn.00571d50
cmp dword [esp + 0x3c], 0
je 0x57272c
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.005734e2
add esp, 8
mov eax, dword [esp + 0x28]
add eax, 1
cmp ax, word [esp + 0x40]
mov dword [esp + 0x28], eax
jl 0x572060
mov eax, dword [esp + 0x2c]
add eax, 1
cmp ax, word [sym.convertifd.exe_Num_typefaces]
mov dword [esp + 0x2c], eax
jl 0x572020
push ebx
call fcn.005158c7
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00511a80
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005158c7
mov ecx, dword [esp + 0x88]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 2
call fcn.00511a80
mov esp, ebp
pop ebp
ret