Function at 0x40b180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d383
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4c9230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0x128]
cmp dword [ecx + 0x2d3ff22], 0
jne 0x40b272
mov byte [ebp - 0x18], 0x1b
mov byte [ebp - 0x17], 0x57
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0xd
push 0
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x696e
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + eax + 0x2d32baf]
call fcn.0041b850
mov byte [ebp - 0x18], 0x1b
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0xd
push 0
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x696e
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + eax + 0x2d32baf]
call fcn.0041b850
mov byte [ebp - 0x18], 0x1b
mov byte [ebp - 0x17], 0x5a
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0xd
push 0
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x696e
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + eax + 0x2d32baf]
call fcn.0041b850
jmp 0x40b505
lea ecx, [ebp - 0x1c]
call fcn.00404e00
mov dword [ebp - 4], 0
push str.WAFER_BARCODE
mov ecx, dword [ebp - 0x128]
add ecx, 0x2d4000b
call fcn.0041a000
push 0x4a4ae2
push str.BarcodeSetupCommand
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0x128]
add ecx, 0x2d4000b
call fcn.0041a050
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401da0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.00401d60
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jne 0x40b316
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401d60
jmp 0x40b505
lea ecx, [ebp - 0x30]
call fcn.0042498a
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0x4a4c04
call fcn.004019c0
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0041e740
add esp, 0xc
mov dword [ebp - 0x34], 0
jmp 0x40b35d
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x100]
jge 0x40b4ea
mov byte [ebp - 0xbc], 0
push 0x7f
push 0
lea eax, [ebp - 0xbb]
push eax
call fcn.00469c10
add esp, 0xc
push 0x80
push 0
lea ecx, [ebp - 0xbc]
push ecx
call fcn.00469c10
add esp, 0xc
cmp dword [ebp - 0x34], 0
jl 0x40b3b3
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x28]
jl 0x40b3b8
call fcn.0042106b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
push edx
call fcn.004021a0
add esp, 4
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xc0], 0
jmp 0x40b41f
mov ecx, dword [ebp - 0xc0]
add ecx, 2
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0x110]
jge 0x40b4b1
mov dword [ebp - 0xc4], 0
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004035d0
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov dword [ebp - 0x118], edx
lea eax, [ebp - 0xc4]
push eax
push str._02X
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.0046aeee
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.00401d60
mov edx, dword [ebp - 0x38]
mov al, byte [ebp - 0xc4]
mov byte [ebp + edx - 0xbc], al
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
jmp 0x40b410
push 0
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x696e
mov edx, dword [ebp - 0x128]
lea ecx, [edx + ecx + 0x2d32baf]
call fcn.0041b850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00401d60
jmp 0x40b354
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00424cf3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a109
mov esp, ebp
pop ebp
ret 4