Function at 0x416340
Capabilities:
Check http status code
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bb689
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x4fef88]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x16c]
mov esi, ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], esi
mov dword [0x4feef0], edi
call fcn.004a9c8d
mov ecx, dword [0x4f5b3c]
xor ebx, ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x164], 1
call fcn.004af28a
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 2
call fcn.004aad1d
mov edx, dword [0x4f5b3c]
mov dword [esp + 0x38], edx
or ebp, 0xffffffff
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x168], 4
mov dword [esp + 0x2c], vtable.CFileException.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
call fcn.004a9d5c
mov eax, dword [esp + 0x174]
mov bl, 5
test eax, eax
mov byte [esp + 0x164], bl
jne 0x416786
test byte [0x4feef8], 0x28
je 0x416786
test edi, edi
jne 0x416463
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 0xb
lea ecx, [esp + 0x38]
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x164], 1
call fcn.004af2bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], ebp
call fcn.004a9c1f
mov eax, 1
jmp 0x4168c2
push 0x4ef190
lea ecx, [esp + 0x14]
call fcn.004a7309
cmp eax, ebp
jle 0x4164a8
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x168], 0xc
call fcn.004a9d5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x164], bl
call fcn.004a9c1f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00434f30
mov esi, eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x168], 0xd
call fcn.00434d10
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x16c], 0xe
push eax
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x168], 0xf
call fcn.004a9d5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x164], 0xe
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 0xd
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], bl
call fcn.004a9c1f
push 0x4ef188
lea ecx, [esp + 0x14]
call fcn.004a9faf
lea ecx, [esp + 0x58]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.pcinst.log
lea edx, [esp + 0x1c]
push 0x4ff328
push edx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x168], 0x10
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], bl
call fcn.004a9c1f
mov eax, dword [0x4fef88]
lea ecx, [esp + 0x10]
push eax
call fcn.004a9d5c
push str.__Au
lea ecx, [esp + 0x14]
call fcn.004a7309
cmp eax, ebp
jle 0x4165b4
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 0x11
jmp 0x416882
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push 0x1001
push edx
lea ecx, [esp + 0x50]
call fcn.004af2ff
test eax, eax
jne 0x4165e5
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 0x12
jmp 0x416882
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push str.app
push ecx
call fcn.004a9edc
push 0x4eedbc
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x170], 0x13
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x168], 0x14
call fcn.004af472
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0x13
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], bl
call fcn.004a9c1f
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 0x40]
push str._d_:
push eax
mov byte [esp + 0x170], 0x16
call fcn.004a768f
add esp, 0xc
cmp edi, 0x65
jne 0x416683
push 0x8c9
lea ecx, [esp + 0x28]
call fcn.004abac8
jmp 0x416694
mov ecx, dword [esp + 0x40]
add ecx, 0x68
push ecx
lea ecx, [esp + 0x28]
call fcn.004a9d0c
lea edx, [esp + 0x3c]
lea eax, [esp + 0x1c]
push edx
push str.err
push eax
call fcn.004a9edc
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x170], 0x17
call fcn.004a9e02
push 0x4eedbc
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x16c], 0x18
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x168], 0x19
call fcn.004af472
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0x18
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 0x17
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x164], 0x16
call fcn.004a9c1f
lea ecx, [esp + 0x44]
call fcn.004af62f
mov ecx, dword [0x4ff144]
test ecx, ecx
je 0x416750
cmp dword [0x4ff9ac], 2
jle 0x416750
cmp edi, 0xb4
jl 0x41674b
cmp edi, 0xc8
jl 0x416750
call fcn.0040f590
lea ecx, [esp + 0x24]
mov byte [esp + 0x164], 0x15
call fcn.004a9c1f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x164], bl
call fcn.004a9c1f
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 0x1a
jmp 0x416882
mov ecx, esi
call fcn.004ab6d9
mov esi, eax
mov eax, dword [esp + 0x170]
test eax, eax
je 0x4167ac
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 6
jmp 0x4167e2
cmp esi, 1
jne 0x4167c6
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 7
jmp 0x41641e
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x64]
cmp eax, 2
jne 0x416824
mov dword [esp + 0x28], vtable.CFileException.0
mov byte [esp + 0x164], 8
lea ecx, [esp + 0x38]
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x164], 1
call fcn.004af2bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], ebp
call fcn.004a9c1f
mov eax, esi
jmp 0x4168c2
test eax, eax
mov dword [esp + 0x28], vtable.CFileException.0
jne 0x41687a
lea ecx, [esp + 0x38]
mov byte [esp + 0x164], 9
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x164], 1
call fcn.004af2bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], ebp
call fcn.004a9c1f
mov eax, 7
jmp 0x4168c2
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x38]
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x164], 1
call fcn.004af2bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], ebp
call fcn.004a9c1f
mov eax, 2
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc