Function at 0x44f930
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b61df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x388
push esi
xor eax, eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], eax
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x28]
push 6
push str.__uri
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0043d0c0
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
push edi
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
call fcn.0044ebf0
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44f9f5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f9eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45025e
push edx
push ecx
call fcn.00471305
add esp, 8
push edi
mov edx, esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0044f4d0
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x178], 0
jne 0x44fa4e
cmp dword [ebp - 0x160], 0
je 0x44fa4e
lea eax, [ebp - 0x170]
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.00453f60
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
jmp 0x44faa3
push edi
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.0044f760
mov esi, eax
add esp, 4
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x44fa94
mov ecx, eax
call fcn.00452220
mov eax, dword [esi]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x40], eax
mov dword [esi + 8], 0
lea ecx, [ebp - 0x5c]
call fcn.00452220
mov dword [ebp - 0x38], 0
push 0x20a
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.00489230
add esp, 0xc
lea eax, [ebp - 0x398]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp - 0x48]
xor edi, edi
cmp esi, dword [ebp - 0x30]
je 0x44fed4
nop dword [eax]
push 0x4d0f1c
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.00453c80
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
mov edx, str.battle.net.dll
mov byte [ebp - 4], 5
sub ecx, 1
jne 0x44fb0e
mov edx, str.Battle.net_Helper.dll
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x50], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fb16
sub ecx, dword [ebp - 0x50]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
push edx
call fcn.004530c0
or dword [ebp - 0x2c], 2
xor ecx, ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.0043cf20
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.0044dd10
or dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x80]
call fcn.0043cf20
mov byte [ebp - 4], 8
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x5c]
cmovae edx, dword [ebp - 0x28]
call fcn.00434e90
cmp dword [ebp - 0x5c], 0
je 0x44fd9f
mov dword [ebp - 0x158], 0x4d143c
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0x2c]
sub esp, 8
or eax, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x154]
push eax
call fcn.004522f0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x154]
call fcn.00453260
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 4
mov edx, str.Blizzard_code_signature_check_failed_on_
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x158]
call fcn.004539e0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.00454dc0
add esp, 4
mov edx, str.__not_launching._Error
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.004539e0
add esp, 4
mov ecx, eax
call fcn.00451090
push ecx
mov edx, str._OS_err_details1
mov ecx, eax
call fcn.004539e0
add esp, 4
mov ecx, eax
call fcn.00451090
push ecx
mov edx, str._OS_err_details2
mov ecx, eax
call fcn.004539e0
add esp, 4
mov ecx, eax
call fcn.00451090
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x158]
call fcn.00450940
sub esp, 8
mov byte [ebp - 4], 0xc
mov edx, eax
mov ecx, 4
call fcn.00461410
mov byte [ebp - 4], 0xb
add esp, 8
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x44fd1d
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fd13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45025e
push edx
push ecx
call fcn.00471305
add esp, 8
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x154]
call fcn.00450f90
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x15c], eax
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0046face
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x14]
jmp 0x44fe40
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x44fda9
mov edi, dword [esi]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4e91e0]
cmp eax, dword [ecx + 4]
jle 0x44fdfd
push 0x4e91e0
call fcn.0047192c
add esp, 4
cmp dword [0x4e91e0], 0xffffffff
jne 0x44fdfd
push str.SetDllDirectoryW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e91e0
mov dword [0x4e91e4], eax
call fcn.004718e2
add esp, 4
mov eax, dword [0x4e91e4]
test eax, eax
je 0x44fe09
push edi
call eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44fe13
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x38]
sub eax, 1
mov eax, str.battle.net.dll
jne 0x44fe2c
mov eax, str.Battle.net_Helper.dll
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
test edi, edi
jne 0x44fe91
cmp edx, 0x10
jb 0x44fe71
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fe67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45025e
push edx
push ecx
call fcn.00471305
add esp, 8
add esi, 0x18
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
cmp esi, dword [ebp - 0x30]
jne 0x44fae0
jmp 0x44fed4
cmp edx, 0x10
jb 0x44fec2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44feb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450263
push edx
push ecx
call fcn.00471305
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test edi, edi
je 0x44ff1c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetLibraryVersion
push edi
call esi
test eax, eax
je 0x44ff1c
call eax
cmp eax, 1
jne 0x44ff1c
push 0x4d1100
push edi
call esi
test eax, eax
je 0x44ff15
push dword [ebp - 0x3c]
push dword [ebp - 0x4c]
call eax
add esp, 8
xor esi, esi
jmp 0x450200
cmp dword [ebp - 0x38], 0
jne 0x4501fd
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x48]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jae 0x4501a5
mov esi, dword [ebp - 0x4c]
mov ecx, esi
mov edx, dword [ebp - 0x3c]
call fcn.0044c790
test al, al
jne 0x4501a5
lea ecx, [ebp - 0x98]
call fcn.0044eae0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push 0xe
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4d0efc
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0043cf80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
push 0
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x80]
call fcn.0044e5d0
add esp, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.0043cf20
cmp dword [ebp - 0x70], 0
je 0x45018e
push 1
push 0x4d0f1c
lea ecx, [ebp - 0x80]
call fcn.004530c0
push 0xe
push 0x4d0efc
lea ecx, [ebp - 0x80]
call fcn.004530c0
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.0044dd10
lea ecx, [ebp - 0xc0]
call fcn.00403160
mov edi, 1
mov byte [ebp - 4], 0x13
cmp esi, edi
jle 0x4500c8
mov esi, dword [ebp - 0xbc]
nop dword [eax]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov edx, dword [eax + edi*4]
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x34], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450030
sub eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x68]
push eax
push edx
call fcn.0043ce40
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0xb8], esi
je 0x450083
movups xmm0, xmmword [ebp - 0x68]
mov dword [esi + 0x10], 0
mov eax, 0xf
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x68], 0
movq xmm0, qword [ebp - 0x58]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0xbc], esi
jmp 0x45009c
lea eax, [ebp - 0x68]
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.004414e0
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x15
cmp eax, 0x10
jb 0x4500ba
mov ecx, dword [ebp - 0x68]
xor edx, edx
push 0x4c87fe
sub esp, 8
call fcn.00434480
add esp, 0xc
inc edi
mov byte [ebp - 4], 0x13
cmp edi, dword [ebp - 0x4c]
jl 0x450010
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.00435ad0
add esp, 4
lea ecx, [ebp - 0xc0]
test al, al
je 0x450151
call fcn.0043cd00
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x450125
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45011b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450268
push edx
push ecx
call fcn.00471305
add esp, 8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0043cf20
lea ecx, [ebp - 0x98]
call fcn.0043cf20
xor esi, esi
jmp 0x450200
call fcn.0043cd00
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x45018e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x450184
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45026d
push edx
push ecx
call fcn.00471305
add esp, 8
lea ecx, [ebp - 0x80]
call fcn.0043cf20
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.0043cf20
mov edx, 3
lea ecx, [ebp - 0x98]
call fcn.0044e6d0
mov esi, eax
mov edx, 2
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xb0]
call fcn.0044e6d0
cmp dword [esi + 0x14], 8
jb 0x4501d3
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4501db
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0xb0]
call fcn.0043cf20
lea ecx, [ebp - 0x98]
call fcn.0043cf20
or esi, 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.0043cf20
mov edx, dword [ebp - 0x174]
cmp edx, 0x10
jb 0x450241
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x450237
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450272
push edx
push ecx
call fcn.00471305
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.00452220
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049880d
call fcn.0049880d
call fcn.0049880d
call fcn.0049880d
call fcn.0049880d
int3