Function at 0x434b30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x688
mov eax, dword [esp + 0x69c]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0x69c]
push edi
mov word [eax], bx
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x64]
cmp esi, 0x4c
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xe4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
je 0x434ba4
cmp esi, 0x4d
je 0x434ba4
cmp esi, 0x50
jne 0x434bbe
lea ecx, [esp + 0x64]
push str.Svg.dll
push ecx
call fcn.004d631b
mov dword [esp + 0x24], 1
jmp 0x434bbb
lea edx, [esp + 0x64]
push str.BabaCAD4Image.dll
push edx
call fcn.004d631b
mov dword [esp + 0x20], 1
add esp, 8
cmp word [esp + 0x64], bx
je 0x434bea
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30c]
push eax
push ecx
call fcn.004904e0
add esp, 8
lea edx, [esp + 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [esp + 0x6a4]
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ebx, eax
jne 0x434d70
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push str.CADImage.dll
push eax
call fcn.004d631b
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x314]
push ecx
push edx
call fcn.004904e0
add esp, 0x10
lea eax, [esp + 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x434daf
lea eax, [esi - 0x4c]
cmp eax, 4
ja case.default.0x434c55
jmp dword [eax*4 + 0x435054]
lea ecx, [esp + 0x64]
push str.CS_DXF.DLL
push ecx
call fcn.004d631b
mov edx, dword [str.ReadDXFW]
mov eax, dword [0x5992b0]
mov cl, byte [0x5992b4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], cl
jmp 0x434d39
lea edx, [esp + 0x64]
push str.CS_DWG.DLL
push edx
call fcn.004d631b
mov eax, dword [str.ReadDWGW]
mov ecx, dword [0x59928c]
mov dl, byte [0x599290]
jmp 0x434d2d
lea eax, [esp + 0x64]
push str.CS_HPGL.DLL
push eax
call fcn.004d631b
mov ecx, dword [str.ReadHPGLW]
mov edx, dword [0x599268]
mov ax, word [0x59926c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov word [esp + 0x34], ax
jmp 0x434d39
lea ecx, [esp + 0x64]
push str.CS_CGM.DLL
push ecx
call fcn.004d631b
mov edx, dword [str.ReadCGMW]
mov eax, dword [0x599244]
mov cl, byte [0x599248]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], cl
jmp 0x434d39
lea edx, [esp + 0x64]
push str.CS_SVG.DLL
push edx
call fcn.004d631b
mov eax, dword [str.ReadSVGW]
mov ecx, dword [0x599220]
mov dl, byte [0x599224]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x34], dl
add esp, 8
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30c]
push eax
push ecx
call fcn.004904e0
add esp, 8
lea edx, [esp + 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x435028
lea eax, [esp + 0x24]
push eax
jmp 0x434db4
cmp ecx, eax
je 0x434da2
cmp esi, 0x4c
jne 0x434d8b
push str.ReadDXF
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
jmp 0x434dbf
cmp esi, 0x4d
jne 0x434dbf
push str.ReadDWG
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
jmp 0x434dbf
cmp dword [esp + 0x1c], eax
je 0x434daf
push str.ReadSVGW
jmp 0x434db4
push str.ReadCADW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x435028
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x434ddb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x435028
mov eax, dword [esp + 0x18]
test eax, eax
je 0x434ed2
mov edx, dword [esp + 0x6b0]
push 0
push 0
lea ecx, [esp + 0x1f0]
push 0x104
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x1e8]
push eax
push 0
push str.DXF_BlackBackground
push 0x5991e4
call ebp
test edi, edi
mov esi, eax
jbe 0x434e48
push esi
push edi
push edi
lea ecx, [esp + 0xf0]
push str.params4_w_d_h_d_prop1_blackbg_d_
push ecx
call fcn.004d6857
add esp, 0x14
jmp 0x434f80
lea edx, [esp + 0x1e8]
push edx
push 0x7dd
push str.DXF_W
push 0x5991e4
call ebp
mov edi, eax
push esi
cmp edi, 0x7dd
je 0x434eb8
lea eax, [esp + 0x1ec]
push eax
push 0
push str.DXF_Ratio
push 0x5991e4
call ebp
lea ecx, [esp + 0x1ec]
push eax
push ecx
push 0x7dd
push str.DXF_H
push 0x5991e4
call ebp
push eax
push edi
lea edx, [esp + 0xf4]
push str.params4_w_d_h_d_prop_d_blackbg_d_
push edx
call fcn.004d6857
add esp, 0x18
jmp 0x434f80
lea eax, [esp + 0xe8]
push str.params1_blackbg_d_
push eax
call fcn.004d6857
add esp, 0xc
jmp 0x434f80
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x434f44
test edi, edi
mov esi, 0x54
jne 0x434f07
mov ecx, dword [esp + 0x6b0]
push ecx
push 0x400
push str.SVG_Max
push 0x599148
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov esi, 0x53
mov edx, dword [esp + 0x6b0]
push edx
push 0xffffff
push str.SVG_BgColor
push 0x599148
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
mov eax, dword [esp + 0x6b0]
and esi, 0xffff
push edi
push esi
push str.S_cIV_w_d_bckgr_d_
push eax
call fcn.004d5ee1
add esp, 0x14
jmp 0x434f80
push str.SetBMSize
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434f80
test edi, edi
jbe 0x434f5d
push edi
call eax
jmp 0x434f7d
push 0xffffffffffffffff
call eax
mov cx, word [0x5990f4]
mov dl, byte [0x5990f6]
mov word [esp + 0xe8], cx
mov byte [esp + 0xea], dl
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x434fd9
mov ecx, dword [esp + 0x69c]
lea eax, [esp + 0x594]
push eax
push ecx
call fcn.00490210
lea edx, [esp + 0xec]
lea eax, [esp + 0x59c]
push edx
push eax
call esi
mov ecx, dword [esp + 0x6bc]
add esp, 0x10
lea edx, [esp + 0xe4]
mov dword [esp + 0x20], eax
push 0x104
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x434ffa
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434ffa
mov ecx, dword [esp + 0x6ac]
mov edx, dword [esp + 0x69c]
push ecx
push edx
call eax
add esp, 8
mov dword [esp + 0x20], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
jne 0x435048
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jne 0x435048
mov esi, dword [esp + 0x6a0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jmp 0x434bfb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x6ac]
push 0
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.004905d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x688
ret