Function at 0x479ca0
Capabilities:
Accept command line arguments
Check if file exists
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push esi
mov dword [ebp - 8], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00487080
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [0x5f3b70], ecx
push 0x5f405c
call fcn.00478f10
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x19c], esp
push 0x5b52cc
call fcn.00415e70
lea edx, [ebp - 0xc]
push edx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a0], esp
push str.channel
call fcn.00415e70
lea eax, [ebp - 0x10]
push eax
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push str.default
call fcn.00415e70
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push str.id_1
call fcn.00415e70
lea edx, [ebp - 0x38]
push edx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push str.id_2
call fcn.00415e70
lea eax, [ebp - 0x34]
push eax
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push str.id_3
call fcn.00415e70
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push str.Local
call fcn.00415e70
lea edx, [ebp - 0x30]
push edx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push str.active
call fcn.00415e70
lea eax, [ebp - 0x60]
push eax
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1bc], esp
push str._restart
call fcn.00415e70
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c0], esp
push str.showM
call fcn.00415e70
lea edx, [ebp - 0x58]
push edx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c4], esp
push 0x5b535c
call fcn.00415e70
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c8], esp
push str.PCAppStore
call fcn.00415e70
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc], esp
push str.APPDATA
call fcn.00415e70
lea edx, [ebp - 0x28]
push edx
call fcn.0044d000
add esp, 0x1c
mov dword [ebp - 0x17c], 0
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0x1d0], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1d4], esp
push 0x5f4058
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x1d8], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1dc], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00472a30
add esp, 0x10
push eax
mov ecx, 0x5f403c
call fcn.0041a2e0
lea ecx, [ebp - 0xcc]
call fcn.004185a0
call fcn.00479240
push ecx
mov ecx, esp
mov dword [ebp - 0x1e0], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00414340
lea eax, [ebp - 0xd0]
push eax
call fcn.0044c810
add esp, 8
mov ecx, eax
call fcn.0041afa0
push eax
call fcn.00587be3
add esp, 4
push eax
lea ecx, [ebp - 0x24]
call fcn.00414480
lea ecx, [ebp - 0xd0]
call fcn.004185a0
lea ecx, [ebp - 0x24]
call fcn.00422840
movzx ecx, al
test ecx, ecx
je 0x47a0a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e4], esp
push str.wgetenv_error
call fcn.00415e70
lea edx, [ebp - 0x88]
push edx
call fcn.0044d000
add esp, 0x1c
push ecx
mov esi, esp
mov dword [ebp - 0x1e8], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1ec], esp
push 0x5f4040
call fcn.00415d10
push esi
call fcn.0044cae0
add esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f0], esp
push 0x5b53b0
call fcn.00414480
push ecx
mov esi, esp
mov dword [ebp - 0x1f4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea eax, [ebp - 0x88]
push eax
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x1fc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x200], esp
lea edx, [ebp - 0xc]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.004795b0
add esp, 0x10
mov dword [ebp - 0xd4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004185a0
lea ecx, [ebp - 0x24]
call fcn.004185a0
lea ecx, [ebp - 0x28]
call fcn.004185a0
lea ecx, [ebp - 0x18]
call fcn.004185a0
lea ecx, [ebp - 0x2c]
call fcn.004185a0
lea ecx, [ebp - 0x58]
call fcn.004185a0
lea ecx, [ebp - 0x5c]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.004185a0
lea ecx, [ebp - 0x30]
call fcn.004185a0
lea ecx, [ebp - 0x1c]
call fcn.004185a0
lea ecx, [ebp - 0x34]
call fcn.004185a0
lea ecx, [ebp - 0x38]
call fcn.004185a0
lea ecx, [ebp - 0x3c]
call fcn.004185a0
lea ecx, [ebp - 0x10]
call fcn.004185a0
lea ecx, [ebp - 0xc]
call fcn.004185a0
lea ecx, [ebp - 0x40]
call fcn.004185a0
mov eax, dword [ebp - 0xd4]
jmp 0x47b23a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x204], esp
push 0x5b53b4
call fcn.00415e70
lea eax, [ebp - 0x54]
push eax
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x208], esp
push str.Temp
call fcn.00415e70
lea ecx, [ebp - 0x50]
push ecx
call fcn.0044d000
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x20c], esp
lea edx, [ebp - 0x54]
push edx
call fcn.00414340
lea eax, [ebp - 0xd8]
push eax
call fcn.0044c810
add esp, 8
mov ecx, eax
call fcn.0041afa0
push eax
call fcn.00587be3
add esp, 4
push eax
mov ecx, 0x5f4038
call fcn.0041a380
lea ecx, [ebp - 0xd8]
call fcn.004185a0
push 0x5c
mov ecx, 0x5f4038
call fcn.00420240
push ecx
mov ecx, esp
mov dword [ebp - 0x210], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00414340
lea eax, [ebp - 0xdc]
push eax
call fcn.0044c810
add esp, 8
push eax
mov ecx, 0x5f4038
call fcn.004200b0
lea ecx, [ebp - 0xdc]
call fcn.004185a0
mov ecx, 0x5f4038
call fcn.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x47a301
mov ecx, dword [ebp - 0x44]
and ecx, 0x10
je 0x47a301
push 0x5b53d8
push 0x5f4038
lea edx, [ebp - 0x64]
push edx
call fcn.0041b370
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x214], esp
lea eax, [ebp - 0x50]
push eax
call fcn.00414340
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0044c810
add esp, 8
push eax
lea ecx, [ebp - 0x64]
call fcn.004200b0
lea ecx, [ebp - 0xe0]
call fcn.004185a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x218], esp
push 0x5b53dc
call fcn.00415e70
lea edx, [ebp - 0x8c]
push edx
call fcn.0044d000
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x21c], esp
lea eax, [ebp - 0x8c]
push eax
call fcn.00414340
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0044c810
add esp, 8
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x220], esp
push 0x5f4038
call fcn.00414340
call fcn.00477570
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.004185a0
mov byte [ebp - 1], 0
mov dword [ebp - 0x78], 0
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x47a2ee
cmp dword [ebp - 0x78], 5
jge 0x47a2ee
lea ecx, [ebp - 0x64]
call fcn.0041afa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x47a2bb
mov ecx, dword [ebp - 0x44]
and ecx, 0x10
je 0x47a2bb
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00414340
call fcn.00477a30
add esp, 4
test eax, eax
je 0x47a2b9
mov byte [ebp - 1], 1
jmp 0x47a2ee
jmp 0x47a2c1
mov byte [ebp - 1], 1
jmp 0x47a2ee
push 0
push 0x1388
lea eax, [ebp - 0x328]
push eax
call fcn.0041fb70
add esp, 0xc
push eax
call fcn.004138f0
add esp, 4
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
jmp 0x47a267
lea ecx, [ebp - 0x8c]
call fcn.004185a0
lea ecx, [ebp - 0x64]
call fcn.004185a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x228], esp
push str.pcapp.store
call fcn.00415e70
lea edx, [ebp - 0x4c]
push edx
call fcn.0044d000
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x22c], esp
push str._pixel.gif
call fcn.00415e70
lea eax, [ebp - 0x48]
push eax
call fcn.0044d000
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x230], esp
push 0x5f4010
call fcn.00414340
lea ecx, [ebp - 0xec]
push ecx
call fcn.0044c810
add esp, 8
mov ecx, eax
call fcn.0041afa0
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5f3b7c], eax
lea ecx, [ebp - 0xec]
call fcn.004185a0
push 0x94
call fcn.0057515d
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x47a440
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
lea edx, [ebp - 0x48]
push edx
call fcn.00414340
lea eax, [ebp - 0x100]
push eax
call fcn.0044c810
add esp, 8
or dword [ebp - 8], 1
mov dword [ebp - 0xf0], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00414340
lea eax, [ebp - 0xfc]
push eax
call fcn.0044c810
add esp, 8
or dword [ebp - 8], 2
mov dword [ebp - 0xf4], eax
push 0x5f4060
lea ecx, [ebp - 0x98]
call fcn.00414480
or dword [ebp - 8], 4
mov ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
push 0x5f403c
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x90]
call fcn.0044dba0
mov dword [ebp - 0x94], eax
jmp 0x47a44a
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
mov dword [0x5f3b88], edx
mov eax, dword [ebp - 8]
and eax, 4
je 0x47a479
and dword [ebp - 8], 0xfffffffb
lea ecx, [ebp - 0x98]
call fcn.004185a0
mov ecx, dword [ebp - 8]
and ecx, 2
je 0x47a490
and dword [ebp - 8], 0xfffffffd
lea ecx, [ebp - 0xfc]
call fcn.004185a0
mov edx, dword [ebp - 8]
and edx, 1
je 0x47a4a7
and dword [ebp - 8], 0xfffffffe
lea ecx, [ebp - 0x100]
call fcn.004185a0
mov dword [ebp - 0x80], 0
mov ecx, dword [0x5f3b88]
call fcn.0044e090
test eax, eax
je 0x47a4d1
push 0
push 0
push 0x479c30
call fcn.00581d44
add esp, 0xc
mov dword [ebp - 0x80], eax
call fcn.004788a0
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x74]
call fcn.00414590
cmp dword [ebp - 0x9c], 2
jge 0x47a5bd
mov dword [ebp - 0x104], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004185a0
lea ecx, [ebp - 0x48]
call fcn.004185a0
lea ecx, [ebp - 0x4c]
call fcn.004185a0
lea ecx, [ebp - 0x50]
call fcn.004185a0
lea ecx, [ebp - 0x54]
call fcn.004185a0
lea ecx, [ebp - 0x24]
call fcn.004185a0
lea ecx, [ebp - 0x28]
call fcn.004185a0
lea ecx, [ebp - 0x18]
call fcn.004185a0
lea ecx, [ebp - 0x2c]
call fcn.004185a0
lea ecx, [ebp - 0x58]
call fcn.004185a0
lea ecx, [ebp - 0x5c]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.004185a0
lea ecx, [ebp - 0x30]
call fcn.004185a0
lea ecx, [ebp - 0x1c]
call fcn.004185a0
lea ecx, [ebp - 0x34]
call fcn.004185a0
lea ecx, [ebp - 0x38]
call fcn.004185a0
lea ecx, [ebp - 0x3c]
call fcn.004185a0
lea ecx, [ebp - 0x10]
call fcn.004185a0
lea ecx, [ebp - 0xc]
call fcn.004185a0
lea ecx, [ebp - 0x40]
call fcn.004185a0
mov eax, dword [ebp - 0x104]
jmp 0x47b23a
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + edx]
push edx
call fcn.00414480
call fcn.0046eee0
add esp, 4
cmp eax, 0x628374a0
je 0x47a73a
push ecx
mov esi, esp
mov dword [ebp - 0x240], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x244], esp
push 0x5f4040
call fcn.00415d10
push esi
call fcn.0044cae0
add esp, 0x18
mov esi, esp
mov dword [ebp - 0x248], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x24c], esp
lea eax, [ebp - 0x38]
push eax
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x250], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x258], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x25c], esp
lea eax, [ebp - 0xc]
push eax
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.004795b0
add esp, 0x10
mov dword [ebp - 0x108], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004185a0
lea ecx, [ebp - 0x48]
call fcn.004185a0
lea ecx, [ebp - 0x4c]
call fcn.004185a0
lea ecx, [ebp - 0x50]
call fcn.004185a0
lea ecx, [ebp - 0x54]
call fcn.004185a0
lea ecx, [ebp - 0x24]
call fcn.004185a0
lea ecx, [ebp - 0x28]
call fcn.004185a0
lea ecx, [ebp - 0x18]
call fcn.004185a0
lea ecx, [ebp - 0x2c]
call fcn.004185a0
lea ecx, [ebp - 0x58]
call fcn.004185a0
lea ecx, [ebp - 0x5c]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.004185a0
lea ecx, [ebp - 0x30]
call fcn.004185a0
lea ecx, [ebp - 0x1c]
call fcn.004185a0
lea ecx, [ebp - 0x34]
call fcn.004185a0
lea ecx, [ebp - 0x38]
call fcn.004185a0
lea ecx, [ebp - 0x3c]
call fcn.004185a0
lea ecx, [ebp - 0x10]
call fcn.004185a0
lea ecx, [ebp - 0xc]
call fcn.004185a0
lea ecx, [ebp - 0x40]
call fcn.004185a0
mov eax, dword [ebp - 0x108]
jmp 0x47b23a
cmp dword [ebp - 0x9c], 3
jge 0x47a7e4
push ecx
mov esi, esp
mov dword [ebp - 0x260], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0x5f4040
call fcn.00415d10
push esi
call fcn.0044cae0
add esp, 0x18
mov esi, esp
mov dword [ebp - 0x268], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x270], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x278], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
lea edx, [ebp - 0xc]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.004795b0
add esp, 0x10
jmp 0x47ab13
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x10c], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.00414340
lea ecx, [ebp - 0x114]
push ecx
call fcn.0044c810
add esp, 8
mov ecx, eax
call fcn.0041afa0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.0057ad68
add esp, 8
test eax, eax
je 0x47a84b
mov dword [ebp - 0xa0], 1
jmp 0x47a855
mov dword [ebp - 0xa0], 0
mov cl, byte [ebp - 0xa0]
mov byte [ebp - 0x11], cl
lea ecx, [ebp - 0x114]
call fcn.004185a0
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x47aa15
lea ecx, [ebp - 0x7c]
call fcn.00414590
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x5f4060
call fcn.00414480
call fcn.0046eee0
add esp, 4
mov dword [ebp - 0x288], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x5f4060
call fcn.00414480
call fcn.0046eee0
add esp, 4
push eax
push 0x5b5420
lea eax, [ebp - 0x7c]
push eax
call fcn.00422330
add esp, 0xc
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x7c]
call fcn.0041afa0
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call fcn.0057ad68
add esp, 8
test eax, eax
je 0x47aa08
push 0x5b5428
lea ecx, [ebp - 0xa8]
call fcn.00414480
push 0x5b542c
lea ecx, [ebp - 0xa4]
call fcn.00414480
push ecx
mov ecx, esp
mov dword [ebp - 0x290], esp
lea eax, [ebp - 0x34]
push eax
call fcn.00414340
lea ecx, [ebp - 0x134]
push ecx
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x120], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00414340
lea eax, [ebp - 0x130]
push eax
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x124], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
lea edx, [ebp - 0xc]
push edx
call fcn.00414340
lea eax, [ebp - 0x12c]
push eax
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.00479480
add esp, 0x14
lea ecx, [ebp - 0x12c]
call fcn.004185a0
lea ecx, [ebp - 0x130]
call fcn.004185a0
lea ecx, [ebp - 0x134]
call fcn.004185a0
lea ecx, [ebp - 0xa4]
call fcn.004185a0
lea ecx, [ebp - 0xa8]
call fcn.004185a0
mov byte [0x5dc02c], 0
lea ecx, [ebp - 0x7c]
call fcn.004185a0
jmp 0x47ab13
push 0x5b5430
lea ecx, [ebp - 0xb0]
call fcn.00414480
push 0x5b5434
lea ecx, [ebp - 0xac]
call fcn.00414480
push ecx
mov ecx, esp
mov dword [ebp - 0x29c], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.00414340
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x138], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00414340
lea eax, [ebp - 0x148]
push eax
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x13c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
lea edx, [ebp - 0xc]
push edx
call fcn.00414340
lea eax, [ebp - 0x144]
push eax
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.00479480
add esp, 0x14
lea ecx, [ebp - 0x144]
call fcn.004185a0
lea ecx, [ebp - 0x148]
call fcn.004185a0
lea ecx, [ebp - 0x14c]
call fcn.004185a0
lea ecx, [ebp - 0xac]
call fcn.004185a0
lea ecx, [ebp - 0xb0]
call fcn.004185a0
mov byte [0x5dc02c], 0
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00414340
lea eax, [ebp - 0x160]
push eax
call fcn.0044c810
add esp, 8
mov dword [ebp - 0x150], eax
push 0x5b5438
lea ecx, [ebp - 0xb4]
call fcn.004143a0
lea ecx, [ebp - 0xb4]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2ac], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00414340
lea eax, [ebp - 0x15c]
push eax
call fcn.0044c810
add esp, 8
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004454a0
add esp, 0xc
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.004454a0
add esp, 0xc
lea ecx, [ebp - 0x158]
call fcn.004185a0
lea ecx, [ebp - 0x15c]
call fcn.004185a0
lea ecx, [ebp - 0xb4]
call fcn.004185a0
lea ecx, [ebp - 0x160]
call fcn.004185a0
lea ecx, [ebp - 0x70]
call fcn.0041afa0
push eax
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0xbc], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2b0], esp
push 0x5b543c
call fcn.00415e70
lea edx, [ebp - 0x84]
push edx
call fcn.0044d000
add esp, 0x1c
cmp dword [ebp - 0xbc], 0
je 0x47adb9
cmp dword [ebp - 0x164], 2
je 0x47adb9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2b4], esp
push str.PC_App_Store_is_up_and_running__click_on_the_Start_Button
call fcn.00415e70
lea eax, [ebp - 0xb8]
push eax
call fcn.0044d000
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x2b8], esp
lea edx, [ebp - 0x84]
push edx
call fcn.00414340
lea eax, [ebp - 0x174]
push eax
call fcn.0044c810
add esp, 8
mov ecx, eax
call fcn.0041afa0
mov dword [ebp - 0x168], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2bc], esp
lea edx, [ebp - 0xb8]
push edx
call fcn.00414340
lea eax, [ebp - 0x170]
push eax
call fcn.0044c810
add esp, 8
mov ecx, eax
call fcn.0041afa0
mov dword [ebp - 0x16c], eax
push 0x40
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x16c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x170]
call fcn.004185a0
lea ecx, [ebp - 0x174]
call fcn.004185a0
mov dword [ebp - 0x178], 0
lea ecx, [ebp - 0xb8]
call fcn.004185a0
lea ecx, [ebp - 0x84]
call fcn.004185a0
lea ecx, [ebp - 0x70]
call fcn.004185a0
lea ecx, [ebp - 0x74]
call fcn.004185a0
lea ecx, [ebp - 0x48]
call fcn.004185a0
lea ecx, [ebp - 0x4c]
call fcn.004185a0
lea ecx, [ebp - 0x50]
call fcn.004185a0
lea ecx, [ebp - 0x54]
call fcn.004185a0
lea ecx, [ebp - 0x24]
call fcn.004185a0
lea ecx, [ebp - 0x28]
call fcn.004185a0
lea ecx, [ebp - 0x18]
call fcn.004185a0
lea ecx, [ebp - 0x2c]
call fcn.004185a0
lea ecx, [ebp - 0x58]
call fcn.004185a0
lea ecx, [ebp - 0x5c]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.004185a0
lea ecx, [ebp - 0x30]
call fcn.004185a0
lea ecx, [ebp - 0x1c]
call fcn.004185a0
lea ecx, [ebp - 0x34]
call fcn.004185a0
lea ecx, [ebp - 0x38]
call fcn.004185a0
lea ecx, [ebp - 0x3c]
call fcn.004185a0
lea ecx, [ebp - 0x10]
call fcn.004185a0
lea ecx, [ebp - 0xc]
call fcn.004185a0
lea ecx, [ebp - 0x40]
call fcn.004185a0
mov eax, dword [ebp - 0x178]
jmp 0x47b23a
lea ecx, [ebp - 0x70]
call fcn.0041afa0
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xbc], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c0], esp
push str.RES_COUNT
call fcn.00415e70
lea eax, [ebp - 0x20]
push eax
call fcn.0044d000
add esp, 0x1c
cmp dword [ebp - 0x17c], 0
je 0x47af38
mov dword [ebp - 0x6c], 0
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0x2c4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push 0x5f4058
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
lea ecx, [ebp - 0x6c]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x2cc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2d0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.00472970
add esp, 0x10
movzx eax, al
test eax, eax
je 0x47aedb
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x180], edx
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0x2d4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2d8], esp
push 0x5f4058
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
mov eax, dword [ebp - 0x180]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x2dc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2e0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.00472b70
add esp, 0x10
jmp 0x47af33
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0x2e4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push 0x5f4058
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x2ec], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2f0], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.00472b70
add esp, 0x10
jmp 0x47affb
mov dword [ebp - 0x184], 0
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0x2f4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2f8], esp
push 0x5f4058
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
lea ecx, [ebp - 0x184]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x2fc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x300], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.00472970
add esp, 0x10
movzx eax, al
test eax, eax
je 0x47affb
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0x304], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x308], esp
push 0x5f4058
call fcn.00414340
push esi
call fcn.0044c810
add esp, 4
mov esi, esp
mov dword [ebp - 0x30c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x310], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00414340
push esi
call fcn.0044c810
add esp, 8
call fcn.004728c0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004185a0
push 0
push 0
push 0
lea ecx, [ebp - 0x338]
call fcn.00476dc0
push 0
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x190]
push ecx
call sub.gdiplus.dll_GdiplusStartup
push 0x178
call fcn.0057515d
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x47b0ba
mov edx, dword [0x5f405c]
mov dword [ebp - 0x188], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x314], esp
lea eax, [ebp - 0x40]
push eax
call fcn.00414340
mov ecx, dword [ebp - 0x188]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x318], esp
push 0x5f403c
call fcn.00414340
push ecx
mov ecx, esp
mov dword [ebp - 0x31c], esp
push 0x5f4038
call fcn.00414340
push ecx
mov ecx, esp
mov dword [ebp - 0x320], esp
push 0x5f4060
call fcn.00414480
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc0]
call fcn.004169d0
mov dword [ebp - 0xc4], eax
jmp 0x47b0c4
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [0x5f3b84], ecx
push 0
push 0
mov ecx, dword [0x5f3b84]
call fcn.004240d0
cmp dword [0x5f3b7c], 0
je 0x47b101
mov edx, dword [0x5f3b7c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x80], 0
je 0x47b116
push 0x1388
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x5f3b7c], 0
je 0x47b12c
mov ecx, dword [0x5f3b7c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0054d3f0
mov ecx, eax
call fcn.0054ce30
mov edx, dword [ebp - 0x190]
push edx
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [0x5f3b84]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x47b16d
push 1
mov ecx, dword [ebp - 0xc8]
call fcn.004774e0
mov dword [ebp - 0x194], eax
jmp 0x47b177
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x198], 0
lea ecx, [ebp - 0x84]
call fcn.004185a0
lea ecx, [ebp - 0x70]
call fcn.004185a0
lea ecx, [ebp - 0x74]
call fcn.004185a0
lea ecx, [ebp - 0x48]
call fcn.004185a0
lea ecx, [ebp - 0x4c]
call fcn.004185a0
lea ecx, [ebp - 0x50]
call fcn.004185a0
lea ecx, [ebp - 0x54]
call fcn.004185a0
lea ecx, [ebp - 0x24]
call fcn.004185a0
lea ecx, [ebp - 0x28]
call fcn.004185a0
lea ecx, [ebp - 0x18]
call fcn.004185a0
lea ecx, [ebp - 0x2c]
call fcn.004185a0
lea ecx, [ebp - 0x58]
call fcn.004185a0
lea ecx, [ebp - 0x5c]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.004185a0
lea ecx, [ebp - 0x30]
call fcn.004185a0
lea ecx, [ebp - 0x1c]
call fcn.004185a0
lea ecx, [ebp - 0x34]
call fcn.004185a0
lea ecx, [ebp - 0x38]
call fcn.004185a0
lea ecx, [ebp - 0x3c]
call fcn.004185a0
lea ecx, [ebp - 0x10]
call fcn.004185a0
lea ecx, [ebp - 0xc]
call fcn.004185a0
lea ecx, [ebp - 0x40]
call fcn.004185a0
mov eax, dword [ebp - 0x198]
pop esi
mov esp, ebp
pop ebp
ret 0x10