Function at 0x45a420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589851
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp + 0xc]
push 0x5bda14
call fcn.00401ca0
mov dword [ebp - 4], edi
mov esi, 1
mov dword [ebp - 0x1c], esi
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45a488
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45a4b4
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00402070
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45a4f5
push 0x5df394
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], str.this__m_PrinterBaseInfo.m_strPrinterName_is_Empty
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.FriendlyName
call fcn.00401ca0
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00402070
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a55d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5bda68
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00402070
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a5a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x24
push ebx
lea ecx, [ebp - 0x14]
call fcn.00402070
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45a5d0
push 0x5df394
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], str.this__m_PrinterBaseInfo.m_strDriverName_is_Empty
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DriverName
call fcn.00401ca0
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00402070
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a638
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea ecx, [ebp - 0x24]
mov bl, 9
push ecx
mov byte [ebp - 4], bl
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00402070
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a692
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a6b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402070
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45a6e6
push 0x5df394
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], str.this__m_PrinterBaseInfo.m_strPortName_is_Empty
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Port
call fcn.00401ca0
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00402070
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a74e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea ecx, [ebp - 0x2c]
mov bl, 0xd
push ecx
mov byte [ebp - 4], bl
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00402070
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a7a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a7cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x30]
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x5c49a8
call fcn.00401ca0
lea edx, [ebp - 0x2c]
push edx
call fcn.0045b420
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00402070
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a81b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45a83d
push 0x5df394
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], str.this__GetArgPortParameta__ARG_FIRMUPDATE_TOOL_IF___uiPortAtt___is_Empty
call fcn.005612f8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea eax, [ebp - 0x2c]
mov bl, 0x10
push eax
mov byte [ebp - 4], bl
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call fcn.00402070
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a8ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 8]
cmp esi, 3
jne 0x45a990
lea ecx, [ebx + 0x28]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402070
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45a8f4
push 0x5df394
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], str.this__m_PrinterBaseInfo.m_strPortName_is_Empty
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5c49f8
call fcn.00401ca0
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 0x14
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.00402070
lea ecx, [ebp + 8]
call fcn.00402120
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402120
lea edx, [ebx + 0x58]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401c60
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45a9be
push 0x5df394
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], str.this__m_FirmVersionFromServer.strModel_is_Empty_
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Device
call fcn.00401ca0
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x17
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x18
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.00402070
lea ecx, [ebp + 8]
call fcn.00402120
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402120
mov ecx, ebx
call fcn.00459960
test al, al
jne 0x45aa7a
push 0x5df394
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], str.this__IsCorrectFirmIndex_____false
call fcn.005612f8
mov ecx, dword [ebx + 0x3178]
imul ecx, ecx, 0x334
lea edx, [ecx + ebx + 0x16d]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401c60
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45aab8
push 0x5df394
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], str.this__m_FirmVersionFromServer.firmInfo__this__m_nFirmIndex__.strID_is_Empty
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Firm
call fcn.00401ca0
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1b
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x1c
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1d
call fcn.00402070
lea ecx, [ebp + 8]
call fcn.00402120
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402120
add ebx, 0x3180
push ebx
lea ecx, [ebp - 0x14]
call fcn.00402070
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
sete al
cmp al, 1
jne 0x45ab85
push 0x5df394
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], str.this__m_FirmVersionFromDevice.strSerialNumber_is_Empty
call fcn.005612f8
push ecx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Serial
call fcn.00401ca0
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1f
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x20
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
call fcn.00402070
lea ecx, [ebp + 8]
call fcn.00402120
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402120
lea eax, [ebp + 8]
push eax
call fcn.00454180
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add esp, 4
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5c4aec
call fcn.00401ca0
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x24
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00404de0
add esp, 0xc
push 0x5bda68
push eax
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x25
call fcn.00404ea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x26
call fcn.00402070
lea ecx, [ebp + 8]
call fcn.00402120
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402120
lea esi, [ebp + 8]
call fcn.00452f20
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x27
call fcn.00402070
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00402120
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Locale
call fcn.00401ca0
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.0045b200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x29
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00404de0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2a
call fcn.00402070
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402120
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402070
lea ecx, [ebp - 0x14]
call fcn.00402120
lea ecx, [ebp - 0x18]
call fcn.00402120
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8