Function at 0x455eb0
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 0x4b4d2f
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.0043d2f0
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.00455170
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x455f75
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455f6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567de
push edx
push ecx
call fcn.0046fd05
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.00455a50
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x178], 0
jne 0x455fce
cmp dword [ebp - 0x160], 0
je 0x455fce
lea eax, [ebp - 0x170]
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.0045a4e0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
jmp 0x456023
push edi
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.00455ce0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x456014
mov ecx, eax
call fcn.004587a0
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.004587a0
mov dword [ebp - 0x38], 0
push 0x20a
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.00487c20
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 0x456454
nop dword [eax]
push 0x4d0208
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.0045a200
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 0x45608e
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 0x456096
sub ecx, dword [ebp - 0x50]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
push edx
call fcn.00459640
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.0043d150
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.00454290
or dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x80]
call fcn.0043d150
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.004350c0
cmp dword [ebp - 0x5c], 0
je 0x45631f
mov dword [ebp - 0x158], 0x4d0724
mov dword [ebp - 0x108], 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.00458870
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.004597e0
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.00459f60
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.0045b340
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.00459f60
add esp, 4
mov ecx, eax
call fcn.00457610
push ecx
mov edx, str._OS_err_details1
mov ecx, eax
call fcn.00459f60
add esp, 4
mov ecx, eax
call fcn.00457610
push ecx
mov edx, str._OS_err_details2
mov ecx, eax
call fcn.00459f60
add esp, 4
mov ecx, eax
call fcn.00457610
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x158]
call fcn.00456ec0
sub esp, 8
mov byte [ebp - 4], 0xc
mov edx, eax
mov ecx, 4
call fcn.004678d0
mov byte [ebp - 4], 0xb
add esp, 8
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x45629d
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456293
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567de
push edx
push ecx
call fcn.0046fd05
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.00457510
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 - 0x108], vtable.std::ios_base.0
call fcn.0046e48f
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x14]
jmp 0x4563c0
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x456329
mov edi, dword [esi]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4e7220]
cmp eax, dword [ecx + 4]
jle 0x45637d
push 0x4e7220
call fcn.0047032c
add esp, 4
cmp dword [0x4e7220], 0xffffffff
jne 0x45637d
push str.SetDllDirectoryW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e7220
mov dword [0x4e7224], eax
call fcn.004702e2
add esp, 4
mov eax, dword [0x4e7224]
test eax, eax
je 0x456389
push edi
call eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x456393
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 0x4563ac
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 0x456411
cmp edx, 0x10
jb 0x4563f1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4563e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567de
push edx
push ecx
call fcn.0046fd05
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 0x456060
jmp 0x456454
cmp edx, 0x10
jb 0x456442
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456438
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567e3
push edx
push ecx
call fcn.0046fd05
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 0x45649c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetLibraryVersion
push edi
call esi
test eax, eax
je 0x45649c
call eax
cmp eax, 1
jne 0x45649c
push 0x4d03e8
push edi
call esi
test eax, eax
je 0x456495
push dword [ebp - 0x3c]
push dword [ebp - 0x4c]
call eax
add esp, 8
xor esi, esi
jmp 0x456780
cmp dword [ebp - 0x38], 0
jne 0x45677d
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 0x456725
mov esi, dword [ebp - 0x4c]
mov ecx, esi
mov edx, dword [ebp - 0x3c]
call fcn.00452e80
test al, al
jne 0x456725
lea ecx, [ebp - 0x98]
call fcn.00455060
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push 0xe
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4d01e8
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0043d1b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
push 0
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x80]
call fcn.00454b50
add esp, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.0043d150
cmp dword [ebp - 0x70], 0
je 0x45670e
push 1
push 0x4d0208
lea ecx, [ebp - 0x80]
call fcn.00459640
push 0xe
push 0x4d01e8
lea ecx, [ebp - 0x80]
call fcn.00459640
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.00454290
lea ecx, [ebp - 0xc0]
call fcn.004032b0
mov edi, 1
mov byte [ebp - 4], 0x13
cmp esi, edi
jle 0x456648
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 0x4565b0
sub eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x68]
push eax
push edx
call fcn.0043d070
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0xb8], esi
je 0x456603
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 0x45661c
lea eax, [ebp - 0x68]
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.00441710
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x15
cmp eax, 0x10
jb 0x45663a
mov ecx, dword [ebp - 0x68]
xor edx, edx
push 0x4c7819
sub esp, 8
call fcn.004346b0
add esp, 0xc
inc edi
mov byte [ebp - 4], 0x13
cmp edi, dword [ebp - 0x4c]
jl 0x456590
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.00435d00
add esp, 4
lea ecx, [ebp - 0xc0]
test al, al
je 0x4566d1
call fcn.0043cf30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4566a5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45669b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567e8
push edx
push ecx
call fcn.0046fd05
add esp, 8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0043d150
lea ecx, [ebp - 0x98]
call fcn.0043d150
xor esi, esi
jmp 0x456780
call fcn.0043cf30
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x45670e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456704
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567ed
push edx
push ecx
call fcn.0046fd05
add esp, 8
lea ecx, [ebp - 0x80]
call fcn.0043d150
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.0043d150
mov edx, 3
lea ecx, [ebp - 0x98]
call fcn.00454c50
mov esi, eax
mov edx, 2
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xb0]
call fcn.00454c50
cmp dword [esi + 0x14], 8
jb 0x456753
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x45675b
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.0043d150
lea ecx, [ebp - 0x98]
call fcn.0043d150
or esi, 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.0043d150
mov edx, dword [ebp - 0x174]
cmp edx, 0x10
jb 0x4567c1
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4567b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4567f2
push edx
push ecx
call fcn.0046fd05
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.004587a0
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.004972dd
call fcn.004972dd
call fcn.004972dd
call fcn.004972dd
call fcn.004972dd
int3