Function at 0x46f7c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4457
mov eax, dword fs:[0]
push eax
sub esp, 0x590
mov eax, dword [0x5012c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x4f4]
push 1
mov dword [ebp - 4], 0
call fcn.00467f70
push 0x40
push 1
push str.wow.exe
lea ecx, [ebp - 0x4f4]
mov byte [ebp - 4], 1
call fcn.0046e460
mov eax, dword [ebp - 0x4f4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4e8], 6
je 0x46f898
push 0x4c9f70
push 0x508758
call fcn.00450f60
add esp, 8
mov ecx, 0x508800
call fcn.0046d780
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0
call fcn.004693b0
lea eax, [ebp - 0x47c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0048bfc7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a2017
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x4f4]
call fcn.0046c370
push esi
lea eax, [ebp - 0x424]
mov dword [esi], str.connection_patcher
push 2
push eax
mov dword [esi + 4], str.wow.exe
call fcn.0046ab60
add esp, 0xc
push 4
push str.help
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
call fcn.0045b410
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x41c]
call fcn.0046b5a0
mov dword [ebp - 0x3fc], 0
lea eax, [ebp - 0x3fc]
push dword [ebp - 0x3fc]
push eax
push dword [ebp - 0x400]
push dword [ebp - 0x404]
call fcn.00465610
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], 0x10
jb 0x46f956
push dword [ebp - 0x250]
call fcn.004a08c8
add esp, 4
cmp dword [ebp - 0x3fc], 0
je 0x46f9a7
mov ecx, 0x508800
call fcn.0046d780
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.0046a020
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0
call fcn.004693b0
lea eax, [ebp - 0x47c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0048bfc7
add esp, 4
xor eax, eax
jmp 0x46f87c
push str.path
lea ecx, [ebp - 0x250]
call fcn.00453a30
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x424]
call fcn.0048a0a0
push eax
call fcn.00465d80
add esp, 4
mov dword [ebp - 0x284], 0xf
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x288], 0
mov byte [ebp - 0x298], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.0045b210
cmp dword [ebp - 0x23c], 0x10
mov byte [ebp - 4], 6
jb 0x46fa1c
push dword [ebp - 0x250]
call fcn.004a08c8
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x298]
mov dword [ebp - 0x23c], 0xf
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
mov dword [ebp - 0x2b4], 0xf
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 0x2c8], 0
call fcn.0045b210
xor eax, eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 8
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0
lea eax, [ebp - 0x238]
push eax
push 0
call fcn.004a3c6e
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048b7cc
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x238]
push edi
push eax
push esi
call fcn.004a3c6e
add esp, 0xc
lea ecx, [ebp - 0x280]
push esi
call fcn.00468200
mov edi, eax
lea eax, [ebp - 0x268]
cmp eax, edi
je 0x46fb37
cmp dword [ebp - 0x254], 8
jb 0x46fb0e
push dword [ebp - 0x268]
call fcn.004a08c8
add esp, 4
xor eax, eax
mov dword [ebp - 0x254], 7
push edi
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.0046b1a0
cmp dword [ebp - 0x26c], 8
jb 0x46fb4e
push dword [ebp - 0x280]
call fcn.004a08c8
add esp, 4
push esi
call fcn.004a17ba
add esp, 4
lea ecx, [ebp - 0x280]
push str.modulePath
call fcn.00453a30
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x41c]
call fcn.0046b5a0
mov dword [ebp - 0x3fc], 0
lea eax, [ebp - 0x3fc]
push dword [ebp - 0x3fc]
push eax
push dword [ebp - 0x400]
push dword [ebp - 0x404]
call fcn.00465610
add esp, 0x10
mov byte [ebp - 4], 8
cmp dword [ebp - 0x26c], 0x10
jb 0x46fbca
push dword [ebp - 0x280]
call fcn.004a08c8
add esp, 4
cmp dword [ebp - 0x3fc], 0
je 0x46fca8
push str.modulePath
lea ecx, [ebp - 0x280]
call fcn.00453a30
push str.modulePath
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xa
call fcn.00453a30
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x424]
call fcn.0048a0a0
push eax
call fcn.00465d80
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x46fc24
mov ecx, dword [eax]
jmp 0x46fc26
mov ecx, eax
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x250]
add esi, ecx
lea ecx, [ebp - 0x424]
push eax
call fcn.0048a0a0
push eax
call fcn.00465d80
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x46fc4e
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0x268]
call fcn.00465e10
cmp dword [ebp - 0x23c], 0x10
jb 0x46fc72
push dword [ebp - 0x250]
call fcn.004a08c8
add esp, 4
cmp dword [ebp - 0x26c], 0x10
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 8
jb 0x46fca8
push dword [ebp - 0x280]
call fcn.004a08c8
add esp, 4
push 0x40
push 1
push 0x4c9fc4
lea ecx, [ebp - 0x4f4]
call fcn.0046e460
sub esp, 0x18
lea eax, [ebp - 0x298]
mov ecx, esp
push 0
push eax
call fcn.00463730
lea ecx, [ebp - 0x350]
call fcn.004619e0
mov eax, dword [ebp - 0x4f4]
mov byte [ebp - 4], 0xc
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4e8], 6
je 0x46fdd1
push 0x4c9fd0
push 0x508758
call fcn.00450f60
add esp, 8
push eax
call fcn.00461430
add esp, 4
mov ecx, 0x508800
call fcn.0046d780
lea ecx, [ebp - 0x350]
call fcn.00469c40
cmp dword [ebp - 0x254], 8
jb 0x46fd3c
push dword [ebp - 0x268]
call fcn.004a08c8
add esp, 4
xor eax, eax
mov dword [ebp - 0x254], 7
cmp dword [ebp - 0x2b4], 0x10
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x46fd70
push dword [ebp - 0x2c8]
call fcn.004a08c8
add esp, 4
cmp dword [ebp - 0x284], 0x10
mov dword [ebp - 0x2b4], 0xf
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 0x2c8], 0
jb 0x46fda2
push dword [ebp - 0x298]
call fcn.004a08c8
add esp, 4
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x284], 0xf
mov dword [ebp - 0x288], 0
mov byte [ebp - 0x298], 0
mov byte [ebp - 4], 1
call fcn.0046a020
jmp 0x46f84f
lea ecx, [ebp - 0x4f4]
call fcn.0046c370
mov eax, dword [ebp - 0x32c]
cmp eax, 0x14c
je 0x46ff70
cmp eax, 0x8664
je 0x46febe
cmp eax, 0xfeedfacf
je 0x46fe5f
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0046f670
add esp, 8
push eax
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 0x19
push str.Type:
push eax
call fcn.00463930
add esp, 0xc
push str._not_supported_
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
push eax
call fcn.004512b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x1b
call fcn.004545c0
push 0x4f7b60
lea eax, [ebp - 0x434]
push eax
call fcn.004a2026
push 0
push str._Users_Shared_Blizzard_Battle.net_Cache_
lea ecx, [ebp - 0x2e0]
call fcn.00463650
push str.97eeb2e28e9e56ed6a22d09f44e2ff43c93315e006bbad43bafc0defaa6f50ae.auth
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x17
call fcn.00453a30
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00465e90
add esp, 8
lea ecx, [ebp - 0x280]
call fcn.00454cf0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0xc
call fcn.00454d20
jmp 0x47006c
push str._Blizzard_Entertainment_Battle.net_Cache_
lea ecx, [ebp - 0x3b0]
call fcn.00468200
mov esi, eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x368]
call fcn.00469270
push esi
push eax
lea eax, [ebp - 0x3c8]
mov byte [ebp - 4], 0x13
push eax
call fcn.004639d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0x14
call fcn.00469270
push str.0a3afee2cade3a0e8b458c4b4660104cac7fc50e2ca9bef0d708942e77f15c1d.auth
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x15
call fcn.00453a30
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004663c0
add esp, 8
lea ecx, [ebp - 0x328]
call fcn.00454cf0
lea ecx, [ebp - 0x310]
call fcn.00454d20
lea ecx, [ebp - 0x3c8]
call fcn.00454d20
lea ecx, [ebp - 0x368]
call fcn.00454d20
lea ecx, [ebp - 0x3b0]
jmp 0x470063
push str._Blizzard_Entertainment_Battle.net_Cache_
lea ecx, [ebp - 0x398]
call fcn.00468200
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0xd
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2b0], ax
lea ecx, [ebp - 0x2b0]
lea eax, [ebp - 0x268]
mov dword [ebp - 0x29c], 7
push eax
mov dword [ebp - 0x2a0], 0
call fcn.0045b510
push esi
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x380]
push eax
call fcn.004639d0
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x250], cx
lea ecx, [ebp - 0x250]
push eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
call fcn.0045b510
push str.8f52906a2c85b416a595702251570f96d3522f39237603115f2f1ab24962043c.auth
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0x10
call fcn.00453a30
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.004668f0
add esp, 8
lea ecx, [ebp - 0x2f8]
call fcn.00454cf0
lea ecx, [ebp - 0x250]
call fcn.00454d20
lea ecx, [ebp - 0x380]
call fcn.00454d20
lea ecx, [ebp - 0x2b0]
call fcn.00454d20
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0xc
call fcn.00454d20
push 0x4ca180
push 0x508758
call fcn.00450f60
add esp, 8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea eax, [ebp - 0x134]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00453a30
push 0xffffffffffffffff
push 0x4ca1c4
mov ecx, eax
call fcn.0046d6c0
cmp dword [ebp - 0x2e4], 0x10
mov esi, eax
jb 0x4700d6
push dword [ebp - 0x2f8]
call fcn.004a08c8
add esp, 4
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x280]
call fcn.00453a30
push esi
push 0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1c
push ecx
mov ecx, eax
call fcn.0046f630
push str.wtfConfig.wtf
push eax
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0x1d
push eax
call fcn.004512b0
add esp, 0xc
push 1
push 0x40
push 8
push eax
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x1e
call fcn.004617f0
cmp dword [ebp - 0x29c], 0x10
jb 0x470143
push dword [ebp - 0x2b0]
call fcn.004a08c8
add esp, 4
mov dword [ebp - 0x29c], 0xf
mov dword [ebp - 0x2a0], 0
mov byte [ebp - 0x2b0], 0
cmp dword [ebp - 0x2cc], 0x10
jb 0x470175
push dword [ebp - 0x2e0]
call fcn.004a08c8
add esp, 4
mov dword [ebp - 0x2cc], 0xf
mov dword [ebp - 0x2d0], 0
mov byte [ebp - 0x2e0], 0
cmp dword [ebp - 0x26c], 0x10
mov byte [ebp - 4], 0x22
jb 0x4701ab
push dword [ebp - 0x280]
call fcn.004a08c8
add esp, 4
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x26c], 0xf
mov dword [ebp - 0x270], 0
mov byte [ebp - 0x280], 0
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x590], 6
je 0x470227
push 0x4ca1d8
push 0x508758
call fcn.00450f60
add esp, 8
lea ecx, [ebp - 0x59c]
call fcn.00461da0
lea ecx, [ebp - 0x350]
call fcn.00469c40
lea ecx, [ebp - 0x268]
call fcn.00454d20
lea ecx, [ebp - 0x2c8]
call fcn.00454cf0
lea ecx, [ebp - 0x298]
call fcn.00454cf0
jmp 0x46f969
mov ax, word [0x4ca200]
movdqu xmm0, xmmword [str.RGW_unpwei__tka_ulsln_maq]
mov word [ebp - 0x18], ax
mov al, byte [0x4ca202]
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x24c]
movdqu xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x4ca1f8]
lea eax, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [0x4ca460]
push eax
movdqu xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x23c], 5
call fcn.0046ab10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x59c]
push eax
call fcn.00450f60
add esp, 0x10
lea ecx, [ebp - 0x59c]
call fcn.0046c420
push str.start_iowod.io
call fcn.004a3cb4
add esp, 4
jmp 0x4701eb