Function at 0x540bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a056e
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
push 0xc
lea ecx, [ebp - 0x20]
call fcn.004e14a0
lea ecx, [ebp - 0x20]
call fcn.004f4cc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e8f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e8f60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xf0]
add eax, 0x360
push eax
lea ecx, [ebp - 0x20]
call fcn.004f4d00
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2dc
call fcn.004e92b0
push eax
push 0x5aba68
push str._s_config_fc_check_update_helper_s
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004e2600
add esp, 0x10
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b8], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.004e8f30
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531e50
push 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004f5160
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x540d3b
mov edx, dword [ebp - 0xf8]
push edx
push str.interface_error__errorcode:_d
lea eax, [ebp - 0xec]
push eax
call fcn.004e2600
add esp, 0xc
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
lea edx, [ebp - 0xec]
push edx
call fcn.004e8f30
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531e50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.004e90c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
lea eax, [ebp - 0x38]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x170], esp
lea edx, [ebp - 0x54]
push edx
call fcn.004e8f30
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x5abcb4
call fcn.004e8fb0
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 3
call fcn.004f1ac0
add esp, 0x34
lea ecx, [ebp - 0x38]
call fcn.004e92b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x190], esp
push eax
call fcn.004e8fb0
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531e50
lea ecx, [ebp - 0x11]
call fcn.004e1430
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054e6d0
mov byte [ebp - 4], 7
push 0x20
push 0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0055eb60
add esp, 0xc
lea edx, [ebp - 0x8c]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x164], esp
lea eax, [ebp - 0x38]
push eax
call fcn.004e8f30
mov dword [ebp - 0x1a8], eax
lea ecx, [ebp - 0x11]
call fcn.004fef10
mov byte [ebp - 0xf2], al
movzx ecx, byte [ebp - 0xf2]
test ecx, ecx
jne 0x540e9b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16c], esp
push str.json_Analyze_error
call fcn.004e98c0
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531d70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
mov edx, dword [ebp - 0xf0]
movzx eax, byte [edx + 0x2b8]
test eax, eax
je 0x540f25
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
push str.flash_updating_not_reminder_fc
call fcn.004e98c0
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531d70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
lea ecx, [ebp - 0x88]
call fcn.004e92b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push eax
push ecx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.005418c0
mov byte [ebp - 0xf1], al
movzx edx, byte [ebp - 0xf1]
test edx, edx
je 0x540fba
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
mov eax, dword [ebp - 0xf0]
add eax, 0x2dc
push eax
lea ecx, [ebp - 0xa4]
call fcn.004e8f30
mov byte [ebp - 4], 8
push 0x5ac080
lea ecx, [ebp - 0x228]
call fcn.004e8fb0
mov byte [ebp - 4], 9
push 0x5ac084
lea ecx, [ebp - 0x1f8]
call fcn.004e8fb0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x1f8]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.004e30a0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f8]
call fcn.004e90c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x228]
call fcn.004e90c0
push 0x2c
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x4c
call fcn.004e92b0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x184], esp
push eax
push edx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.004e92b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18c], esp
push eax
push ecx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 8
call fcn.004e4ef0
add esp, 0x38
cmp dword [ebp - 0x3c], 1
je 0x541111
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
push 1
mov ecx, dword [ebp - 0xf0]
call fcn.00542cd0
movzx edx, al
test edx, edx
jne 0x541187
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
mov ecx, dword [ebp - 0xf0]
call fcn.00540500
movzx eax, al
test eax, eax
je 0x541493
push 0x5ac190
push str._shs___strue
lea ecx, [ebp - 0x2e8]
push ecx
call fcn.004e2580
add esp, 0xc
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2a0
call fcn.004e9990
lea ecx, [ebp - 0x2e8]
call fcn.004e99d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x194], esp
push str.fcatuo
call fcn.004e98c0
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531cb0
push str._type_:_FCAuto____cdm_type_:_1_
lea ecx, [ebp - 0xbc]
call fcn.004e98c0
mov byte [ebp - 4], 0xc
push 0x5ac25c
lea ecx, [ebp - 0x258]
call fcn.004e98c0
mov byte [ebp - 4], 0xd
push 0x5ac2ac
lea ecx, [ebp - 0x288]
call fcn.004e98c0
mov byte [ebp - 4], 0xe
push 0x5ac390
lea ecx, [ebp - 0x2a0]
call fcn.004e98c0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2dc
call fcn.004e92b0
push eax
lea ecx, [ebp - 0x348]
push ecx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x330
call fcn.004e92b0
push eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2f4
call fcn.004e92b0
push eax
lea ecx, [ebp - 0x390]
push ecx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x150], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.004e8970
add esp, 0x1c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x390]
call fcn.004e99d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2b8]
call fcn.004e99d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x348]
call fcn.004e99d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2a0]
call fcn.004e99d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x288]
call fcn.004e99d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x258]
call fcn.004e99d0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1e0], esp
lea ecx, [ebp - 0xbc]
push ecx
push 0x5ac430
lea ecx, [ebp - 0x318]
call fcn.004e98c0
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x10c], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x10c]
push eax
push esi
call fcn.004ee980
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531d70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x318]
call fcn.004e99d0
push 0
push 0
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x5378f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.004e99d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
cmp dword [ebp - 0x8c], 1
je 0x541528
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push str.not_nShow
call fcn.004e98c0
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531d70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
jmp 0x5418a5
push 0
mov ecx, dword [ebp - 0xf0]
call fcn.00540730
movzx eax, al
test eax, eax
je 0x541848
movzx ecx, byte [ebp - 0x70]
test ecx, ecx
je 0x541554
mov dword [ebp - 0x100], 0x5ac480
jmp 0x54155e
mov dword [ebp - 0x100], 0x5ac48c
mov edx, dword [ebp - 0x100]
push edx
push str.___typefcupdatereminder___fpfalse___fctrue___hsfalse___updatetype
push str._shs___showprogress_s
lea eax, [ebp - 0x378]
push eax
call fcn.004e2580
add esp, 0x10
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2a0
call fcn.004e9990
lea ecx, [ebp - 0x378]
call fcn.004e99d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push 0x5ac570
call fcn.004e98c0
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531690
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push 0x5ac594
call fcn.004e98c0
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531cb0
movzx edx, byte [ebp - 0x70]
test edx, edx
je 0x541607
mov dword [ebp - 0xfc], 1
jmp 0x541611
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
push eax
push str._type_:_Reminder_Center____cdm_type_:_1____showprogress_type_:__d_
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004e2580
add esp, 0xc
mov byte [ebp - 4], 0x14
push 0x5ac6fc
lea ecx, [ebp - 0x270]
call fcn.004e98c0
mov byte [ebp - 4], 0x15
push str.fcdownloadcdm
lea ecx, [ebp - 0x240]
call fcn.004e98c0
mov byte [ebp - 4], 0x16
push 0x5ac850
lea ecx, [ebp - 0x210]
call fcn.004e98c0
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2dc
call fcn.004e92b0
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x330
call fcn.004e92b0
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x124]
push edx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x2f4
call fcn.004e92b0
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004e8970
add esp, 0x1c
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2d0]
call fcn.004e99d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x300]
call fcn.004e99d0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x330]
call fcn.004e99d0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x210]
call fcn.004e99d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x240]
call fcn.004e99d0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x270]
call fcn.004e99d0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1bc], esp
lea eax, [ebp - 0xd4]
push eax
push str.fcdownloadcdm:
lea ecx, [ebp - 0x360]
call fcn.004e98c0
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x108]
push edx
push esi
call fcn.004ee980
add esp, 0xc
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531d70
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x360]
call fcn.004e99d0
push 0
push 0
mov eax, dword [ebp - 0xf0]
push eax
push 0x5378f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.004e99d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054fb60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.004e0610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004e90c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f4ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e48d
mov esp, ebp
pop ebp
ret