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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e3ac1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.0041b410
push 0x20
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
call fcn.0041b410
mov edi, dword [ebp + 8]
mov byte [esp + 0x98], 1
mov ecx, edi
mov dword [esp + 0x10], ebx
call fcn.00549f70
mov ecx, dword [ebp + 0xc]
mov esi, eax
call fcn.00549f70
cmp eax, esi
mov esi, dword [ebp + 0x10]
je 0x558c30
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.layer_id
lea ecx, [esp + 0x1c]
mov byte [eax], bl
call fcn.0041b5c0
mov ecx, dword [ebp + 0xc]
call fcn.00549f70
push eax
lea ecx, [esp + 0x28]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x558c1e
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 2
je 0x558c11
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558c13
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [ebp + 0xc]
call fcn.00549fd0
test eax, eax
mov ecx, edi
je 0x558cc3
call fcn.00549fd0
test eax, eax
jne 0x558d47
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.process
mov byte [ecx], al
lea ecx, [esp + 0x1c]
call fcn.0041b5c0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
push str.true
lea ecx, [esp + 0x28]
mov byte [edx], 0
call fcn.0041b5c0
cmp dword [esi + 0x20], ebx
jne 0x558cb7
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 3
je 0x558caa
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558cac
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
jmp 0x558d3f
call fcn.00549fd0
test eax, eax
je 0x558d47
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.process
lea ecx, [esp + 0x1c]
mov byte [edx], 0
call fcn.0041b5c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
push str.false
lea ecx, [esp + 0x28]
mov byte [eax], 0
call fcn.0041b5c0
cmp dword [esi + 0x20], ebx
jne 0x558d35
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 4
je 0x558d28
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558d2a
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.work_method
lea ecx, [esp + 0x1c]
mov byte [eax], 0
call fcn.0041b5c0
mov ecx, dword [ebp + 0xc]
call fcn.00571b10
push eax
lea ecx, [esp + 0x28]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x558db4
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 5
je 0x558da7
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558da9
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0041ed60
lea ecx, [esp + 0x3c]
mov edi, 1
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x408f4000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x408f4000
mov dword [esp + 0x54], 0xf4240
mov dword [esp + 0x58], edi
call fcn.005653b0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.line_type
lea ecx, [esp + 0x1c]
mov byte [edx], 0
call fcn.0041b5c0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push eax
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x558e75
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 6
je 0x558e68
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558e6a
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.blank_length
mov byte [ecx], 0
lea ecx, [esp + 0x1c]
call fcn.0041b5c0
fld qword [esp + 0x40]
call fcn.00530020
push eax
lea edx, [esp + 0x28]
push 0x66154c
push edx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x558ef5
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 7
je 0x558ee8
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558eea
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.segment_length
lea ecx, [esp + 0x1c]
mov byte [edx], 0
call fcn.0041b5c0
fld qword [esp + 0x48]
call fcn.00530020
push eax
lea eax, [esp + 0x28]
push 0x66154c
push eax
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x558f75
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 8
je 0x558f68
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558f6a
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.0041ed60
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.drill_time
lea ecx, [esp + 0x1c]
mov byte [eax], 0
call fcn.0041b5c0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x24]
push ecx
push 0x66154c
push edx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x558ff0
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 9
je 0x558fe3
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x558fe5
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov dword [esp + 0x78], edi
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x58]
mov ecx, edi
push edx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
call fcn.00565510
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.overlap_length
lea ecx, [esp + 0x1c]
mov byte [eax], 0
call fcn.0041b5c0
fld qword [esp + 0x58]
call fcn.00530020
push eax
lea ecx, [esp + 0x28]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x5590ee
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 0xa
je 0x5590e1
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x5590e3
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.head_lead_length
mov byte [ecx], 0
lea ecx, [esp + 0x1c]
call fcn.0041b5c0
fld qword [esp + 0x60]
call fcn.00530020
push eax
lea edx, [esp + 0x28]
push 0x66154c
push edx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x55916e
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 0xb
je 0x559161
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x559163
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.tail_lead_length
lea ecx, [esp + 0x1c]
mov byte [edx], 0
call fcn.0041b5c0
fld qword [esp + 0x68]
call fcn.00530020
push eax
lea eax, [esp + 0x28]
push 0x66154c
push eax
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x5591ee
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 0xc
je 0x5591e1
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x5591e3
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.0041ed60
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.head_lead
lea ecx, [esp + 0x1c]
mov byte [eax], 0
call fcn.0041b5c0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x559233
mov ecx, dword [esp + 0x24]
push str.true
mov byte [ecx], 0
jmp 0x55923f
mov edx, dword [esp + 0x24]
push str.false
mov byte [edx], 0
lea ecx, [esp + 0x28]
call fcn.0041b5c0
cmp dword [esi + 0x20], ebx
jne 0x55927f
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 0xd
je 0x559272
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x559274
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.tail_lead
lea ecx, [esp + 0x1c]
mov byte [edx], 0
call fcn.0041b5c0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x5592c4
mov eax, dword [esp + 0x24]
push str.true
mov byte [eax], 0
jmp 0x5592d0
mov ecx, dword [esp + 0x24]
push str.false
mov byte [ecx], 0
lea ecx, [esp + 0x28]
call fcn.0041b5c0
cmp dword [esi + 0x20], ebx
jne 0x559310
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x98], 0xe
je 0x559303
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x559305
xor eax, eax
mov byte [esp + 0x98], 1
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
push str.auto_angle
mov byte [ecx], 0
lea ecx, [esp + 0x1c]
call fcn.0041b5c0
cmp dword [esp + 0x78], ebx
je 0x55935c
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
push str.true
lea ecx, [esp + 0x28]
mov byte [edx], 0
call fcn.0041b5c0
jmp 0x55936a
push str.false
lea ecx, [esp + 0x28]
call fcn.0041a280
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push str.lead_method
lea ecx, [esp + 0x1c]
call fcn.0041a280
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x24]
push edx
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.head_lead_angle
lea ecx, [esp + 0x1c]
call fcn.0041a280
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push eax
push ecx
lea edx, [esp + 0x2c]
push str._.6f
push edx
call fcn.00427c90
add esp, 0x10
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0041d160
push str.tail_lead_angle
lea ecx, [esp + 0x1c]
call fcn.0041a280
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x2c]
push str._.6f
push ecx
call fcn.00427c90
add esp, 0x10
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
mov ecx, esi
push edx
push eax
call fcn.0041d160
push str.axis
lea ecx, [esp + 0x1c]
call fcn.0041a280
push str.x_y_p
lea ecx, [esp + 0x28]
call fcn.0041a280
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.points
lea ecx, [esp + 0x1c]
call fcn.0041a280
push 0x880da0
lea ecx, [esp + 0x28]
call fcn.0041a280
mov ecx, edi
call fcn.005655a0
mov edi, eax
push 0x880da0
lea ecx, [esp + 0x34]
call fcn.00419f00
cmp edi, ebx
mov byte [esp + 0x98], 0xf
je 0x55951b
mov ebx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x18]
cmp eax, ecx
jne 0x5594d1
fld qword [ebx + 8]
call fcn.00530020
fld qword [ebx]
push eax
call fcn.00530020
push eax
lea eax, [esp + 0x38]
push str._d__d_
push eax
call fcn.00427c90
add esp, 0x10
jmp 0x5594fe
fld qword [ebx + 8]
push eax
call fcn.00530020
fld qword [ebx]
push eax
call fcn.00530020
push eax
lea ecx, [esp + 0x3c]
push str._d__d__d_
push ecx
call fcn.00427c90
mov edx, dword [edi]
add esp, 0x14
mov eax, dword [edx + 0x18]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
call fcn.0041b4c0
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00565610
mov edi, eax
test edi, edi
jne 0x55949f
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.0041d160
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x98], 1
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x28]
mov byte [esp + 0x9c], 0
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa0], 0xffffffff
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x9c]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc