Function at 0x4194f0
Capabilities:
Check http status code
Create directory
Delete file
Move file
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4522e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
mov ebx, ecx
lea ecx, [esp + 0xfc]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
call fcn.0041bf50
xor edi, edi
mov dword [esp + 0x1d4], edi
cmp dword [esp + 0x168], edi
jne 0x419599
lea esi, [esp + 0xfc]
call fcn.0041c0b0
mov dword [esp + 0x168], eax
cmp eax, edi
je 0x41957f
mov dword [esp + 0x164], 1
jmp 0x419599
lea esi, [esp + 0xfc]
call fcn.0041c230
mov dword [esp + 0x168], eax
mov dword [esp + 0x164], edi
xor edx, edx
mov ebp, 7
push edi
mov eax, 0x45ba38
lea esi, [esp + 0xc8]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], dx
call fcn.004070b0
mov byte [esp + 0x1d4], 1
xor eax, eax
mov word [esp + 0x74], ax
push edi
mov eax, 0x45ba38
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
call fcn.004070b0
mov byte [esp + 0x1d4], 2
xor ecx, ecx
push edi
mov eax, 0x45ba38
lea esi, [esp + 0x90]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], cx
call fcn.004070b0
mov byte [esp + 0x1d4], 3
cmp dword [ebx + 0x24], 8
jb 0x419639
mov eax, dword [ebx + 0x10]
jmp 0x41963c
lea eax, [ebx + 0x10]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x419650
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x3c]
call fcn.004070b0
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
push ecx
lea edx, [esp + 0x94]
lea ecx, [esp + 0x78]
mov byte [esp + 0x1dc], 4
call fcn.00419330
mov byte [esp + 0x1d4], 3
cmp dword [esp + 0x50], 8
jb 0x4196a8
mov edx, dword [esp + 0x3c]
push edx
call fcn.004308f5
add esp, 4
mov eax, dword [esp + 0x28]
lea ebp, [eax + 0x28]
add eax, 0x44
push eax
push ebp
lea edi, [esp + 0xb0]
call fcn.0041b6d0
mov eax, edi
push eax
mov ebx, 0x45cf98
lea esi, [esp + 0x60]
mov byte [esp + 0x1e0], 5
call fcn.0041b780
add esp, 0xc
mov byte [esp + 0x1d4], 6
cmp dword [ebp + 0x18], 8
jb 0x4196ef
mov ebp, dword [ebp + 4]
jmp 0x4196f2
add ebp, 4
xor ebx, ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x58]
mov ebp, 8
cmp dword [esp + 0x6c], ebp
jae 0x41970f
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [esp + 0xe0]
call fcn.004050b0
mov byte [esp + 0x1d4], 7
xor edi, edi
mov dword [esp + 0x20], ebx
cmp dword [esp + 0xf4], ebx
je 0x419781
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], ebp
jae 0x419750
lea eax, [esp + 0xe4]
push ebx
push ebx
push eax
push 3
push str.Mozilla_4.0__compatible___
cmp dword [esp + 0x178], ebx
je 0x419772
call dword [esp + 0x114]
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x4197aa
call dword [esp + 0x148]
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x4197aa
push ebx
push ebx
push ebx
push 1
push str.Mozilla_4.0__compatible___
cmp dword [esp + 0x178], ebx
je 0x41979d
call dword [esp + 0x114]
jmp 0x4197a4
call dword [esp + 0x148]
mov esi, eax
mov dword [esp + 0x14], eax
cmp esi, ebx
jne 0x4197b8
mov ebp, 2
jmp 0x419a90
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x4197c9
lea eax, [esp + 0x74]
cmp dword [esp + 0x168], ebx
jne 0x4197e0
mov dword [esp + 0x20], ebx
mov ebp, 3
jmp 0x419a90
push ebx
cmp dword [esp + 0x168], ebx
je 0x4197f7
push 0x50
push eax
push esi
call dword [esp + 0x114]
jmp 0x419807
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push esi
call dword [esp + 0x158]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x419819
mov ebp, 3
jmp 0x419a90
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0xa4], ebp
jae 0x419830
lea ecx, [esp + 0x90]
push eax
xor eax, eax
mov edx, 0x45cfdc
lea esi, [esp + 0x100]
call fcn.0041c390
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, ebx
jne 0x419858
mov ebp, 4
jmp 0x419a8c
cmp dword [esp + 0x168], ebx
je 0x419886
push ebx
push ebx
push ebx
push ebx
cmp dword [esp + 0x174], ebx
je 0x41987a
push ebx
push ebx
push edi
call dword [esp + 0x12c]
jmp 0x419882
push edi
call dword [esp + 0x158]
cmp eax, ebx
jne 0x419890
mov ebp, 5
jmp 0x419a8c
cmp dword [esp + 0x168], ebx
je 0x4198af
cmp dword [esp + 0x164], ebx
je 0x4198b9
push ebx
push edi
call dword [esp + 0x11c]
cmp eax, ebx
jne 0x4198b9
mov ebp, 6
jmp 0x419a8c
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
mov esi, 0x20000013
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], 4
call fcn.0041c4e0
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
je 0x4198f1
mov ebp, eax
jmp 0x419a8c
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0xfc]
push edx
xor ebp, ebp
lea ecx, [esp + 0x28]
lea edx, [esp + 0x34]
mov esi, 0x20000005
mov dword [esp + 0x34], ebp
call fcn.0041c4e0
push 0x4000
call fcn.00430e79
mov ebx, dword [esp + 0x2c]
add esp, 4
cmp byte [ebx + 4], 0
mov edi, eax
mov dword [esp + 0x18], ebp
jne 0x419a16
push 0x4000
push 0
push edi
call fcn.004375f0
add esp, 0xc
cmp dword [esp + 0x168], 0
je 0x419a1d
cmp dword [esp + 0x164], 0
je 0x419977
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0x4000
push edi
push ecx
call dword [esp + 0x12c]
jmp 0x41998e
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x4000
push edi
push eax
call dword [esp + 0x15c]
test eax, eax
je 0x419a1d
cmp dword [esp + 0x18], 0
je 0x419a24
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x4199b0
lea eax, [esp + 0x58]
push 0x45cfe4
push eax
call fcn.00431f4c
mov esi, eax
add esp, 8
test esi, esi
je 0x419a28
mov ecx, dword [esp + 0x18]
push esi
push 1
push ecx
push edi
call fcn.004320c5
push esi
call fcn.004321be
add esp, 0x14
push 0x4000
push 0
push edi
call fcn.004375f0
add ebp, dword [esp + 0x24]
add esp, 0xc
cmp dword [ebx + 8], 0
je 0x419a04
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx]
push ebp
push eax
call edx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebx + 4], 0
je 0x419936
mov ebp, 1
jmp 0x419a2d
mov ebp, 8
jmp 0x419a2d
xor ebp, ebp
jmp 0x419a2d
mov ebp, 7
push edi
call fcn.00430d9c
mov eax, dword [esp + 0xb0]
mov esi, 8
add esp, 4
cmp dword [esp + 0xc0], esi
jae 0x419a52
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xac]
cmp dword [esp + 0xc0], esi
jae 0x419a70
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x419a7e
lea eax, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov esi, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
cmp edi, ebx
je 0x419ac3
cmp dword [esp + 0x168], ebx
je 0x419ac3
push edi
cmp dword [esp + 0x168], ebx
je 0x419abc
call dword [esp + 0x124]
jmp 0x419ac3
call dword [esp + 0x154]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x419aee
cmp dword [esp + 0x168], ebx
je 0x419aee
push eax
cmp dword [esp + 0x168], ebx
je 0x419ae7
call dword [esp + 0x124]
jmp 0x419aee
call dword [esp + 0x154]
cmp esi, ebx
je 0x419b15
cmp dword [esp + 0x168], ebx
je 0x419b15
push esi
cmp dword [esp + 0x168], ebx
je 0x419b0e
call dword [esp + 0x124]
jmp 0x419b15
call dword [esp + 0x154]
push 0x34
lea edx, [esp + 0x100]
push ebx
push edx
mov dword [esp + 0x174], ebx
call fcn.004375f0
add esp, 0xc
push 0x2c
lea eax, [esp + 0x134]
push ebx
push eax
call fcn.004375f0
mov eax, dword [esp + 0x168]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
add esp, 0xc
cmp eax, ebx
je 0x419b56
push eax
call esi
mov eax, dword [esp + 0x160]
mov dword [esp + 0x15c], ebx
cmp eax, ebx
je 0x419b6b
push eax
call esi
mov edi, 8
mov dword [esp + 0x160], ebx
cmp dword [esp + 0xf8], edi
jb 0x419b90
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.004308f5
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], dx
cmp dword [esp + 0x6c], edi
jb 0x419bc0
mov eax, dword [esp + 0x58]
push eax
call fcn.004308f5
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
cmp dword [esp + 0xc0], edi
jb 0x419be8
mov edx, dword [esp + 0xac]
push edx
call fcn.004308f5
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], edi
jb 0x419c19
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004308f5
add esp, 4
xor edx, edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], edi
jb 0x419c47
mov eax, dword [esp + 0x74]
push eax
call fcn.004308f5
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
cmp dword [esp + 0xdc], edi
jb 0x419c75
mov edx, dword [esp + 0xc8]
push edx
call fcn.004308f5
add esp, 4
mov dword [esp + 0xdc], esi
xor eax, eax
lea esi, [esp + 0xfc]
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], ax
call fcn.0041c010
mov eax, ebp
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00430900
add esp, 0x1c4
ret 4