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

Disassembly:
push 0xffffffffffffffff
push 0x5d3f7e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x8c]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], ebx
call fcn.005be990
xor esi, esi
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
lea ebp, [ebx + 1]
jle 0x4187df
cmp esi, dword [esp + 0x5c]
jge 0x417aff
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417b09
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax]
dec eax
cmp eax, 0xa
ja case.0x417b15.3
jmp dword [eax*4 + 0x418a2c]
cmp esi, dword [esp + 0x5c]
jge 0x417b2d
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417b37
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
push str.COMP
push eax
call fcn.005baee0
add esp, 8
test eax, eax
je 0x417d1d
cmp esi, dword [esp + 0x5c]
jge 0x417b61
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417b6b
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
push 0x5f06e8
push eax
call fcn.00403850
add esp, 8
test eax, eax
je 0x417d1d
cmp esi, dword [esp + 0x5c]
jge 0x417b95
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417b9f
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
push str.BOARD
push eax
call fcn.005baee0
add esp, 8
test eax, eax
je 0x417d05
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push str.BDMS
push eax
call fcn.00403850
add esp, 8
test eax, eax
je 0x417d05
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push str.HEIGHT
push eax
call fcn.005baee0
add esp, 8
test eax, eax
je 0x417ced
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f06d4
push eax
call fcn.00403850
add esp, 8
test eax, eax
je 0x417ced
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push str.LAYER
push eax
call fcn.005baee0
add esp, 8
test eax, eax
je 0x417cd5
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f06c8
push eax
call fcn.00403850
add esp, 8
test eax, eax
je 0x417cd5
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push str.COMMENT
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x417c9a
cmp word [edi + 0x30], bx
jne 0x41884a
mov edx, 5
mov word [edi + 0x30], dx
jmp case.0x417b15.2
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push str.DIMENSION
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x418825
cmp word [edi + 0x30], bx
jne 0x41884a
mov eax, 6
mov word [edi + 0x30], ax
jmp case.0x417b15.2
cmp word [edi + 0x30], bx
jne 0x41884a
mov ecx, 4
mov word [edi + 0x30], cx
jmp case.0x417b15.2
cmp word [edi + 0x30], bx
jne 0x41884a
mov edx, 3
mov word [edi + 0x30], dx
jmp case.0x417b15.2
cmp word [edi + 0x30], bx
jne 0x41884a
mov eax, 2
mov word [edi + 0x30], ax
jmp case.0x417b15.2
cmp word [edi + 0x30], bx
jne 0x41884a
mov ecx, ebp
mov word [edi + 0x30], cx
jmp case.0x417b15.2
cmp esi, dword [esp + 0x5c]
jge 0x417d43
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417d4d
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 4]
push str.Turret
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x417d92
cmp esi, dword [esp + 0x5c]
jge 0x417d73
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417d7d
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [edi + 0x40]
add esp, 4
jmp case.0x417b15.2
cmp esi, dword [esp + 0x5c]
jge 0x417da3
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417dad
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 4]
push str.MinHoleSize
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x417df2
cmp esi, dword [esp + 0x5c]
jge 0x417dd3
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417ddd
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fstp dword [edi + 0x44]
add esp, 4
jmp case.0x417b15.2
cmp esi, dword [esp + 0x5c]
jge 0x417e03
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x417e0d
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 4]
push str.LayerName
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x417e3d
call fcn.004168e0
mov eax, dword [eax + 0x10]
lea ecx, [edi + 0x34]
push eax
call fcn.005b9840
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.Update
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x417e82
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x50], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CnvLine
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x417ec7
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x6c], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.Logfile
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x417f0c
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x4c], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ExportBoardFigure
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x417f78
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x417f4d
mov dword [edi + 0x54], ebp
jmp case.0x417b15.2
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0660
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x54], ebx
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CreateLayoutArea
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x417fbd
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x58], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CreateBoardOutline
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418002
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x5c], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ExportHole
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418047
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x60], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ExportBoardInfo
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x41808c
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x64], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ExportSheetInfo
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4180d1
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x68], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ExportLayerAttribute
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418116
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x70], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CompName
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418325
mov dword [edi + 0x48], ebx
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x5eeb1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ebp, [edi + 0xf0]
push 0
mov ecx, ebp
mov byte [esp + 0x84], 4
call fcn.005b9bd0
mov edx, dword [esp + 0x14]
mov dword [ebp], 0
cmp dword [edx - 0xc], 0
je 0x4182a2
lea esp, [esp]
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x94]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4182a2
push ebx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x94]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 5
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x41824a
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.00404d20
push eax
mov eax, dword [ebp]
push eax
mov ecx, ebp
mov byte [esp + 0x88], 6
call fcn.005b9bd0
mov ecx, eax
call fcn.00401040
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 4
call fcn.005b9130
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add eax, ebx
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x94]
call dword [sym.imp.mfc90.dll_Ordinal_4506]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 7
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_817]
jmp 0x4181b0
mov eax, dword [esp + 0x8c]
cmp dword [eax - 0xc], 0
je 0x4182e8
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call fcn.00404d20
mov edx, dword [ebp]
push eax
push edx
mov ecx, ebp
mov byte [esp + 0x88], 8
call fcn.005b9bd0
mov ecx, eax
call fcn.00401040
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 4
call fcn.005b9130
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebp, 1
jmp 0x4187d1
call fcn.004168e0
mov eax, dword [eax + 4]
push 0x5f05e4
push eax
call fcn.00403850
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x41835d
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
mov ecx, edi
call fcn.00401020
mov dword [esp + 0x20], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push 0x5f05e0
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418398
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [edi + 0x24]
call fcn.00401020
mov dword [edi + 0x80], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.LicenseCode
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4183cd
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [edi + 0x74]
call fcn.00401020
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CreateCutout
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x41843f
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x418411
mov dword [edi + 0x8c], ebp
jmp case.0x417b15.2
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0660
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x8c], ebx
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ObSqHole
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4184b1
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne 0x418483
mov dword [edi + 0x84], ebp
jmp case.0x417b15.2
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0660
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x84], ebx
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.VariantHole
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4184f9
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0x88], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CreateFlexibleLayer
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418541
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0xa8], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.SetCompLock
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418589
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0xac], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.VariantLay
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4185c1
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [edi + 0x9c]
call fcn.00401020
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.VariantLayer
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4185f9
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [edi + 0x9c]
call fcn.00401020
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.ReflectLayer
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418631
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
lea ecx, [edi + 0x90]
call fcn.00401020
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.CreateColorHeight
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418679
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0xb0], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.SetOwner
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x4186c1
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0xb4], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.SetEMID
push eax
call fcn.005baee0
add esp, 8
push esi
lea ecx, [esp + 0x60]
test eax, eax
jne 0x418709
call fcn.004168e0
mov eax, dword [eax + 0x10]
push 0x5f0688
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.2
mov dword [edi + 0xb8], ebp
jmp case.0x417b15.2
call fcn.004168e0
mov eax, dword [eax + 4]
push str.SetWorkLayer
push eax
call fcn.005baee0
add esp, 8
test eax, eax
jne case.0x417b15.11
push esi
lea ecx, [esp + 0x60]
call fcn.004168e0
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [edi + 0xc0], eax
mov dword [edi + 0xbc], ebp
jmp case.0x417b15.2
cmp esi, dword [esp + 0x5c]
jge 0x418760
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x41876a
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
lea ecx, [edi + 0xcc]
push eax
call fcn.005b9840
push 2
mov ecx, edi
call fcn.00416e30
mov ebx, eax
test bl, 1
jne 0x4189fe
mov ebp, 1
jmp 0x4187d1
cmp esi, dword [esp + 0x5c]
jge 0x4187a5
mov eax, esi
shl eax, 5
add eax, dword [esp + 0x64]
jmp 0x4187af
push esi
lea ecx, [esp + 0x60]
call fcn.005be780
mov eax, dword [eax + 0x10]
lea ecx, [edi + 0xd8]
push eax
call fcn.005b9840
push ebp
mov ecx, edi
call fcn.00416e30
mov ebx, eax
test bl, 1
jne 0x4189fe
xor ebx, ebx
add esi, ebp
cmp esi, dword [esp + 0x5c]
jl 0x417af4
movzx eax, word [edi + 0x30]
cmp ax, bx
jne 0x4188c8
mov ecx, edi
call fcn.00416ee0
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xa
call fcn.005b9130
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.005be730
mov eax, 0x201
jmp 0x418a14
mov ecx, edi
call fcn.00416ee0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00416900
mov eax, 0x201
jmp 0x418a14
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00416900
mov eax, 0x101
jmp 0x418a14
mov ecx, edi
call fcn.00416ee0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00416900
mov eax, 4
jmp 0x418a14
mov ecx, edi
call fcn.00416e50
jmp 0x41886f
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 9
call fcn.005b9130
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.005be730
mov eax, 0x401
jmp 0x418a14
cmp ax, 4
jne 0x418918
lea eax, [edi + 0x34]
push ebx
push eax
call fcn.005b9af0
add esp, 8
test eax, eax
je 0x418918
lea ecx, [edi + 0x90]
push ebx
push ecx
call fcn.005b9af0
add esp, 8
test eax, eax
je 0x418918
mov ecx, edi
call fcn.00416ee0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00416900
mov eax, 0x401
jmp 0x418a14
lea ecx, [esp + 0x5c]
call fcn.005be760
push eax
lea ecx, [esp + 0x30]
call fcn.005b99d0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x80], 0xb
cmp eax, ebx
je 0x418940
cmp byte [eax], 0
jne 0x41895a
mov ecx, edi
call fcn.00416ee0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call fcn.005b9130
jmp 0x4188fa
cmp dword [esp + 0x20], ebx
je 0x418940
lea ecx, [esp + 0x5c]
call fcn.005be760
push eax
mov ecx, edi
call fcn.00416d30
mov ebx, eax
test bl, 1
je 0x418981
mov ecx, edi
call fcn.00416ee0
jmp 0x4189ed
test byte [edi + 0xc4], 2
je 0x418947
cmp dword [edi + 0x4c], ebp
jne 0x4189ed
add edi, 0xd8
push 0x5eeb66
push edi
call fcn.005b9af0
add esp, 8
test eax, eax
je 0x4189ed
lea ecx, [esp + 0x5c]
call fcn.005be760
push eax
lea ecx, [esp + 0x3c]
call fcn.005b99d0
push str..log
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 0xc
call fcn.005b9880
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.005ba9c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 0xb
call fcn.005b9130
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call fcn.005b9130
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00416900
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8