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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0xbc]
mov esi, 0x43df60
push ebx
mov ebx, ecx
mov ecx, 0xa4
sub esp, 0xe4
test edi, edi
je 0x42d201
test esi, esi
je 0x42d201
jecxz 0x42d201
cld
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xbc]
mov ecx, ebx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x40]
lea edx, [eax + 0x23e8]
mov dword [ebp - 0x1c], edx
lea edx, [eax + 0x63e8]
add eax, 0x25e8
push edx
push eax
call fcn.004079f8
mov dword [ebp - 0x4c], eax
pop edi
pop eax
test byte [ebx + 0x34], 1
je 0x42d26a
mov edx, dword [ebx + 0x4c]
mov dword [ebp - 0x5c], str.POST
xor eax, eax
mov dword [ebp - 0x44], edx
test edx, edx
je 0x42d24e
mov eax, dword [ebx + 0x68]
push esi
push esi
push str.CONTENT_TYPE
push dword [ebx + 0x54]
mov dword [ebp - 0x48], eax
call fcn.00405368
add esp, 0x10
test eax, eax
je 0x42d26a
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x42d274
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 0x2c], ebx
test eax, eax
mov dword [ebp - 0x50], edx
cmove eax, edx
mov dword [ebp - 0x20], edx
sub esp, 0xc
push dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
add esp, 0xc
test eax, eax
jne 0x42d36c
push ecx
push ecx
push dword [ebp - 0x1c]
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x5c
push dword [ebp + 8]
call fcn.00403476
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
mov esi, eax
je 0x42d2e4
mov byte [eax], 0
sub esp, 0xc
push dword [ebp + 8]
call edi
mov byte [esi], 0x5c
add esp, 0xc
sub esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [ebp - 0x1c]
mov esi, eax
call edi
add esp, 0xc
cmp esi, 0x1f
ja 0x42d34d
sub esp, 0xc
push dword [ebp + 8]
mov ecx, ebx
call fcn.004040fa
push str.Cant_Load...
mov ecx, ebx
call fcn.004040fa
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x3c]
add esp, 0xc
push dword [ebx + 0x48]
push eax
push str.Error_run__s_with__s__r_n
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_wsprintfA]
pop esi
mov ecx, ebx
pop edi
push 0x190
push dword [ebp - 0x1c]
call fcn.0040b1ae
pop eax
xor eax, eax
pop edx
jmp 0x42d443
push eax
push eax
push str.GetExtensionVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edx
pop ecx
test eax, eax
je 0x42d36c
sub esp, 0xc
push dword [ebp - 0x1c]
call eax
add esp, 0xc
push eax
push eax
push str.HttpExtensionProc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
mov edx, eax
pop edi
test eax, eax
jne 0x42d396
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Function_not_found...
jmp 0x42d311
lea eax, [ebp - 0xd4]
mov dword [eax], esp
add eax, 8
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
sub esp, 0xc
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0x42d3f9
mov dword [ebp - 0xc4], 0x43e004
mov dword [ebp - 0xc0], 0
push eax
call edx
add esp, 0xc
cmp eax, 3
jle 0x42d3f9
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add esp, 0xc
mov dword [ebp - 0xc0], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword fs:[0], eax
cmp byte [ebp - 0xac], 0
mov dword [ebp - 0xcc], eax
mov eax, 1
je 0x42d443
sub esp, 0xc
lea edx, [ebp - 0xac]
mov ecx, ebx
mov dword [ebp - 0xdc], eax
push edx
call fcn.004040fa
mov eax, dword [ebp - 0xdc]
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4