Function at 0x4267e8
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x15]
push ebx
push eax
mov byte [esp + 0x1c], bl
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [esp + 0x11d]
push ebx
push eax
mov byte [esp + 0x124], bl
call fcn.005306b0
add esp, 0xc
inc dword [0x60c4cc]
cmp dword [0x60c4c8], ebx
jne 0x426db6
push str.LCLib.dll
push ebx
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
push 0x553c34
inc esi
lea eax, [esp + 0x124]
push esi
push eax
call fcn.004ce4e5
add esp, 0x14
push ebx
mov edi, str.libcrypto_1_1.dll
push edi
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
je 0x4268b3
push ebx
push edi
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x426903
cmp dword [0x60c5d4], ebx
jne 0x426903
lea edi, [esp + 0x118]
call fcn.00432263
test eax, eax
je 0x4268de
push str.libcrypto_1_1.dll
push str.:0:FYI:Failed_to_respawn__s
call fcn.0042bd38
pop ecx
pop ecx
jmp 0x426903
push str.LCLib.dll
push ebx
call fcn.00493030
mov edi, eax
call fcn.00432263
push eax
push str.libcrypto_1_1.dll
push str.:9:FAILED_TO_CREATE__s:__d
call fcn.0042b70b
add esp, 0x14
push str.LSLib.dll
push ebx
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
push 0x553c34
lea eax, [esp + 0x124]
push esi
push eax
call fcn.004ce4e5
add esp, 0x14
push ebx
mov edi, str.libssl_1_1.dll
push edi
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
je 0x42696b
push ebx
push edi
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x4269bd
cmp dword [0x60c5d4], ebx
jne 0x4269bd
lea edi, [esp + 0x118]
call fcn.00432263
test eax, eax
je 0x426996
push str.libssl_1_1.dll
push str.:0:FYI:Failed_to_respawn__s
call fcn.0042bd38
pop ecx
pop ecx
jmp 0x4269c7
push str.LSLib.dll
push ebx
call fcn.00493030
mov edi, eax
call fcn.00432263
push eax
push str.libssl_1_1.dll
push str.:9:FAILED_TO_CREATE__s:__d
call fcn.0042b70b
add esp, 0x14
jmp 0x4269c7
mov dword [0x60c5d4], 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jbe 0x426a02
lea edx, [esp + 0x10]
call fcn.004cd7e8
mov eax, edx
push eax
mov esi, 0x5528c8
call fcn.004ccd7a
test eax, eax
pop ecx
jne 0x4269fd
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, 0x104
call fcn.00493572
test eax, eax
mov eax, str.PNLibc.dll
jne 0x426a15
mov eax, str.PNLibc2.dll
push eax
push ebx
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
mov edi, 0x553c34
push edi
lea eax, [esp + 0x124]
push esi
push eax
call fcn.004ce4e5
add esp, 0x14
call fcn.00493572
test eax, eax
mov eax, str.PNLibc.dll
jne 0x426a4a
mov eax, str.PNLibc2.dll
push eax
push ebx
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
push edi
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004ce4e5
add esp, 0x14
push 1
lea eax, [esp + 0x14]
push eax
push eax
lea eax, [esp + 0x124]
push eax
call fcn.00431953
add esp, 0x10
test eax, eax
jne 0x426abe
push ebx
push ebx
call fcn.00493154
push eax
call fcn.00432310
add esp, 0xc
test eax, eax
jne 0x426abe
push ebx
push ebx
push ebx
call fcn.00493154
pop ecx
pop ecx
mov ecx, eax
call fcn.0043262d
pop ecx
push 1
lea eax, [esp + 0x14]
push eax
push eax
lea eax, [esp + 0x124]
push eax
call fcn.00431953
add esp, 0x10
call fcn.004187ab
test eax, eax
je 0x426acf
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push ebx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x426c13
call fcn.00493572
test eax, eax
mov eax, str.PNLibc.dll
jne 0x426afa
mov eax, str.PNLibc2.dll
push eax
push 0x54f4f0
lea eax, [esp + 0x120]
push esi
push eax
call fcn.004ce4e5
add esp, 0x10
call fcn.00493572
test eax, eax
mov eax, str.PNLibc.dll
jne 0x426b24
mov eax, str.PNLibc2.dll
push eax
push ebx
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
push 0x553c34
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004ce4e5
add esp, 0x14
push 1
lea eax, [esp + 0x14]
push eax
push eax
lea eax, [esp + 0x124]
push eax
call fcn.00431953
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x426c13
call fcn.00493572
test eax, eax
mov eax, str.PNLibc.dll
jne 0x426b82
mov eax, str.PNLibc2.dll
push eax
push ebx
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
push 0x553c34
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004ce4e5
add esp, 0x14
push 8
push ebx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x426bf3
lea edi, [esp + 0x10]
call fcn.00432263
test eax, eax
mov eax, edi
je 0x426bd8
push str._GetLastError_
push eax
push str.:7:curl_global_init___FAILED:_LoadLibrary___s___FAILED:_The_DLL_exists_but_could_not_be_loaded:__s
call fcn.0042b70b
add esp, 0xc
jmp 0x426be5
push eax
push str.:7:curl_global_init___FAILED:_LoadLibrary___s___FAILED:_The_DLL_could_not_be_found_
call fcn.0042b70b
pop ecx
pop ecx
dec dword [0x60c4cc]
push 2
pop eax
jmp 0x426db8
call fcn.00493572
test eax, eax
mov eax, str.PNLibc.dll
jne 0x426c06
mov eax, str.PNLibc2.dll
push eax
push str.:7:curl_global_init___had_to_load__s_directly_from_the_source_
call fcn.0042b70b
pop ecx
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.curl_global_init
push edi
call esi
cmp eax, ebx
jne 0x426c47
push str.curl_global_init___FAILED:_GetProcAddress__curl_global_init___FAILED.
call fcn.0042b70b
pop ecx
push 2
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
dec dword [0x60c4cc]
mov eax, esi
jmp 0x426db8
push 3
call eax
cmp eax, ebx
pop ecx
mov dword [esp + 0xc], eax
je 0x426c67
push eax
push str.:8:curl_global_init___FAILED:_Returned__ld.
call fcn.0042b70b
mov esi, dword [esp + 0x14]
pop ecx
pop ecx
jmp 0x426c33
push str.curl_easy_init
push edi
call esi
cmp eax, ebx
mov dword [0x60bed0], eax
jne 0x426c83
push str.:7:curl_global_init___FAILED:_curl_easy_init___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_easy_setopt
push edi
call esi
cmp eax, ebx
mov dword [0x60bed4], eax
jne 0x426c9f
push str.:7:curl_global_init___FAILED:_curl_easy_setopt___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_easy_perform
push edi
call esi
cmp eax, ebx
mov dword [0x60bed8], eax
jne 0x426cbb
push str.:7:curl_global_init___FAILED:_curl_easy_perform___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_easy_cleanup
push edi
call esi
cmp eax, ebx
mov dword [0x60bedc], eax
jne 0x426cd7
push str.:7:curl_global_init___FAILED:_curl_easy_cleanup___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_easy_escape
push edi
call esi
cmp eax, ebx
mov dword [0x60bee0], eax
jne 0x426cf3
push str.:7:curl_global_init___FAILED:_curl_easy_escape___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_free
push edi
call esi
cmp eax, ebx
mov dword [0x60bee4], eax
jne 0x426d0f
push str.:7:curl_global_init___FAILED:_curl_free___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_easy_getinfo
push edi
call esi
cmp eax, ebx
mov dword [0x60bee8], eax
jne 0x426d2b
push str.:7:curl_global_init___FAILED:_curl_easy_getinfo___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_formadd
push edi
call esi
cmp eax, ebx
mov dword [0x60beec], eax
jne 0x426d47
push str.:7:curl_global_init___FAILED:_curl_formadd___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_slist_append
push edi
call esi
cmp eax, ebx
mov dword [0x60bef0], eax
jne 0x426d63
push str.:7:curl_global_init___FAILED:_curl_slist_append___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_formfree
push edi
call esi
cmp eax, ebx
mov dword [0x60bef4], eax
jne 0x426d7f
push str.:7:curl_global_init___FAILED:_curl_formfree___could_not_be_loaded.
call fcn.0042b70b
pop ecx
push str.curl_slist_free_all
push edi
call esi
cmp eax, ebx
mov dword [0x60bef8], eax
jne 0x426d9b
push str.:7:curl_global_init___FAILED:_curl_slist_free_all___could_not_be_loaded.
call fcn.0042b70b
pop ecx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x104
mov eax, 0x60c4d0
mov dword [0x60c4c8], edi
call fcn.004ccc3f
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret