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

Disassembly:
mov eax, 0x459c
call fcn.004213e0
mov eax, dword [0x444e3c]
xor eax, esp
mov dword [esp + 0x4598], eax
push ebx
push edi
push 0x3a98
xor ebx, ebx
lea eax, [esp + 0xb0c]
push ebx
push eax
mov edi, ecx
mov dword [esp + 0x18], 0xffffffff
call fcn.00421410
push 0x96
lea ecx, [esp + 0x80]
push ebx
push ecx
call fcn.00421410
xor eax, eax
lea edx, [esp + 0xb20]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov word [esp + 0x88], ax
call fcn.00404c90
lea eax, [esp + 0xb24]
push 0x43985e
push eax
call fcn.00422b07
add esp, 0x24
test eax, eax
je 0x40ba98
mov edx, dword [edi + 0xf0]
lea ecx, [esp + 0x58]
push ecx
push edx
lea eax, [esp + 0xb10]
push eax
call fcn.00405050
add esp, 0xc
test al, al
je 0x40b6d4
push 1
call fcn.00404f30
add esp, 4
lea ecx, [esp + 0xc]
push ecx
call fcn.00404d10
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
jne 0x40babb
xor eax, eax
push 0x1ff
lea edx, [esp + 0x30d]
push ebx
push edx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov byte [esp + 0x61], al
mov byte [esp + 0x17], bl
mov byte [esp + 0x314], bl
call fcn.00421410
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 dword [esp + 0x49], eax
mov byte [esp + 0x4d], al
lea eax, [esp + 0x119]
push ebx
push eax
mov byte [esp + 0x2c], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x120], bl
call fcn.00421410
push 0x1ff
lea ecx, [esp + 0x525]
push ebx
push ecx
mov byte [esp + 0x52c], bl
call fcn.00421410
push 0x1ff
lea edx, [esp + 0x931]
push ebx
push edx
mov byte [esp + 0x938], bl
call fcn.00421410
push 0x1ff
lea eax, [esp + 0x73d]
push ebx
push eax
mov byte [esp + 0x744], bl
call fcn.00421410
add esp, 0x3c
lea ecx, [esp + 0x708]
push ecx
lea edx, [esp + 0x50c]
push edx
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x314]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0xb1c]
push eax
mov ecx, edi
call fcn.0040b360
test al, al
je 0x40b82d
push 1
call fcn.00404f50
add esp, 4
pop edi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x4598]
xor ecx, esp
call fcn.004213c3
add esp, 0x459c
ret
push ebp
push esi
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xb14]
push edx
mov ecx, edi
call fcn.00408fa0
push str.BrandName
mov byte [edi + 0xf8], al
call fcn.004139e0
mov ecx, eax
call fcn.004136d0
mov esi, eax
lea eax, [esp + 0x18]
push eax
call fcn.00404f70
add esp, 4
cmp byte [edi + 0xf8], bl
je 0x40b898
cmp dword [esp + 0x18], ebx
jne 0x40b898
mov ecx, edi
call fcn.00407b30
test al, al
push 0x40
push esi
je 0x40b88c
push str.The_client_is_currently_being_upgraded_and_will_open_once_the_process_has_finished.
jmp 0x40b891
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.00404f50
add esp, 4
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xb18]
push eax
mov ecx, edi
xor ebp, ebp
call fcn.00407b90
test al, al
je 0x40ba15
lea ecx, [esp + 0x1c]
push 0x43a208
push ecx
call fcn.00422b07
add esp, 8
test eax, eax
jne 0x40b8f4
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x48], cl
add eax, 1
cmp cl, bl
jne 0x40b8e0
jmp 0x40b999
mov eax, dword [edi + 0xf0]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00422b07
add esp, 8
test eax, eax
jne 0x40b916
mov byte [esp + 0x13], 1
jmp 0x40b999
lea eax, [esp + 0x510]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x31c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00408fc0
test al, al
jne 0x40b999
lea edx, [esp + 0x910]
push edx
lea eax, [esp + 0x514]
push eax
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x320]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.0040a6a0
test al, al
jne 0x40b999
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x31c]
push edx
mov ecx, edi
call fcn.00409060
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40b9a0
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 0x40b9b4
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
mov word [esp + 0x44], ax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + ebp + 0xb18]
push edx
mov ecx, edi
call fcn.00407b90
test al, al
jne 0x40b8c4
cmp byte [edi + 0xf8], bl
pop esi
pop ebp
je 0x40ba5b
lea eax, [esp + 0x708]
push eax
lea ecx, [esp + 0x50c]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x314]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0xb1c]
push edx
mov ecx, edi
call fcn.0040b490
test al, al
jne 0x40b811
cmp byte [esp + 0xb], bl
jne 0x40ba98
lea eax, [esp + 0x40]
push 0x43985e
push eax
call fcn.00422b07
add esp, 8
test eax, eax
je 0x40ba98
lea ecx, [esp + 0x40]
push ecx
push 0x43a208
call fcn.004057b0
lea edx, [esp + 0x48]
push edx
push 0x43a208
call fcn.00404db0
add esp, 0x10
mov ecx, edi
call fcn.00408010
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4598]
xor ecx, esp
call fcn.004213c3
add esp, 0x459c
ret
cmp eax, 1
je 0x40ba98
push eax
lea eax, [esp + 0x74]
push str.Error_Reading_The_UpdFlag._Value_:__d
push eax
call fcn.00420f5a
lea ecx, [esp + 0x7c]
add esp, 0xc
push ecx
call fcn.00409150
mov ecx, eax
call fcn.00407dc0
mov ecx, dword [esp + 0x45a0]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004213c3
add esp, 0x459c
ret