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

Disassembly:
push 0xffffffffffffffff
push 0x612a98
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0xd0]
push 0x631c94
mov ecx, ebx
mov dword [esp + 0x3c], 0
call fcn.005ec540
mov ebp, dword [esp + 0xc8]
mov edi, 1
cmp dword [esp + 0xc4], edi
jle 0x41d262
mov edi, edi
mov eax, dword [ebp + edi*4]
push 0x632bac
push eax
mov ecx, ebx
call fcn.005ec620
mov ecx, eax
call fcn.005ec620
inc edi
cmp edi, dword [esp + 0xc4]
jl 0x41d240
push ebp
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005f49e0
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.005ebb00
fldz
fst dword [esi + 0xdc]
lea ecx, [esi + 0x90]
fst dword [esi + 0xe0]
push 0x631c94
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.005ec540
lea edi, [esi + 0x9c]
push ebp
mov ecx, edi
call fcn.005ed0b0
lea ecx, [esi + 0xa8]
push 0x631c94
mov dword [edi], ebp
call fcn.005ec540
fldz
xor edi, edi
fstp dword [esi + 0x10c]
cmp ebx, ebp
jle 0x41e7f9
cmp edi, dword [esp + 0x14]
jge 0x41d345
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d34f
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax]
dec eax
cmp eax, 0xa
ja case.0x41d35b.5
jmp dword [eax*4 + 0x41ead8]
cmp edi, dword [esp + 0x14]
jge 0x41d373
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d37d
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push 0x632ba8
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d39e
or dword [esi + 0xc4], 4
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41d3af
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d3b9
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41d3fa
mov ecx, 0x632ba4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d3e5
test dl, dl
je 0x41d3e1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d3e5
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d3c5
xor eax, eax
jmp 0x41d3ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41d3fa
or dword [esi + 0xc4], 4
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41d40b
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d415
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push str.Layer
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d436
or dword [esi + 0xc4], 8
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41d447
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d451
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push str.LAYER
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d472
or dword [esi + 0xc4], 8
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41d483
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d48d
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push 0x632b90
push eax
call fcn.004028a0
add esp, 8
test eax, eax
jne 0x41d4ae
or dword [esi + 0xc4], 8
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push str.Panel
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d4dc
or dword [esi + 0xc4], 0x8004
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push str.PANEL
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d50a
or dword [esi + 0xc4], 0x8004
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push str.PANEL_LAYER
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d538
or dword [esi + 0xc4], 0x8008
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push str.RULE
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.11
or dword [esi + 0xc8], 0x10
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41d578
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d582
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 4]
push str.Parts
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d5d7
cmp edi, dword [esp + 0x14]
jge 0x41d5a8
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d5b2
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x10
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41d5e8
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d5f2
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 4]
push str.MinPartHeight
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d63a
cmp edi, dword [esp + 0x14]
jge 0x41d618
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d622
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xdc]
add esp, 4
jmp case.0x41d35b.3
mov ebx, dword [esp + 0x14]
cmp edi, ebx
jge 0x41d64f
mov ebp, dword [esp + 0x1c]
mov eax, edi
shl eax, 5
add eax, ebp
jmp 0x41d661
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 4]
push str.Valid
push eax
call fcn.004028a0
add esp, 8
test eax, eax
jne 0x41d6b5
cmp edi, ebx
jge 0x41d683
mov eax, edi
shl eax, 5
add eax, ebp
jmp 0x41d68d
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x1000
jmp case.0x41d35b.3
cmp edi, ebx
jge 0x41d6c2
mov eax, edi
shl eax, 5
add eax, ebp
jmp 0x41d6cc
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 4]
push str.ImportUneleParts
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d724
cmp edi, dword [esp + 0x14]
jge 0x41d6f2
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41d6fc
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push 0x632b30
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x2000
jmp case.0x41d35b.3
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.005f47d0
mov eax, dword [eax + 4]
push str.UnelePartsOnlyHoleExist
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d786
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x1000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.ImportUnplacedParts
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d7d2
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b30
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x4000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Holes
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d8b2
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
je 0x41d82e
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632af8
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d844
or dword [esi + 0xc4], 0x20
mov dword [esi + 0x104], 1
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push str.PlateHole
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41d879
or dword [esi + 0xc4], 0x20
mov dword [esi + 0x104], 2
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push str.NoPltHole
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x20
mov dword [esi + 0x104], 3
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.MinHoleMecha
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d8ee
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xe0]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.MinHoleLead
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d92a
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xe4]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.MinHoleVia
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d966
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xe8]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Layers
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d9af
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x40
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Board
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41d9fb
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x80
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Document
push eax
call fcn.004028a0
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41da47
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.004028a0
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x100
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Drawing
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41da93
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x200
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Logfile
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
je 0x41dad1
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.LogFile
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dafe
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc4], 0x400
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.CutSubBoard
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41db47
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 1
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.PatternMerge
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dc59
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
push 1
push str.BM_MERGEMODE_ALL
call fcn.005f2190
add esp, 8
push eax
lea ecx, [esp + 0x70]
call fcn.005ec6d0
lea edx, [esp + 0x6c]
push 0x632a64
push edx
mov byte [esp + 0xc4], 2
call fcn.005ec420
add esp, 8
test eax, eax
jne 0x41dbf6
push 0x632b60
lea ecx, [esp + 0x88]
call fcn.005ec6d0
or dword [esp + 0x38], 1
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xc0], 3
call fcn.0041cea0
test eax, eax
jne 0x41dbf6
xor bl, bl
jmp 0x41dbf8
mov bl, 1
test byte [esp + 0x38], 1
mov ebp, 2
mov dword [esp + 0xbc], ebp
je 0x41dc1c
and dword [esp + 0x38], 0xfffffffe
lea ecx, [esp + 0x84]
call fcn.005ebd80
test bl, bl
je 0x41dc3d
or dword [esi + 0xc8], 8
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 1
call fcn.005ebd80
jmp case.0x41d35b.3
or dword [esi + 0xc8], ebp
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 1
call fcn.005ebd80
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.PatternLineToSurf
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dc95
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x108], eax
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.LayerMerge
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dcde
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 8
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.NegaReverse
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dd2a
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x800
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.LayerName
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41df96
or dword [esi + 0xc4], 0x800
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x631de4
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.005ed0b0
mov ecx, dword [esp + 0x48]
mov dword [ebp], 0
cmp dword [ecx - 0xc], 0
je 0x41dead
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 0x41dead
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 0x41de5b
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.00406f30
mov edx, dword [ebp]
push eax
push edx
mov ecx, ebp
mov byte [esp + 0xc4], 9
call fcn.005ed0b0
mov ecx, eax
call fcn.00401020
lea ecx, [esp + 0xa8]
mov byte [esp + 0xbc], 7
call fcn.005ebd80
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 0x41ddc1
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
je 0x41def6
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.00406f30
mov ecx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0xc4], 0xb
call fcn.005ed0b0
mov ecx, eax
call fcn.00401020
lea ecx, [esp + 0x9c]
mov byte [esp + 0xbc], 7
call fcn.005ebd80
lea ecx, [esp + 0x78]
call fcn.005ebb00
xor ebx, ebx
cmp dword [ebp], ebx
mov byte [esp + 0xbc], 0xc
jle 0x41df50
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.005ec420
add esp, 8
test eax, eax
jne 0x41df49
add dword [esp + 0x58], 0xc
inc ebx
cmp ebx, dword [ebp]
jl 0x41df12
jmp 0x41df50
or dword [esi + 0xc4], 0x20
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 7
call fcn.005ebd80
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.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push 0x632a28
push eax
call fcn.004028a0
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41dfd3
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x54]
call fcn.00401000
mov dword [esp + 0x50], 1
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push 0x632a24
push eax
call fcn.004028a0
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
je 0x41e011
call fcn.0041cec0
mov eax, dword [eax + 4]
push 0x632a20
push eax
call fcn.004028a0
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e03a
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x60]
call fcn.00401000
mov eax, 1
cmp dword [esp + 0x30], eax
je case.0x41d35b.11
mov dword [esp + 0x30], eax
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push 0x632a1c
push eax
call fcn.004028a0
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e076
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x6c]
call fcn.00401000
or dword [esi + 0xc8], 0x40
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.BoardWithHole
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e0e7
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne 0x41e0c5
or dword [esi + 0xc8], 0x20
mov dword [esi + 0x100], 1
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x100], eax
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.BoardWithHoleMinSize
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e123
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0x10c]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.LicenseCode
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e158
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x78]
call fcn.00401000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.LayerInfoImport
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e1a4
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x100
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.LayerThickMode
push eax
call fcn.004028a0
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e1e0
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0xfc], eax
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.MinPartVolume
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e21c
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xec]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.OnlyMountSide
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e268
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x200
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.MinPadSize
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e2a4
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xf0]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.WindowOffset
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e2e0
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xf4]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.MinLineWidth
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e31c
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [esi + 0xf8]
add esp, 4
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.NetElecAttr
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e368
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x2000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.NetEMAttr
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e3b4
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x4000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.XVLUserAttr
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e400
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x8000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.SpecifyBoardLayer
push eax
call fcn.005eee70
add esp, 8
test eax, eax
je 0x41e6de
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.BoardLayer
push eax
call fcn.005eee70
add esp, 8
test eax, eax
je 0x41e6de
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.SpecifyHoleLayer
push eax
call fcn.005eee70
add esp, 8
test eax, eax
je 0x41e670
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.HoleLayer
push eax
call fcn.005eee70
add esp, 8
test eax, eax
je 0x41e670
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.SpecifyZLOCALROOT
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e4db
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0xa8]
call fcn.00401000
cmp dword [esi + 0xac], 0
jbe case.0x41d35b.3
or dword [esi + 0xc8], 0x40000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Comment
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e527
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x100000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.Dimension
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e573
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x200000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.SetEMID
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e5d4
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x400000
lea ecx, [esi + 0x60]
push 0x631c94
call fcn.005ec540
mov dword [esp + 0x30], 1
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.NoGeoResistLayerOmit
push eax
call fcn.005eee70
add esp, 8
push edi
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41e620
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x800000
jmp case.0x41d35b.3
call fcn.0041cec0
mov eax, dword [eax + 4]
push str.FlexBend
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.11
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push 0x632b60
push eax
call fcn.005eee70
add esp, 8
test eax, eax
jne case.0x41d35b.3
or dword [esi + 0xc8], 0x1000000
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x94]
call fcn.005ec6d0
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.005ed0b0
mov ecx, eax
call fcn.00401020
cmp dword [ebp], 0
jle 0x41e6c5
or dword [esi + 0xc8], 0x20000
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], 1
call fcn.005ebd80
jmp case.0x41d35b.3
push edi
lea ecx, [esp + 0x18]
call fcn.0041cec0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esi + 0x90]
call fcn.00401000
cmp dword [esi + 0x94], 0
jbe case.0x41d35b.3
or dword [esi + 0xc8], 0x10000
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41e724
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41e72e
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x40]
call fcn.005ec540
push 0
push 0x6328c0
lea ecx, [esp + 0x44]
call fcn.005eeca0
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41e761
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41e76b
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x84]
push eax
call fcn.005ec540
or dword [esi + 0xc8], 0x400
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
jge 0x41e797
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41e7a1
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0xc]
push eax
call fcn.005ec540
or dword [esi + 0xc4], 1
jmp case.0x41d35b.3
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x5c], 1
jge 0x41e7cf
mov eax, edi
shl eax, 5
add eax, dword [esp + 0x1c]
jmp 0x41e7d9
push edi
lea ecx, [esp + 0x18]
call fcn.005f47d0
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.005ec540
or dword [esi + 0xc4], 2
inc edi
cmp edi, dword [esp + 0x68]
jl 0x41d334
xor ebp, ebp
lea ecx, [esp + 0x14]
call fcn.005f47b0
push eax
mov ecx, esi
call fcn.005ec540
mov eax, dword [esi]
cmp eax, ebp
je 0x41e819
cmp byte [eax], 0
jne 0x41e8fd
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0xf
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f4780
mov eax, 2
jmp 0x41eaba
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.0041cee0
mov eax, 2
jmp 0x41eaba
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.0041cee0
mov eax, 1
jmp 0x41eaba
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0xe
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f4780
mov eax, 2
jmp 0x41eaba
mov eax, dword [esi + 0xc4]
test al, 4
je 0x41e95a
cmp dword [esp + 0x50], ebp
je 0x41e917
cmp dword [esp + 0x30], ebp
jne 0x41e9b5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x10
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f4780
mov eax, 2
jmp 0x41eaba
test al, 8
je 0x41e9a7
cmp dword [esp + 0x50], ebp
jne 0x41e9b5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x11
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f4780
mov eax, 2
jmp 0x41eaba
test al, 0x10
je 0x41e9b5
cmp dword [esp + 0x30], ebp
je case.0x41d35b.11
cmp dword [esp + 0x5c], ebp
jne 0x41e9db
lea ecx, [esp + 0x14]
call fcn.005f47b0
lea edi, [esi + 0x18]
push eax
mov ecx, edi
call fcn.005ec540
push str..log
mov ecx, edi
call fcn.005ec580
cmp dword [esp + 0xc4], 1
je 0x41ea28
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x12
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f4780
mov eax, 2
jmp 0x41eaba
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
lea edi, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.005ebda0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
lea ebp, [esi + 0x24]
push ecx
mov ecx, ebp
call fcn.005ebda0
test dword [esi + 0xc4], 0x8000
mov ecx, edi
je 0x41ea69
push str..pnl
call fcn.005ec580
push str..mrl
jmp 0x41ea78
push str..pcb
call fcn.005ec580
push str..rul
mov ecx, ebp
call fcn.005ec580
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005ebd80
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0x13
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.005f4780
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 0x41d1e0