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

Disassembly:
mov eax, 0x4590
call fcn.00420520
mov eax, dword [0x443d3c]
xor eax, esp
mov dword [esp + 0x458c], eax
push ebx
push edi
push 0x3a98
xor ebx, ebx
lea eax, [esp + 0xb00]
push ebx
push eax
mov edi, ecx
mov dword [esp + 0x18], 0xffffffff
call fcn.00420550
push 0x96
lea ecx, [esp + 0x74]
push ebx
push ecx
call fcn.00420550
xor eax, eax
lea edx, [esp + 0xb14]
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
call fcn.00404120
lea eax, [esp + 0xb18]
push 0x438897
push eax
call fcn.0042157f
add esp, 0x24
test eax, eax
je 0x40a533
mov edx, dword [edi + 0xec]
lea ecx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0xb04]
push eax
call fcn.004044e0
add esp, 0xc
test al, al
je 0x40a173
push 1
call fcn.004043c0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
call fcn.004041a0
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
jne 0x40a556
xor eax, eax
push 0x1ff
lea edx, [esp + 0x301]
push ebx
push edx
mov byte [esp + 0x48], bl
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov word [esp + 0x59], ax
mov byte [esp + 0x5b], al
mov byte [esp + 0x17], bl
mov byte [esp + 0x308], bl
call fcn.00420550
xor eax, eax
push 0x1ff
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov word [esp + 0x35], ax
mov byte [esp + 0x37], al
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov word [esp + 0x49], ax
mov byte [esp + 0x4b], al
lea eax, [esp + 0x10d]
push ebx
push eax
mov byte [esp + 0x2c], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x114], bl
call fcn.00420550
push 0x1ff
lea ecx, [esp + 0x519]
push ebx
push ecx
mov byte [esp + 0x520], bl
call fcn.00420550
push 0x1ff
lea edx, [esp + 0x925]
push ebx
push edx
mov byte [esp + 0x92c], bl
call fcn.00420550
push 0x1ff
lea eax, [esp + 0x731]
push ebx
push eax
mov byte [esp + 0x738], bl
call fcn.00420550
add esp, 0x3c
lea ecx, [esp + 0x6fc]
push ecx
lea edx, [esp + 0x500]
push edx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x308]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xb10]
push eax
mov ecx, edi
call fcn.004097f0
test al, al
je 0x40a2ce
push 1
call fcn.004043e0
add esp, 4
pop edi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x458c]
xor ecx, esp
call fcn.0042050e
add esp, 0x4590
ret
push ebp
push esi
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xb08]
push edx
mov ecx, edi
call fcn.004081c0
push str.BrandName
mov byte [edi + 0xf4], al
call fcn.00412ad0
mov ecx, eax
call fcn.004127c0
mov esi, eax
lea eax, [esp + 0x18]
push eax
call fcn.00404400
add esp, 4
cmp byte [edi + 0xf4], bl
je 0x40a339
cmp dword [esp + 0x18], ebx
jne 0x40a339
mov ecx, edi
call fcn.00406d70
test al, al
push 0x40
push esi
je 0x40a32d
push str.The_client_is_currently_being_upgraded_and_will_open_once_the_process_has_finished.
jmp 0x40a332
push str.The_application_is_currently_being_upgraded_and_will_open_once_the_process_has_finished.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.004043e0
add esp, 4
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xb0c]
push eax
mov ecx, edi
xor ebp, ebp
call fcn.00406dd0
test al, al
je 0x40a4b0
lea ecx, [esp + 0x1c]
push 0x4396c8
push ecx
call fcn.0042157f
add esp, 8
test eax, eax
jne 0x40a394
jmp 0x40a380
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x44], cl
add eax, 1
cmp cl, bl
jne 0x40a380
jmp 0x40a439
mov eax, dword [edi + 0xec]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0042157f
add esp, 8
test eax, eax
jne 0x40a3b6
mov byte [esp + 0x13], 1
jmp 0x40a439
lea eax, [esp + 0x504]
push eax
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x310]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004081e0
test al, al
jne 0x40a439
lea edx, [esp + 0x904]
push edx
lea eax, [esp + 0x508]
push eax
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x314]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00409a20
test al, al
jne 0x40a439
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x310]
push edx
mov ecx, edi
call fcn.00408280
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a440
sub eax, edx
mov edx, eax
lea eax, [esp + 0x30]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a454
sub eax, esi
add eax, edx
lea ebp, [eax + ebp + 2]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + ebp + 0xb0c]
push edx
mov ecx, edi
call fcn.00406dd0
test al, al
jne 0x40a365
cmp byte [edi + 0xf4], bl
pop esi
pop ebp
je 0x40a4f6
lea eax, [esp + 0x6fc]
push eax
lea ecx, [esp + 0x500]
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x308]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xb10]
push edx
mov ecx, edi
call fcn.00409920
test al, al
jne 0x40a2b2
cmp byte [esp + 0xb], bl
jne 0x40a533
lea eax, [esp + 0x3c]
push 0x438897
push eax
call fcn.0042157f
add esp, 8
test eax, eax
je 0x40a533
lea ecx, [esp + 0x3c]
push ecx
push 0x4396c8
call fcn.00404980
lea edx, [esp + 0x44]
push edx
push 0x4396c8
call fcn.00404240
add esp, 0x10
mov ecx, edi
call fcn.00407250
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x458c]
xor ecx, esp
call fcn.0042050e
add esp, 0x4590
ret
cmp eax, 1
je 0x40a533
push eax
lea eax, [esp + 0x68]
push str.Error_Reading_The_UpdFlag._Value_:__d
push eax
call fcn.004200a5
lea ecx, [esp + 0x70]
add esp, 0xc
push ecx
call fcn.00408470
mov ecx, eax
call fcn.00407000
mov ecx, dword [esp + 0x4594]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0042050e
add esp, 0x4590
ret