Function at 0x540430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fc9a
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 0x5ab18c
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.00531d50
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 0x5405ab
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.00531d50
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 0x541115
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 0x5ab3b8
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.00531d50
lea ecx, [ebp - 0x11]
call fcn.004e1430
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054df40
mov byte [ebp - 4], 7
push 0x20
push 0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0055e3d0
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 0x54070b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16c], esp
push 0x5ab508
call fcn.004e98c0
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531c70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054f380
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 0x541115
mov edx, dword [ebp - 0xf0]
movzx eax, byte [edx + 0x2b8]
test eax, eax
je 0x540795
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.00531c70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054f380
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 0x541115
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.00541130
mov byte [ebp - 0xf1], al
movzx edx, byte [ebp - 0xf1]
test edx, edx
je 0x54082a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054f380
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 0x541115
mov eax, dword [ebp - 0xf0]
add eax, 0x2dc
push eax
lea ecx, [ebp - 0xa4]
call fcn.004e8f30
mov byte [ebp - 4], 8
push 0x5ab710
lea ecx, [ebp - 0x228]
call fcn.004e8fb0
mov byte [ebp - 4], 9
push 0x5ab714
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 0x540981
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054f380
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 0x541115
push 1
mov ecx, dword [ebp - 0xf0]
call fcn.00542540
movzx edx, al
test edx, edx
jne 0x5409f7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054f380
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 0x541115
mov ecx, dword [ebp - 0xf0]
call fcn.0053fd70
movzx eax, al
test eax, eax
je 0x540d03
push 0x5ab8c0
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 0x5ab9b8
call fcn.004e98c0
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531bb0
push str._type_:_FCAuto____cdm_type_:_1_
lea ecx, [ebp - 0xbc]
call fcn.004e98c0
mov byte [ebp - 4], 0xc
push 0x5abb34
lea ecx, [ebp - 0x258]
call fcn.004e98c0
mov byte [ebp - 4], 0xd
push 0x5abbcc
lea ecx, [ebp - 0x288]
call fcn.004e98c0
mov byte [ebp - 4], 0xe
push 0x5abc2c
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 0x5abc94
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.00531c70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x318]
call fcn.004e99d0
push 0
push 0
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x537160
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.0054f380
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 0x541115
cmp dword [ebp - 0x8c], 1
je 0x540d98
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.00531c70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.004e90c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.0054f380
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 0x541115
push 0
mov ecx, dword [ebp - 0xf0]
call fcn.0053ffa0
movzx eax, al
test eax, eax
je 0x5410b8
movzx ecx, byte [ebp - 0x70]
test ecx, ecx
je 0x540dc4
mov dword [ebp - 0x100], 0x5abce0
jmp 0x540dce
mov dword [ebp - 0x100], 0x5abcec
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 0x5abdb8
call fcn.004e98c0
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531590
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push 0x5abddc
call fcn.004e98c0
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00531bb0
movzx edx, byte [ebp - 0x70]
test edx, edx
je 0x540e77
mov dword [ebp - 0xfc], 1
jmp 0x540e81
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
push eax
push 0x5abe40
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004e2580
add esp, 0xc
mov byte [ebp - 4], 0x14
push 0x5abecc
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 0x5abf74
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.00531c70
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x360]
call fcn.004e99d0
push 0
push 0
mov eax, dword [ebp - 0xf0]
push eax
push 0x537160
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.0054f380
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.0055dcfd
mov esp, ebp
pop ebp
ret