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

Disassembly:
push 0xffffffffffffffff
push 0x6149f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0xd0]
push 0x633c9c
mov ecx, ebx
mov dword [esp + 0x3c], 0
call fcn.005edbf0
mov ebp, dword [esp + 0xc8]
mov edi, 1
cmp dword [esp + 0xc4], edi
jle 0x41d652
mov edi, edi
mov eax, dword [ebp + edi*4]
push 0x634bb4
push eax
mov ecx, ebx
call fcn.005edcd0
mov ecx, eax
call fcn.005edcd0
inc edi
cmp edi, dword [esp + 0xc4]
jl 0x41d630
push ebp
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005f6780
mov ebx, dword [esp + 0x14]
xor ebp, ebp
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x5c], ebp
mov dword [esi + 0xcc], ebp
call fcn.005ed1b0
fldz
fst dword [esi + 0xdc]
lea ecx, [esi + 0x90]
fst dword [esi + 0xe0]
push 0x633c9c
fst dword [esi + 0xe4]
mov byte [esp + 0xc0], 1
fst dword [esi + 0xe8]
mov dword [esi + 0xfc], ebp
fst dword [esi + 0xec]
mov dword [esi + 0x100], ebp
fst dword [esi + 0xf0]
mov dword [esi + 0x104], ebp
fst dword [esi + 0xf4]
mov dword [esi + 0x108], ebp
fstp dword [esi + 0xf8]
call fcn.005edbf0
lea edi, [esi + 0x9c]
push ebp
mov ecx, edi
call fcn.005ee750
lea ecx, [esi + 0xa8]
push 0x633c9c
mov dword [edi], ebp
call fcn.005edbf0
fldz
xor edi, edi
fstp dword [esi + 0x10c]
cmp ebx, ebp
jle 0x41ebe9
cmp edi, dword [esp + 0x14]
jge 0x41d735
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d73f
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax]
dec eax
cmp eax, 0xa
ja case.0x41d74b.5
jmp dword [eax*4 + 0x41eec8]
cmp edi, dword [esp + 0x14]
jge 0x41d763
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d76d
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push 0x634bb0
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d78e
or dword [esi + 0xc4], 4
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41d79f
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d7a9
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41d7ea
mov ecx, 0x634bac
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d7d5
test dl, dl
je 0x41d7d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d7d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d7b5
xor eax, eax
jmp 0x41d7da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41d7ea
or dword [esi + 0xc4], 4
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41d7fb
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d805
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push str.Layer
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d826
or dword [esi + 0xc4], 8
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41d837
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d841
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push str.LAYER
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d862
or dword [esi + 0xc4], 8
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41d873
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d87d
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push 0x634b98
push eax
call fcn.00402870
add esp, 8
test eax, eax
jne 0x41d89e
or dword [esi + 0xc4], 8
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push str.Panel
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d8cc
or dword [esi + 0xc4], 0x8004
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push str.PANEL
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d8fa
or dword [esi + 0xc4], 0x8004
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push str.PANEL_LAYER
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d928
or dword [esi + 0xc4], 0x8008
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push str.RULE
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.11
or dword [esi + 0xc8], 0x10
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41d968
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d972
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 4]
push str.Parts
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41d9c7
cmp edi, dword [esp + 0x14]
jge 0x41d998
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d9a2
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x10
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41d9d8
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d9e2
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 4]
push str.MinPartHeight
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41da2a
cmp edi, dword [esp + 0x14]
jge 0x41da08
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41da12
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xdc]
add esp, 4
jmp case.0x41d74b.3
mov ebx, dword [esp + 0x14]
cmp edi, ebx
jge 0x41da3f
mov ebp, dword [esp + 0x1c]
mov eax, edi
shl eax, 5
add eax, ebp
jmp 0x41da51
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 4]
push str.Valid
push eax
call fcn.00402870
add esp, 8
test eax, eax
jne 0x41daa5
cmp edi, ebx
jge 0x41da73
mov eax, edi
shl eax, 5
add eax, ebp
jmp 0x41da7d
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x1000
jmp case.0x41d74b.3
cmp edi, ebx
jge 0x41dab2
mov eax, edi
shl eax, 5
add eax, ebp
jmp 0x41dabc
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 4]
push str.ImportUneleParts
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41db14
cmp edi, dword [esp + 0x14]
jge 0x41dae2
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41daec
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push 0x634b38
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x2000
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41db25
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41db2f
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 4]
push str.UnelePartsOnlyHoleExist
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41db76
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x1000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.ImportUnplacedParts
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dbc2
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b38
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x4000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Holes
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dca2
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
je 0x41dc1e
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b00
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41dc34
or dword [esi + 0xc4], 0x20
mov dword [esi + 0x104], 1
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push str.PlateHole
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41dc69
or dword [esi + 0xc4], 0x20
mov dword [esi + 0x104], 2
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push str.NoPltHole
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x20
mov dword [esi + 0x104], 3
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.MinHoleMecha
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dcde
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xe0]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.MinHoleLead
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dd1a
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xe4]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.MinHoleVia
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dd56
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xe8]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Layers
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dd9f
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x40
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Board
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41ddeb
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x80
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Document
push eax
call fcn.00402870
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41de37
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.00402870
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x100
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Drawing
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41de83
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x200
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Logfile
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
je 0x41dec1
call fcn.0041d280
mov eax, dword [eax + 4]
push str.LogFile
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41deee
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc4], 0x400
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.CutSubBoard
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41df37
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 1
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.PatternMerge
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e049
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
push 1
push str.BM_MERGEMODE_ALL
call fcn.005f3f00
add esp, 8
push eax
lea ecx, [esp + 0x70]
call fcn.005edd80
lea edx, [esp + 0x6c]
push 0x634a6c
push edx
mov byte [esp + 0xc4], 2
call fcn.005edad0
add esp, 8
test eax, eax
jne 0x41dfe6
push 0x634b68
lea ecx, [esp + 0x88]
call fcn.005edd80
or dword [esp + 0x38], 1
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xc0], 3
call fcn.0041d260
test eax, eax
jne 0x41dfe6
xor bl, bl
jmp 0x41dfe8
mov bl, 1
test byte [esp + 0x38], 1
mov ebp, 2
mov dword [esp + 0xbc], ebp
je 0x41e00c
and dword [esp + 0x38], 0xfffffffe
lea ecx, [esp + 0x84]
call fcn.005ed430
test bl, bl
je 0x41e02d
or dword [esi + 0xc8], 8
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 1
call fcn.005ed430
jmp case.0x41d74b.3
or dword [esi + 0xc8], ebp
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 1
call fcn.005ed430
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.PatternLineToSurf
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e085
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x108], eax
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.LayerMerge
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e0ce
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 8
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.NegaReverse
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e11a
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x800
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.LayerName
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e386
or dword [esi + 0xc4], 0x800
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x633dec
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 4
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ebp, [esi + 0xb8]
push 0
mov ecx, ebp
mov byte [esp + 0xc0], 7
call fcn.005ee750
mov ecx, dword [esp + 0x48]
mov dword [ebp], 0
cmp dword [ecx - 0xc], 0
je 0x41e29d
mov edx, dword [esp + 0x48]
push 0
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41e29d
push ebx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xc0], 8
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x54]
cmp dword [eax - 0xc], 0
je 0x41e24b
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.0041d5a0
mov edx, dword [ebp]
push eax
push edx
mov ecx, ebp
mov byte [esp + 0xc4], 9
call fcn.005ee750
mov ecx, eax
call fcn.00401020
lea ecx, [esp + 0xa8]
mov byte [esp + 0xbc], 7
call fcn.005ed430
mov eax, dword [esp + 0x48]
mov eax, dword [eax - 0xc]
add eax, ebx
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_4506]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xc0], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x64]
mov byte [esp + 0xbc], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_817]
jmp 0x41e1b1
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
je 0x41e2e6
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.0041d5a0
mov ecx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0xc4], 0xb
call fcn.005ee750
mov ecx, eax
call fcn.00401020
lea ecx, [esp + 0x9c]
mov byte [esp + 0xbc], 7
call fcn.005ed430
lea ecx, [esp + 0x78]
call fcn.005ed1b0
xor ebx, ebx
cmp dword [ebp], ebx
mov byte [esp + 0xbc], 0xc
jle 0x41e340
mov dword [esp + 0x58], ebx
mov edx, dword [esi + 0xc0]
add edx, dword [esp + 0x58]
lea ecx, [esp + 0x78]
push edx
call fcn.00401020
lea eax, [esp + 0x78]
push str.Hole
push eax
call fcn.005edad0
add esp, 8
test eax, eax
jne 0x41e339
add dword [esp + 0x58], 0xc
inc ebx
cmp ebx, dword [ebp]
jl 0x41e302
jmp 0x41e340
or dword [esi + 0xc4], 0x20
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 7
call fcn.005ed430
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 1
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push 0x634a30
push eax
call fcn.00402870
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e3c3
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x54]
call fcn.00401000
mov dword [esp + 0x50], 1
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push 0x634a2c
push eax
call fcn.00402870
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
je 0x41e401
call fcn.0041d280
mov eax, dword [eax + 4]
push 0x634a28
push eax
call fcn.00402870
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e42a
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x60]
call fcn.00401000
mov eax, 1
cmp dword [esp + 0x30], eax
je case.0x41d74b.11
mov dword [esp + 0x30], eax
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push 0x634a24
push eax
call fcn.00402870
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e466
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x6c]
call fcn.00401000
or dword [esi + 0xc8], 0x40
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.BoardWithHole
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e4d7
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne 0x41e4b5
or dword [esi + 0xc8], 0x20
mov dword [esi + 0x100], 1
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x100], eax
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.BoardWithHoleMinSize
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e513
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0x10c]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.LicenseCode
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e548
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x78]
call fcn.00401000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.LayerInfoImport
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e594
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x100
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.LayerThickMode
push eax
call fcn.00402870
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e5d0
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0xfc], eax
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.MinPartVolume
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e60c
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xec]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.OnlyMountSide
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e658
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x200
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.MinPadSize
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e694
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xf0]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.WindowOffset
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e6d0
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xf4]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.MinLineWidth
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e70c
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xf8]
add esp, 4
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.NetElecAttr
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e758
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x2000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.NetEMAttr
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e7a4
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x4000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.XVLUserAttr
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e7f0
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x8000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.SpecifyBoardLayer
push eax
call fcn.005f0970
add esp, 8
test eax, eax
je 0x41eace
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 4]
push str.BoardLayer
push eax
call fcn.005f0970
add esp, 8
test eax, eax
je 0x41eace
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 4]
push str.SpecifyHoleLayer
push eax
call fcn.005f0970
add esp, 8
test eax, eax
je 0x41ea60
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 4]
push str.HoleLayer
push eax
call fcn.005f0970
add esp, 8
test eax, eax
je 0x41ea60
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 4]
push str.SpecifyZLOCALROOT
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e8cb
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0xa8]
call fcn.00401000
cmp dword [esi + 0xac], 0
jbe case.0x41d74b.3
or dword [esi + 0xc8], 0x40000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Comment
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e917
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x100000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.Dimension
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e963
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x200000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.SetEMID
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e9c4
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x400000
lea ecx, [esi + 0x60]
push 0x633c9c
call fcn.005edbf0
mov dword [esp + 0x30], 1
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.NoGeoResistLayerOmit
push eax
call fcn.005f0970
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41ea10
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x800000
jmp case.0x41d74b.3
call fcn.0041d280
mov eax, dword [eax + 4]
push str.FlexBend
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.11
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push 0x634b68
push eax
call fcn.005f0970
add esp, 8
test eax, eax
jne case.0x41d74b.3
or dword [esi + 0xc8], 0x1000000
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x94]
call fcn.005edd80
mov edx, dword [esi + 0x9c]
lea ecx, [esp + 0x90]
lea ebp, [esi + 0x9c]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0xc4], 0xd
call fcn.005ee750
mov ecx, eax
call fcn.00401020
cmp dword [ebp], 0
jle 0x41eab5
or dword [esi + 0xc8], 0x20000
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], 1
call fcn.005ed430
jmp case.0x41d74b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041d280
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x90]
call fcn.00401000
cmp dword [esi + 0x94], 0
jbe case.0x41d74b.3
or dword [esi + 0xc8], 0x10000
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41eb14
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41eb1e
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x40]
call fcn.005edbf0
push 0
push 0x6348c8
lea ecx, [esp + 0x44]
call fcn.005f0760
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41eb51
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41eb5b
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x84]
push eax
call fcn.005edbf0
or dword [esi + 0xc8], 0x400
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
jge 0x41eb87
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41eb91
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0xc]
push eax
call fcn.005edbf0
or dword [esi + 0xc4], 1
jmp case.0x41d74b.3
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x5c], 1
jge 0x41ebbf
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41ebc9
push edi
lea ecx, [esp + 0x18]
call fcn.005f6570
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.005edbf0
or dword [esi + 0xc4], 2
inc edi
cmp edi, dword [esp + 0x68]
jl 0x41d724
xor ebp, ebp
lea ecx, [esp + 0x14]
call fcn.005f6550
push eax
mov ecx, esi
call fcn.005edbf0
mov eax, dword [esi]
cmp eax, ebp
je 0x41ec09
cmp byte [eax], 0
jne 0x41eced
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0xf
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f6520
mov eax, 2
jmp 0x41eeaa
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.0041d2a0
mov eax, 2
jmp 0x41eeaa
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.0041d2a0
mov eax, 1
jmp 0x41eeaa
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0xe
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f6520
mov eax, 2
jmp 0x41eeaa
mov eax, dword [esi + 0xc4]
test al, 4
je 0x41ed4a
cmp dword [esp + 0x50], ebp
je 0x41ed07
cmp dword [esp + 0x30], ebp
jne 0x41eda5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x10
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f6520
mov eax, 2
jmp 0x41eeaa
test al, 8
je 0x41ed97
cmp dword [esp + 0x50], ebp
jne 0x41eda5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x11
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f6520
mov eax, 2
jmp 0x41eeaa
test al, 0x10
je 0x41eda5
cmp dword [esp + 0x30], ebp
je case.0x41d74b.11
cmp dword [esp + 0x5c], ebp
jne 0x41edcb
lea ecx, [esp + 0x14]
call fcn.005f6550
lea edi, [esi + 0x18]
push eax
mov ecx, edi
call fcn.005edbf0
push str..log
mov ecx, edi
call fcn.005edc30
cmp dword [esp + 0xc4], 1
je 0x41ee18
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x12
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f6520
mov eax, 2
jmp 0x41eeaa
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
lea edi, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.005ed450
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
lea ebp, [esi + 0x24]
push ecx
mov ecx, ebp
call fcn.005ed450
test dword [esi + 0xc4], 0x8000
mov ecx, edi
je 0x41ee59
push str..pnl
call fcn.005edc30
push str..mrl
jmp 0x41ee68
push str..pcb
call fcn.005edc30
push str..rul
mov ecx, ebp
call fcn.005edc30
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ed430
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x13
call fcn.005ed430
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f6520
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov dword [esp + 4], eax
jmp 0x41d5d0