Function at 0x4641fb
Capabilities:
Contain obfuscated stackstrings
Get common file path
Parse pe header
Write file on windows

Disassembly:
push 0x5b4
mov eax, 0x53118f
call fcn.00509264
xor eax, eax
mov dword [esp + 0x2c], eax
cmp byte [0x5983c8], al
je 0x46425a
push 0x566d10
lea ecx, [esp + 0x2a8]
call fcn.0044ea5a
and dword [esp + 0x5cc], 0
lea eax, [esp + 0x2a4]
push eax
mov ecx, 0x598424
mov dword [esp + 0x30], 1
call fcn.00465d46
mov byte [esp + 0x33], 0
cmp dword [eax + 0x10], 0
mov eax, dword [esp + 0x2c]
jne 0x46425f
mov byte [esp + 0x33], 1
or dword [esp + 0x5cc], 0xffffffff
test al, 1
je 0x46427b
push 0
push 1
lea ecx, [esp + 0x2ac]
call fcn.0044ea87
cmp byte [esp + 0x33], 0
jne 0x465b24
lea ecx, [esp + 0x20]
call fcn.00486451
xor edi, edi
lea ecx, [esp + 0x1cc]
inc edi
mov dword [esp + 0x5cc], edi
push dword [eax]
call fcn.00450dd2
mov byte [esp + 0x5cc], 3
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
lea ecx, [esp + 0x28]
call fcn.004864f0
mov ecx, eax
mov byte [esp + 0x5cc], 4
call fcn.00453e36
push eax
lea ecx, [esp + 0x2a8]
call fcn.00450dd2
lea edx, [esp + 0x2a4]
mov byte [esp + 0x5cc], 5
lea ecx, [esp + 0x28c]
call fcn.00482623
push 0
push edi
lea ecx, [esp + 0x2ac]
call fcn.00451108
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
and dword [esp + 0x26c], 0
mov dword [esp + 0x270], 0xf
mov byte [esp + 0x25c], 0
xor esi, esi
mov byte [esp + 0x5cc], 9
cmp dword [esp + 0x29c], esi
jbe 0x46439d
cmp dword [esp + 0x2a0], 0x10
lea eax, [esp + 0x28c]
cmovae eax, dword [esp + 0x28c]
movsx eax, byte [eax + esi]
push eax
call fcn.00505e83
pop ecx
test eax, eax
je 0x464393
cmp dword [esp + 0x2a0], 0x10
lea eax, [esp + 0x28c]
lea ecx, [esp + 0x25c]
cmovae eax, dword [esp + 0x28c]
movzx eax, byte [eax + esi]
push eax
push edi
call fcn.0045a784
inc esi
cmp esi, dword [esp + 0x29c]
jb 0x464344
push 0x598388
lea eax, [esp + 0x1a0]
push eax
call fcn.00465b2a
push 0x598390
lea eax, [esp + 0x1b8]
mov byte [esp + 0x5d0], 0xa
push eax
call fcn.00465b2a
xor edi, edi
mov byte [esp + 0x5cc], 0xb
push edi
call fcn.0050558e
mov esi, dword [0x598448]
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov esi, dword [esi]
mov dword [esp + 0x2c], esi
push 0x563f83
lea ecx, [esp + 0x278]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0xc
cmp byte [0x598444], 0
jne 0x4645bb
push 0x566d1c
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0xd
push eax
mov ecx, 0x598424
call fcn.00465d46
lea ecx, [esp + 0x274]
cmp ecx, eax
je 0x464453
push 0xffffffffffffffff
push edi
push eax
call fcn.0044e7b7
push edi
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0xc
call fcn.0044ea87
push 0x566d28
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0xe
push eax
mov ecx, 0x598424
call fcn.00465d46
cmp dword [eax + 0x14], 0x10
jb 0x46449d
mov eax, dword [eax]
push eax
call fcn.005056a1
pop ecx
push edi
push 1
lea ecx, [esp + 0x32c]
mov dword [esp + 0x30], eax
mov byte [esp + 0x5d4], 0xc
call fcn.0044ea87
push 0x566d34
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0xf
push eax
mov ecx, 0x598424
call fcn.00465d46
cmp dword [eax + 0x14], 0x10
jb 0x4644f2
mov eax, dword [eax]
push eax
call fcn.005056a1
pop ecx
push edi
push 1
lea ecx, [esp + 0x32c]
mov dword [esp + 0x20], eax
mov byte [esp + 0x5d4], 0xc
call fcn.0044ea87
push 0x566d40
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0x10
push eax
mov ecx, 0x598424
call fcn.00465d46
cmp dword [eax + 0x14], 0x10
jb 0x464547
mov eax, dword [eax]
push eax
call fcn.005056a1
pop ecx
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0xc
mov edi, eax
call fcn.0044ea87
push 0x566d50
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0x11
push eax
mov ecx, 0x598424
call fcn.00465d46
cmp dword [eax + 0x14], 0x10
jb 0x46459b
mov eax, dword [eax]
push eax
call fcn.005056a1
pop ecx
push 0
push 1
lea ecx, [esp + 0x32c]
mov dword [esp + 0x28], eax
call fcn.0044ea87
jmp 0x46472a
cmp esi, dword [0x598448]
je 0x465ac7
push 0x3f
lea eax, [esp + 0x561]
mov byte [esp + 0x560], 0
push 0
push eax
call fcn.00508bf0
add esp, 0xc
lea eax, [esp + 0x55c]
push dword [esi + 0x10]
push 0x566d5c
push eax
call fcn.00504364
add esp, 0xc
lea eax, [esp + 0x55c]
push eax
call fcn.0044ea41
pop ecx
push eax
lea eax, [esp + 0x560]
push eax
lea ecx, [esp + 0x27c]
call fcn.0044e9c9
lea eax, [esp + 0x55c]
push eax
call fcn.0044ea41
pop ecx
push eax
lea eax, [esp + 0x560]
push eax
lea ecx, [esp + 0x264]
call fcn.0044e9c9
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x324]
mov dword [esp + 0x18], eax
neg eax
push 0x566d60
sbb eax, eax
add eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
neg eax
sbb edi, edi
add edi, 3
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x12
lea eax, [esp + 0x324]
push dword [esi + 0x10]
push eax
call fcn.004638a6
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0xc
call fcn.0044ea87
push 0x566d6c
lea ecx, [esp + 0x328]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x13
lea eax, [esp + 0x324]
push dword [esi + 0x10]
push eax
call fcn.004638a6
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0xc
call fcn.0044ea87
push 0x566d7c
lea ecx, [esp + 0x328]
call fcn.0044ea5a
add esi, 0x48
mov byte [esp + 0x5cc], 0x14
push esi
lea eax, [esp + 0x328]
push eax
call fcn.00463845
push 0
push 1
lea ecx, [esp + 0x32c]
call fcn.0044ea87
lea ecx, [esp + 0x2c]
call fcn.0044ddff
mov esi, dword [esp + 0x2c]
push 0xf
xor eax, eax
pop ecx
mov dword [esp + 0x2b8], ecx
mov dword [esp + 0x2b4], eax
mov byte [esp + 0x2a4], al
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1f4], eax
mov byte [esp + 0x1e4], al
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x5cc], 0x16
call fcn.0044cfb4
push 0x566d8c
lea ecx, [esp + 0x328]
mov byte [esp + 0x5d0], 0x17
call fcn.0044ea5a
lea eax, [esp + 0x274]
mov byte [esp + 0x5cc], 0x18
push eax
lea eax, [esp + 0x328]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.waever
lea ecx, [esp + 0x328]
call fcn.0044ea5a
mov edx, 0xcc
mov byte [esp + 0x5cc], 0x19
lea ecx, [esp + 0x33c]
call fcn.004835fb
push eax
lea eax, [esp + 0x328]
mov byte [esp + 0x5d0], 0x1a
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x344]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push 0x566da0
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea edx, [esp + 0x1cc]
mov byte [esp + 0x5cc], 0x1b
lea ecx, [esp + 0x33c]
call fcn.00482623
push eax
lea eax, [esp + 0x328]
mov byte [esp + 0x5d0], 0x1c
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x344]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.waenamepid
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea eax, [esp + 0x25c]
mov byte [esp + 0x5cc], 0x1d
push eax
lea eax, [esp + 0x328]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
mov ecx, dword [0x598424]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp ecx, eax
je 0x464928
lea ecx, [eax + 0x28]
add eax, 0x10
push ecx
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
lea ecx, [esp + 0x14]
call fcn.0044ddff
mov eax, dword [esp + 0x14]
cmp dword [0x598424], eax
jne 0x4648ff
push str.winver
lea ecx, [esp + 0x328]
call fcn.0044ea5a
lea ecx, [esp + 0x33c]
mov byte [esp + 0x5cc], 0x1e
call fcn.00483378
push eax
lea eax, [esp + 0x328]
mov byte [esp + 0x5d0], 0x1f
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x344]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
call fcn.00482c00
test al, al
mov edx, 0x566dc4
mov ecx, 0x566dc0
cmove ecx, edx
push ecx
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push str.winbits
lea ecx, [esp + 0x328]
mov byte [esp + 0x5d0], 0x20
call fcn.0044ea5a
lea eax, [esp + 0x33c]
mov byte [esp + 0x5cc], 0x21
push eax
lea eax, [esp + 0x328]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x32c]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.iever
lea ecx, [esp + 0x340]
call fcn.0044ea5a
lea ecx, [esp + 0x30c]
mov byte [esp + 0x5cc], 0x22
call fcn.00482c3f
mov edx, eax
mov byte [esp + 0x5cc], 0x23
lea ecx, [esp + 0x324]
call fcn.00482623
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x24
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x32c]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x314]
call fcn.00451108
mov byte [esp + 0x5cc], 0x17
push 0
push 1
lea ecx, [esp + 0x344]
call fcn.0044ea87
push str.waestart
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x25
lea ecx, [esp + 0x30c]
mov edx, dword [0x5983c0]
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x26
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.waeend
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30c]
mov byte [esp + 0x5cc], 0x27
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x28
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.downstate
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push dword [esp + 0x18]
mov byte [esp + 0x5d0], 0x29
lea eax, [esp + 0x310]
push dword [esp + 0x2c]
push eax
call fcn.00463dee
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x2a
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.installstate
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x2b
lea eax, [esp + 0x30c]
push dword [esp + 0x20]
push edi
push eax
call fcn.00463f46
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x2c
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
xor edi, edi
lea ecx, [esp + 0x30c]
push edi
push 1
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.cdniplist
lea ecx, [esp + 0x340]
call fcn.0044ea5a
lea eax, [esp + 0x19c]
mov byte [esp + 0x5cc], 0x2d
push eax
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.cdnurllist
lea ecx, [esp + 0x340]
call fcn.0044ea5a
lea eax, [esp + 0x1b4]
mov byte [esp + 0x5cc], 0x2e
push eax
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.bindtasks
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push edi
lea eax, [esp + 0x310]
mov byte [esp + 0x5d0], 0x2f
push eax
call fcn.00463fce
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x30
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.binddownfail
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push 2
lea eax, [esp + 0x310]
mov byte [esp + 0x5d0], 0x31
push eax
call fcn.00463fce
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x32
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.bindinstallfail
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push 4
lea eax, [esp + 0x310]
mov byte [esp + 0x5d0], 0x33
push eax
call fcn.00463fce
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x34
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.binddowntime
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push 1
lea eax, [esp + 0x310]
mov byte [esp + 0x5d0], 0x35
push eax
call fcn.00463fce
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x36
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.bindinstalltime
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x37
push 3
lea eax, [esp + 0x310]
push eax
call fcn.00463fce
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x38
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
cmp byte [0x5983cc], 0
mov ecx, 0x566e70
mov eax, 0x566e6c
cmove eax, ecx
lea ecx, [esp + 0x324]
push eax
call fcn.0044ea5a
push str.crash
lea ecx, [esp + 0x340]
mov byte [esp + 0x5d0], 0x39
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0x3a
push eax
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x344]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.crashcode
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x3b
lea ecx, [esp + 0x30c]
mov edx, dword [0x5983d0]
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x3c
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push edi
push 1
lea ecx, [esp + 0x314]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push 7
mov byte [esp + 0x5a0], 0
lea edi, [esp + 0x5a1]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [0x5983d4]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5a0]
push 0x566e88
push eax
call fcn.00504364
add esp, 0xc
lea eax, [esp + 0x59c]
lea ecx, [esp + 0x324]
push eax
call fcn.0044ea5a
push str.crashattr
lea ecx, [esp + 0x340]
mov byte [esp + 0x5d0], 0x3d
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0x3e
push eax
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
xor edi, edi
lea ecx, [esp + 0x33c]
push 0
inc edi
push edi
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.crashoffset
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x3f
lea ecx, [esp + 0x30c]
mov edx, dword [0x5983d8]
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x40
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.crashfilename
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov edx, 0x5983dc
mov byte [esp + 0x5cc], 0x41
lea ecx, [esp + 0x30c]
call fcn.00482623
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x42
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.crashsection
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov edx, 0x5983f4
mov byte [esp + 0x5cc], 0x43
lea ecx, [esp + 0x30c]
call fcn.00482623
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x44
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
movd xmm0, dword [esp + 0x34]
cvtdq2pd xmm0, xmm0
push ecx
push ecx
divsd xmm0, qword [0x575d68]
movsd qword [esp], xmm0
call fcn.00507465
pop ecx
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
xorpd xmm0, xmmword [0x575db0]
pop ecx
push str.timezone
lea ecx, [esp + 0x340]
cvttsd2si edi, xmm0
call fcn.0044ea5a
mov edx, edi
mov byte [esp + 0x5cc], 0x45
lea ecx, [esp + 0x30c]
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x46
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
xor edi, edi
lea ecx, [esp + 0x30c]
push 0
inc edi
push edi
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.syslcid
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov byte [esp + 0x5cc], 0x47
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov edx, eax
lea ecx, [esp + 0x30c]
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x48
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x314]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.srceensize
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push edi
mov byte [esp + 0x5d0], 0x49
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, eax
lea ecx, [esp + 0x2bc]
call fcn.004835fb
mov edi, eax
push 0
mov byte [esp + 0x5d0], 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, eax
lea ecx, [esp + 0x214]
call fcn.004835fb
push 0x566edc
mov edx, eax
mov byte [esp + 0x5d0], 0x4b
lea ecx, [esp + 0x328]
call fcn.0044de8f
pop ecx
push edi
mov edx, eax
mov byte [esp + 0x5d0], 0x4c
lea ecx, [esp + 0x310]
call fcn.004660fc
pop ecx
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x4d
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
xor edi, edi
lea ecx, [esp + 0x30c]
push 0
inc edi
push edi
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x32c]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x21c]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.waeclose
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push 0
mov byte [esp + 0x5d0], 0x4e
call fcn.0050558e
pop ecx
mov dword [esp + 0x20], edx
mov edx, eax
lea ecx, [esp + 0x2bc]
call fcn.004835fb
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x4f
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.remark1
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push 0x5983b8
lea eax, [esp + 0x2c0]
mov byte [esp + 0x5d0], 0x50
push eax
call fcn.00463d3d
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x51
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.remark2
lea ecx, [esp + 0x340]
call fcn.0044ea5a
push 0x5983b0
lea eax, [esp + 0x2c0]
mov byte [esp + 0x5d0], 0x52
push eax
call fcn.00463d3d
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x53
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push 0x563f87
lea ecx, [esp + 0x328]
call fcn.0044ea5a
push str.remark3
lea ecx, [esp + 0x340]
mov byte [esp + 0x5d0], 0x54
call fcn.0044ea5a
lea eax, [esp + 0x324]
mov byte [esp + 0x5cc], 0x55
push eax
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x344]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x32c]
mov byte [esp + 0x5d4], 0x17
call fcn.0044ea87
push str.waetrackid
lea ecx, [esp + 0x340]
call fcn.0044ea5a
mov edx, 0x598450
mov byte [esp + 0x5cc], 0x56
lea ecx, [esp + 0x2bc]
call fcn.00482623
push eax
lea eax, [esp + 0x340]
mov byte [esp + 0x5d0], 0x57
push eax
lea ecx, [esp + 0x2dc]
call fcn.0044d5b9
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
call fcn.0044ea87
mov eax, 0x59840c
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.rest_v2_downloader_track_client_sign
mov edx, 0x59842c
mov byte [esp + 0x5d0], 0x58
lea ecx, [esp + 0x200]
call fcn.00454143
mov byte [esp + 0x5d0], 0x59
lea ecx, [esp + 0x340]
mov dword [esp], 0x566f1c
call fcn.0044ea5a
lea eax, [esp + 0x33c]
mov byte [esp + 0x5cc], 0x5a
push eax
mov ecx, 0x598424
call fcn.00465d46
mov edx, eax
lea ecx, [esp + 0x2bc]
call fcn.00482508
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x208]
mov byte [esp + 0x5d8], 0x5b
call fcn.00454308
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x59
call fcn.0044ea87
lea ecx, [esp + 0xe4]
call fcn.0048804e
push 0x5c
pop eax
mov byte [esp + 0x5cc], al
lea ecx, [esp + 0x2d4]
lea eax, [esp + 0x22c]
push eax
call fcn.0044d423
push str.application_json
lea ecx, [esp + 0x340]
mov byte [esp + 0x5d0], 0x5d
call fcn.00450dd2
lea eax, [esp + 0x214]
mov byte [esp + 0x5cc], 0x5e
push eax
lea ecx, [esp + 0x2d8]
call fcn.0044d423
mov edx, eax
mov byte [esp + 0x5cc], 0x5f
lea ecx, [esp + 0x2bc]
call fcn.00482508
mov byte [esp + 0x5cc], 0x60
cmp dword [eax + 0x14], 8
jb 0x465772
mov eax, dword [eax]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x204]
push eax
lea ecx, [esp + 0xf0]
call fcn.004880d3
push 0
push edi
lea ecx, [esp + 0x2c4]
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x21c]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x344]
mov byte [esp + 0x5d4], 0x5d
call fcn.00451108
xor eax, eax
push 0x206
push eax
mov word [esp + 0x35c], ax
lea eax, [esp + 0x35e]
push eax
call fcn.00508bf0
add esp, 0xc
lea eax, [esp + 0x354]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x46581b
push 0x5c
pop ecx
cmp word [esp + eax*2 + 0x352], cx
je 0x46581b
push 0x566f98
lea eax, [esp + 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x354]
push eax
lea ecx, [esp + 0x248]
call fcn.00450dd2
lea ecx, [esp + 0x184]
mov byte [esp + 0x5cc], 0x61
call fcn.00483573
mov edi, eax
lea edx, [esp + 0x274]
mov byte [esp + 0x5cc], 0x62
lea ecx, [esp + 0x324]
call fcn.00482508
push eax
mov edx, 0x566fb0
mov byte [esp + 0x5d0], 0x63
lea ecx, [esp + 0x340]
call fcn.00466149
mov byte [esp + 0x5d0], 0x64
lea ecx, [esp + 0x310]
mov edx, eax
mov dword [esp], 0x566fa8
call fcn.00465fd2
pop ecx
push edi
mov edx, eax
mov byte [esp + 0x5d0], 0x65
lea ecx, [esp + 0x218]
call fcn.00466179
mov byte [esp + 0x5d0], 0x66
lea ecx, [esp + 0x2c0]
mov edx, eax
mov dword [esp], 0x566f9c
call fcn.00465fd2
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x250]
mov byte [esp + 0x5d8], 0x67
call fcn.00454308
xor edi, edi
lea ecx, [esp + 0x2bc]
push 0
inc edi
push edi
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x21c]
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x314]
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x344]
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x32c]
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x18c]
call fcn.00451108
cmp dword [esp + 0x258], 8
lea eax, [esp + 0x244]
cmovae eax, dword [esp + 0x244]
xor ecx, ecx
push ecx
push 0x80
push edi
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4659b1
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
cmp dword [esp + 0x240], 0x10
lea ecx, [esp + 0x22c]
push 0
cmovae ecx, dword [esp + 0x230]
push eax
push dword [esp + 0x244]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x598444], 0
lea ecx, [esp + 0x244]
push 0
je 0x465a55
xor edi, edi
inc edi
push edi
call fcn.00451108
push 0
push edi
lea ecx, [esp + 0x234]
call fcn.0044ea87
lea ecx, [esp + 0xe4]
call fcn.00488095
push 0
push edi
lea ecx, [esp + 0x204]
call fcn.00451108
push 0x59840c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x5cc], 0x16
call fcn.0044d09e
push 0
push edi
lea ecx, [esp + 0x1ec]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x2ac]
call fcn.0044ea87
push 0
push edi
lea ecx, [esp + 0x27c]
mov byte [esp + 0x5d4], 0xb
call fcn.0044ea87
xor edi, edi
jmp 0x4643ee
xor esi, esi
inc esi
push esi
call fcn.00451108
push 0
push esi
lea ecx, [esp + 0x234]
call fcn.0044ea87
lea ecx, [esp + 0xe4]
call fcn.00488095
push 0
push esi
lea ecx, [esp + 0x204]
call fcn.00451108
push 0x59840c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x5cc], 0x16
call fcn.0044d09e
push 0
push esi
lea ecx, [esp + 0x1ec]
call fcn.0044ea87
push 0
push esi
lea ecx, [esp + 0x2ac]
call fcn.0044ea87
jmp 0x465aca
xor esi, esi
inc esi
push 0
push esi
lea ecx, [esp + 0x27c]
call fcn.0044ea87
push 0
push esi
lea ecx, [esp + 0x1bc]
call fcn.0044ea87
push 0
push esi
lea ecx, [esp + 0x1a4]
call fcn.0044ea87
push 0
push esi
lea ecx, [esp + 0x264]
call fcn.0044ea87
push 0
push esi
lea ecx, [esp + 0x294]
call fcn.0044ea87
push 0
push esi
lea ecx, [esp + 0x1d4]
call fcn.00451108
call fcn.00509213
ret