Function at 0x491190
Capabilities:
Get common file path

Disassembly:
sub esp, 0x398
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push esi
mov esi, dword [esp + 0x3a8]
xor ebx, ebx
push edi
mov dword [esp + 0x20], esi
mov dword [0x606be8], ebx
mov dword [0x606bf4], ebx
call sym.convertifd.exe_feyefpk
test al, al
mov byte [0x606bec], al
je 0x4911e5
mov ax, word [0x582c38]
mov cl, byte [0x582c3a]
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], cl
jmp 0x4911ec
mov word [esp + 0x1c], 0x77
cmp esi, ebx
je 0x4911f4
cmp byte [esi], bl
jne 0x49126a
lea esi, [esp + 0x29c]
push 0x104
mov edx, esi
push sym.convertifd.exe_i_ifd
push edx
mov dword [esp + 0x2c], esi
call fcn.00513780
add esp, 0xc
cmp byte [esp + 0x29c], bl
je 0x491f7f
mov eax, esi
push eax
call sym.convertifd.exe_UtStripExt
mov edi, esi
add esp, 4
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x491231
mov cx, word [0x581818]
mov word [edi], cx
lea edi, [esp + 0x29c]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x491250
mov edx, dword [0x582c34]
mov dword [edi], edx
cmp byte [esi], bl
je 0x491f7f
push ebp
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00515a07
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jne 0x49133c
lea ecx, [esp + 0x19c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x19c]
push edx
call sym.convertifd.exe_UtTerminatePath
lea eax, [esp + 0x1a0]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4912b4
sub eax, edx
lea eax, [esp + eax + 0x19c]
push eax
push esi
call sym.convertifd.exe_UtGetName
lea ecx, [esp + 0x1a4]
push 0x582c30
push ecx
call sym.convertifd.exe_UtAddExt
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1b0]
push eax
call fcn.00515a07
mov ebp, eax
add esp, 0x18
cmp ebp, ebx
mov dword [esp + 0x1c], eax
jne 0x491324
push esi
push 0xffffffffffffff9c
call sym.convertifd.exe_IpCMessage
add esp, 8
pop ebp
mov ecx, dword [esp + 0x3a0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511a80
add esp, 0x398
ret 8
lea eax, [esp + 0x19c]
mov ecx, eax
sub esi, ecx
nop
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x491330
push ebx
push 8
call sym.convertifd.exe_IpCursor
mov edx, dword [0x6a2d98]
add esp, 8
cmp byte [0x606bec], bl
mov dword [esp + 0x30], edx
je 0x49136f
push ebp
push 2
call fcn.00518226
push ebp
call sym.convertifd.exe_feyefo
add esp, 0xc
mov byte [0x606bec], al
mov esi, ebp
call fcn.0048f120
lea eax, [esp + 0x38]
push str._n_File_Version_Number___V__n
push eax
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491390
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
lea ecx, [esp + 0x38]
push str._V_500_n
push ecx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4913c3
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov edx, dword [0x6a2d10]
push edx
call sym.convertifd.exe_IpMalloc
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x491434
mov eax, dword [0x6a2da8]
cmp eax, 1
jge 0x491403
mov eax, 1
push eax
call sym.convertifd.exe_IpMalloc
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x491434
mov eax, dword [0x6a2eb4]
cmp eax, 1
jge 0x491423
mov eax, 1
push eax
call sym.convertifd.exe_IpMalloc
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x491446
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
push ebp
call fcn.005158c7
jmp 0x491306
mov eax, dword [0x6a2d10]
mov edi, dword [esp + 0x18]
push eax
push ebx
push edi
call fcn.00511e90
mov ecx, dword [0x6a2da8]
mov esi, dword [esp + 0x1c]
push ecx
push ebx
push esi
call fcn.00511e90
mov edx, dword [0x6a2eb4]
push edx
push ebx
mov ebx, dword [esp + 0x34]
push ebx
call fcn.00511e90
push 0
push esi
push edi
call fcn.0048edc0
lea eax, [esp + 0x68]
push str._n_Font_table___Z__n
push eax
call fcn.005135ca
lea eax, [esp + 0x70]
add esp, 0x38
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4914a0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
xor esi, esi
cmp dword [0x6a2d10], esi
jle 0x491528
mov ebx, dword [esp + 0x18]
cmp byte [esi + ebx], 0
je 0x49151d
lea ecx, [esp + 0x138]
push ecx
push esi
mov ecx, sym.convertifd.exe_i_ifd
call fcn.0048e8b0
lea edx, [esp + 0x140]
push edx
push esi
lea eax, [esp + 0x48]
push str._Z__3d__s_n
push eax
call fcn.005135ca
lea eax, [esp + 0x50]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491503
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
add esi, 1
cmp esi, dword [0x6a2d10]
jl 0x4914c8
lea ecx, [esp + 0x38]
push str._n_Barcode_table___H__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491541
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
cmp dword [0x6a2da8], edi
jle 0x4915ff
mov esi, 1
xor ebx, ebx
mov edi, edi
mov edx, dword [esp + 0x10]
cmp byte [edx + esi - 1], 0
je 0x4915ea
mov eax, dword [0x6a2da4]
add eax, ebx
lea edx, [esp + 0x138]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x491590
push 0x25
lea ecx, [esp + 0x13c]
push 0x20
push ecx
call sym.convertifd.exe_UtReplaceChar
lea edx, [esp + 0x144]
push edx
push esi
lea eax, [esp + 0x4c]
push str._H__3d__s_n
push eax
call fcn.005135ca
lea eax, [esp + 0x54]
add esp, 0x1c
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4915d0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
add esi, 1
lea ecx, [esi - 1]
add ebx, 0x5c
cmp ecx, dword [0x6a2da8]
jl 0x491570
lea edx, [esp + 0x38]
push str._n_Color_table___C__n
push edx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491618
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov ebx, dword [esp + 0x14]
xor esi, esi
cmp dword [0x6a2eb4], esi
jle 0x49169b
cmp byte [esi + ebx], 0
je 0x491690
mov eax, dword [0x6a2eb0]
movzx ecx, byte [eax + esi*4 + 2]
movzx edx, byte [eax + esi*4 + 1]
movzx eax, byte [eax + esi*4]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x48]
push str._C__2d__3d__3d__3d_n
push ecx
call fcn.005135ca
lea eax, [esp + 0x50]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491676
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
add esi, 1
cmp esi, dword [0x6a2eb4]
jl 0x491640
mov edx, dword [esp + 0x18]
push edx
call sym.convertifd.exe_IpFree
mov eax, dword [esp + 0x14]
push eax
call sym.convertifd.exe_IpFree
push ebx
call sym.convertifd.exe_IpFree
lea ecx, [esp + 0x44]
push str._n_Dynamic_Subforms_Document_Map___Y__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x4c]
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4916d0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov edi, dword [0x6a2ecc]
xor esi, esi
test edi, edi
jle 0x4917af
xor ebx, ebx
lea esp, [esp]
mov eax, dword [0x6a2ec8]
mov ecx, dword [ebx + eax + 0x20]
test ecx, ecx
mov ebp, ecx
jne 0x491714
mov ebp, 0x580cbb
mov ecx, dword [ebx + eax + 0x1c]
test ecx, ecx
mov dword [esp + 0x10], ecx
jne 0x491728
mov dword [esp + 0x10], 0x580cbb
mov edx, dword [ebx + eax + 0x18]
test edx, edx
jne 0x491735
mov edx, 0x580cbb
mov ecx, dword [ebx + eax + 0x14]
test ecx, ecx
jne 0x491742
mov ecx, 0x580cbb
push ebp
mov ebp, dword [esp + 0x14]
push ebp
push edx
mov edx, dword [ebx + eax + 0x10]
push ecx
mov ecx, dword [ebx + eax + 0xc]
push edx
mov edx, dword [ebx + eax + 8]
push ecx
mov ecx, dword [ebx + eax + 4]
push edx
mov edx, dword [ebx + eax]
push ecx
push edx
add esi, 1
push esi
push edi
lea eax, [esp + 0x64]
push str._Y__d__d__d__d__d__d__d___s____s____s____s__n
push eax
call fcn.005135ca
lea eax, [esp + 0x6c]
add esp, 0x34
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491780
mov ebp, dword [esp + 0x1c]
sub eax, edi
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov edi, dword [0x6a2ecc]
add ebx, 0x24
cmp esi, edi
jl 0x491700
lea ecx, [esp + 0x38]
push str._n_External_Form_References__Form_Set____K__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4917c8
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
xor esi, esi
cmp dword [0x6a2ee0], esi
jle 0x491869
xor ebx, ebx
mov eax, dword [0x6a2edc]
mov ecx, dword [ebx + eax + 0x14]
test ecx, ecx
mov edx, ecx
jne 0x491806
mov edx, 0x580cbb
mov ecx, dword [ebx + eax + 0x10]
test ecx, ecx
jne 0x491813
mov ecx, 0x580cbb
push edx
mov edx, dword [ebx + eax + 0xc]
push ecx
mov ecx, dword [ebx + eax + 8]
push edx
mov edx, dword [ebx + eax + 4]
mov eax, dword [ebx + eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push str._K_1__d__d__d___s____s____s__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x58]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491841
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
add esi, 1
add ebx, 0x18
cmp esi, dword [0x6a2ee0]
jl 0x4917f2
lea edx, [esp + 0x138]
push edx
call sym.convertifd.exe_SymbolSetConversionStatus
push eax
push 0x200b
call sym.convertifd.exe_SetDocVarByResource
lea eax, [esp + 0x44]
push str._n_All_Test_Presentment_Data___Q__n
push eax
call fcn.005135ca
lea eax, [esp + 0x4c]
add esp, 0x14
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4918a0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov ecx, dword [0x6a2ef8]
mov edx, dword [0x6a2ef4]
push ecx
push edx
lea eax, [esp + 0x40]
push str._Q_0___d__d_n
push eax
call fcn.005135ca
lea eax, [esp + 0x48]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4918e1
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2ee8]
test eax, eax
je 0x49193d
cmp byte [eax], 0
je 0x49193d
push eax
lea ecx, [esp + 0x3c]
push str._Q_1___s__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491923
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2eec]
test eax, eax
je 0x49197f
cmp byte [eax], 0
je 0x49197f
push eax
lea edx, [esp + 0x3c]
push str._Q_2___s__n
push edx
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491965
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2ef0]
test eax, eax
je 0x4919c1
cmp byte [eax], 0
je 0x4919c1
push eax
lea eax, [esp + 0x3c]
push str._Q_3___s__n
push eax
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4919a7
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
lea ecx, [esp + 0x38]
push str._n_All_Document_Variables___W__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4919e0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
call sym.convertifd.exe_GetFirstDocVar
mov ebx, eax
test ebx, ebx
je 0x491ab1
lea esp, [esp]
push ebx
lea edx, [esp + 0x3c]
push str._W___s__n
push edx
call fcn.005135ca
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push eax
mov ecx, eax
push ecx
call sym.convertifd.exe_Roman8ToIBMBuff
lea eax, [esp + 0x50]
add esp, 0x18
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491a40
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
push ebx
call sym.convertifd.exe_GetDocVar
mov edi, eax
add esp, 4
test edi, edi
jne 0x491a6e
mov edi, 0x580cbb
push 0xffffffffffffffff
push edi
push edi
call sym.convertifd.exe_Roman8ToIBMBuff
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491a80
sub eax, edx
push ebp
push edi
xor edx, edx
mov ecx, eax
call fcn.0048eed0
push 0xffffffffffffffff
push edi
push edi
call sym.convertifd.exe_IBMToRoman8Buff
add esp, 0x14
call sym.convertifd.exe_GetNextDocVar
mov ebx, eax
test ebx, ebx
jne 0x491a10
call sym.convertifd.exe_UnlockDocVars
lea edx, [esp + 0x38]
push str._n_Page_Offset___P__n
push edx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491ad0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
lea eax, [esp + 0x38]
push str._P_0_0_n
push eax
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491b03
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
xor esi, esi
cmp dword [0x6a2d08], esi
jle 0x491f16
mov dword [esp + 0x14], esi
nop
cmp esi, dword [0x6a2d98]
je 0x491b50
push esi
push sym.convertifd.exe_i_ifd
call sym.convertifd.exe_ReadPage
mov edi, eax
add esp, 8
test edi, edi
jne 0x491f62
lea ecx, [esp + 0x38]
push str._n_n_n_Page_setup___N__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491b70
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
call sym.convertifd.exe_PageSize
mov eax, dword [0x6a2d14]
mov edi, dword [eax + 0x2c]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push edi
mov edi, dword [eax + 0x28]
push edi
mov edi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x58]
push edi
mov edi, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
add edi, ecx
push edi
add eax, edx
push eax
push ecx
push edx
add esi, 1
push esi
lea ecx, [esp + 0x74]
push str._N__d______ld__ld__ld__ld_____ld__ld__ld__ld__ld__ld_n
push ecx
mov dword [esp + 0x70], esi
call fcn.005135ca
lea eax, [esp + 0x7c]
add esp, 0x44
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x491c00
sub eax, ecx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2d14]
mov edx, dword [eax + 0xa8]
mov ecx, dword [eax + 0x44]
push edx
mov edx, dword [eax + 0x40]
push ecx
mov ecx, dword [eax + 0x3c]
push edx
mov edx, dword [eax + 0x38]
push ecx
push edx
lea eax, [esp + 0x4c]
push str._N0_1______d__d__d__d__d_n
push eax
call fcn.005135ca
lea eax, [esp + 0x54]
add esp, 0x1c
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x491c50
sub eax, ecx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2d14]
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, dword [eax + 0x58]
push edx
mov edx, dword [eax + 0x54]
push ecx
mov ecx, dword [eax + 0x50]
push edx
mov edx, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push str._N0_2______d__d__d__d__d__d__d_n
push ecx
call fcn.005135ca
lea eax, [esp + 0x5c]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491ca7
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2d14]
cmp byte [eax + 0x60], 0
lea ecx, [eax + 0x60]
je 0x491d0f
push ecx
lea edx, [esp + 0x3c]
push str._N0_3_______s__n
push edx
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491cf0
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2d14]
cmp byte [eax + 0x76], 0
lea ecx, [eax + 0x76]
je 0x491d51
push ecx
lea eax, [esp + 0x3c]
push str._N0_4_______s__n
push eax
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491d32
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov eax, dword [0x6a2d14]
cmp dword [eax + 0x90], 0
je 0x491daa
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0x9c]
push ecx
mov ecx, dword [eax + 0x98]
push edx
mov edx, dword [eax + 0x94]
push ecx
push edx
lea eax, [esp + 0x48]
push str._N0_5______d__d__d__d_n
push eax
call fcn.005135ca
lea eax, [esp + 0x50]
add esp, 0x18
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491d90
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov ecx, dword [0x6a2d04]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx + 0x6c]
push eax
lea ecx, [esp + 0x3c]
push str._N0_6______s__n
push ecx
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491dd2
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
lea edx, [esp + 0x1c]
push edx
call sym.convertifd.exe_GetGuidePoints
mov esi, eax
add esp, 4
xor ebx, ebx
test esi, esi
jle 0x491e56
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + ebx*8]
test eax, eax
jne 0x491e12
cmp dword [ecx + ebx*8 + 4], eax
je 0x491e4f
mov ecx, dword [ecx + ebx*8 + 4]
push ecx
push eax
lea edx, [esp + 0x40]
push str._N0_7____ld__ld_n
push edx
call fcn.005135ca
lea eax, [esp + 0x48]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491e31
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov ecx, dword [esp + 0x1c]
add ebx, 1
cmp ebx, esi
jl 0x491e05
mov eax, dword [0x6a2d04]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax + 0xa0]
test eax, eax
je 0x491e9e
push eax
lea edx, [esp + 0x3c]
push str._N0_8______s__n
push edx
call fcn.005135ca
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491e84
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
lea eax, [esp + 0x38]
push str._n_Page_entities..._n
push eax
call fcn.005135ca
lea eax, [esp + 0x40]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x491eb7
sub eax, edx
mov edx, eax
xor edi, edi
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.0048ebe0
mov edi, 1
cmp dword [0x6a2d1c], edi
jle 0x491efe
mov edi, edi
push 0
push 0
push ebp
push 0x6a2d18
push edi
call fcn.0048fd90
add edi, 1
add esp, 0x14
cmp edi, dword [0x6a2d1c]
jl 0x491ee0
mov esi, dword [esp + 0x2c]
add dword [esp + 0x14], 0xa8
cmp esi, dword [0x6a2d08]
jl 0x491b30
push ebp
call fcn.005158c7
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, dword [0x6a2d98]
je 0x491f39
push eax
push sym.convertifd.exe_i_ifd
call sym.convertifd.exe_ReadPage
add esp, 8
push 0
push 0
call sym.convertifd.exe_IpCursor
add esp, 8
cmp dword [esp + 0x3ac], 0
jne 0x491309
mov ecx, dword [esp + 0x24]
push ecx
push 0xfffff054
jmp 0x491301
push 0
push 0
call sym.convertifd.exe_IpCursor
push edi
call sym.convertifd.exe_IpMessage
push ebp
call fcn.005158c7
add esp, 0x10
jmp 0x491309
push 0xfffffc6c
call sym.convertifd.exe_IpMessage
add esp, 4
jmp 0x49130a