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

Disassembly:
push 0xffffffffffffffff
push 0x5e3840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
push 0x40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call fcn.0041b410
push 0x20
lea ecx, [esp + 0x38]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
call fcn.0041b410
push 0x40
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call fcn.0041b410
push 0x400
lea ecx, [esp + 0x20]
mov byte [esp + 0xf4], 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call fcn.0041b410
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
push str.smartcarve
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf4], 3
mov byte [eax], bl
call fcn.0041b5c0
mov edi, dword [esp + 0xf8]
mov ecx, dword [edi + 0x24]
cmp ecx, ebx
je 0x55733e
call fcn.0049c460
mov esi, eax
cmp esi, ebx
je 0x55733e
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0041cee0
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x44], eax
jne 0x55733a
mov ecx, dword [edi + 0x24]
push esi
call fcn.0056eda0
mov esi, eax
cmp esi, ebx
jne 0x557312
jmp 0x55733e
cmp esi, ebx
jne 0x557388
mov edx, dword [esp + 0x1c]
mov byte [esp + 0xf0], 2
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x14]
mov byte [esp + 0xf4], 1
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0xf8], bl
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x34]
mov dword [esp + 0xfc], 0xffffffff
push edx
jmp 0x557a19
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
push str.layer_list
lea ecx, [esp + 0x2c]
mov byte [eax], bl
call fcn.0041b5c0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
push 0x880da0
mov byte [ecx], bl
lea ecx, [esp + 0x38]
call fcn.0041b5c0
cmp dword [esi + 0x24], ebx
jne 0x5573ed
push 0x14
call fcn.005b449a
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0xf0], 4
je 0x5573e0
mov ecx, eax
call fcn.004e85f0
jmp 0x5573e2
xor eax, eax
mov byte [esp + 0xf0], 3
mov dword [esi + 0x24], eax
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x64]
call fcn.0041df70
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x58]
inc eax
push ecx
mov ecx, dword [esi + 0x24]
mov byte [esp + 0xf4], 5
mov dword [esp + 0x78], eax
call fcn.0041e2e0
mov esi, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], esi
mov byte [esp + 0xf0], 3
call fcn.0041b790
mov edi, dword [ebp + 8]
lea eax, [ebp + 4]
cmp edi, ebx
mov dword [esp + 0x44], eax
je 0x5579d4
add edi, 8
cmp edi, ebx
je 0x5579d4
jmp 0x557458
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
push str.layer
lea ecx, [esp + 0x2c]
mov byte [edx], bl
call fcn.0041b5c0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
push 0x880da0
lea ecx, [esp + 0x38]
mov byte [eax], bl
call fcn.0041b5c0
cmp dword [esi + 0x24], ebx
jne 0x5574bd
push 0x14
call fcn.005b449a
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0xf0], 6
je 0x5574b0
mov ecx, eax
call fcn.004e85f0
jmp 0x5574b2
xor eax, eax
mov byte [esp + 0xf0], 3
mov dword [esi + 0x24], eax
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.0041df70
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
inc eax
mov byte [esp + 0xf0], 7
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x80]
push eax
call fcn.0041e2e0
lea ecx, [esp + 0x80]
mov esi, eax
mov byte [esp + 0xf0], 3
call fcn.0041b790
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push str.name
mov byte [ecx], bl
lea ecx, [esp + 0x14]
call fcn.0041b5c0
push 0x40
lea ecx, [esp + 0x4c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
call fcn.00401510
mov edx, dword [esp + 0x48]
mov ecx, dword [edi]
push edx
mov byte [esp + 0xf4], 8
call fcn.0054a800
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0xa8]
xor ebp, ebp
lea eax, [esp + 0xa8]
test edx, edx
je 0x5575e6
mov edx, ecx
cmp word [edx], bx
je 0x5575e2
cmp ebp, 0x40
jae 0x5575e2
mov dx, word [ecx]
test edx, 0xff80
jne 0x557588
mov byte [eax], dl
inc eax
add ecx, 2
inc ebp
jmp 0x5575dd
test dh, 0xf8
jne 0x5575ad
shr edx, 6
and dl, 0x1f
add ecx, 2
sub dl, 0x40
mov byte [eax], dl
mov dl, byte [ecx - 2]
and dl, 0x3f
inc eax
add dl, 0x80
mov byte [eax], dl
inc eax
add ebp, 2
jmp 0x5575db
shr edx, 0xc
and dl, 0xf
add ecx, 2
sub dl, 0x20
mov byte [eax], dl
mov dx, word [ecx - 2]
shr edx, 6
and dl, 0x3f
inc eax
add dl, 0x80
mov byte [eax], dl
mov dl, byte [ecx - 2]
and dl, 0x3f
inc eax
add dl, 0x80
mov byte [eax], dl
inc eax
add ebp, 3
xor ebx, ebx
cmp word [ecx], bx
jne 0x55756f
mov byte [eax], bl
jmp 0x5575fa
mov eax, dword [esp + 0x48]
cmp word [eax], bx
je 0x5575fa
mov ax, word [ecx]
add ecx, 2
cmp word [ecx], bx
jne 0x5575ef
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
lea edx, [esp + 0xa8]
mov byte [ecx], bl
push edx
lea ecx, [esp + 0x20]
call fcn.0041b5c0
cmp dword [esi + 0x20], ebx
jne 0x55764c
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0xf0], 9
je 0x55763f
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x557641
xor eax, eax
mov byte [esp + 0xf0], 8
mov dword [esi + 0x20], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push 0x637ca8
lea ecx, [esp + 0x14]
mov byte [edx], bl
call fcn.0041b5c0
mov ecx, dword [edi]
call fcn.0054a7d0
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x5576c9
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0xf0], 0xa
je 0x5576bc
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x5576be
xor eax, eax
mov byte [esp + 0xf0], 8
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.0041ed60
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push str.prior
lea ecx, [esp + 0x14]
mov byte [eax], bl
call fcn.0041b5c0
mov ecx, dword [edi]
call fcn.0054a850
push eax
lea ecx, [esp + 0x20]
push 0x66154c
push ecx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x557746
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0xf0], 0xb
je 0x557739
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x55773b
xor eax, eax
mov byte [esp + 0xf0], 8
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0041ed60
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push str.process
mov byte [ecx], bl
lea ecx, [esp + 0x14]
call fcn.0041b5c0
mov ecx, dword [edi]
call fcn.0054a920
test eax, eax
mov eax, str.true
jne 0x557785
mov eax, str.false
push eax
lea ecx, [esp + 0x20]
call fcn.0041a280
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0041d160
push str.visible
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a940
test eax, eax
mov eax, str.true
jne 0x5577c3
mov eax, str.false
push eax
lea ecx, [esp + 0x20]
call fcn.0041a280
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.color
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a830
push eax
lea eax, [esp + 0x20]
push str.0x_08X
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.frequency
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a870
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.speed
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.00426a20
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push 0x87e6f0
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a8a0
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.begin_power
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a8c0
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.end_power
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a8e0
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.process_media
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a900
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
push str.laser_way
lea ecx, [esp + 0x14]
call fcn.0041a280
mov ecx, dword [edi]
call fcn.0054a960
and eax, 0xff
push eax
lea eax, [esp + 0x20]
push 0x66154c
push eax
call fcn.00427c90
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d160
mov ecx, dword [esp + 0x44]
push edi
call fcn.0056eda0
mov edi, eax
mov eax, dword [esp + 0x48]
push eax
mov byte [esp + 0xf4], 3
call fcn.005b44c3
add esp, 4
cmp edi, ebx
jne 0x557454
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xf0], 2
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x14]
mov byte [esp + 0xf4], 1
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xf8], bl
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xfc], 0xffffffff
push ecx
call fcn.005b44c3
mov ecx, dword [esp + 0xf8]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 4