Function at 0x411d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x44a1b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x44a1b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
xor esi, esi
push esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1a], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], esi
mov word [esp + 0x40], dx
call fcn.00405de0
mov dword [esp + 0x80], esi
mov dword [esp + 0x18], esi
cmp dword [ebx + 0xc], esi
jbe 0x411fcc
jmp 0x411e24
mov ebx, ecx
xor esi, esi
cmp dword [esp + 0x48], esi
je 0x411fcc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], 0x50
call fcn.004058d0
xor ecx, ecx
mov word [esp + 0x54], cx
mov ecx, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x411e63
sub ecx, edi
sar ecx, 1
push ecx
lea esi, [esp + 0x58]
call fcn.00406270
lea edx, [esp + 0x28]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0x40]
push ecx
push ebx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x34]
lea edi, [esp + 0x30]
mov byte [esp + 0x90], 1
call fcn.00412490
mov bl, al
mov byte [esp + 0x80], 0
cmp dword [esp + 0x68], 8
mov byte [esp + 0x13], bl
jb 0x411ec5
mov edx, dword [esp + 0x54]
push edx
call fcn.0041e13f
add esp, 4
test bl, bl
mov ebx, dword [esp + 0x24]
je 0x411f8a
push 4
lea eax, [esp + 0x20]
push eax
push 0x3f
push ebx
mov dword [esp + 0x2c], 0x3f
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov ecx, ebx
call fcn.004127f0
mov byte [esp + 0x13], al
test al, al
je 0x411f8a
mov esi, edi
mov eax, dword [esi + 0x10]
cmp eax, 0x12d
je 0x411f44
cmp eax, 0x12e
je 0x411f44
cmp eax, 0x12f
je 0x411f44
cmp eax, 0x133
je 0x411f44
test eax, eax
je 0x411f8a
push ebx
mov ecx, esi
call fcn.00412ce0
mov ecx, dword [esp + 0x30]
push ecx
push ebx
push esi
call fcn.00412900
mov byte [esp + 0x12], 1
jmp 0x411f8a
inc dword [esp + 0x18]
push 0x21
push ebx
lea edi, [esp + 0x5c]
call fcn.00412e50
mov edi, eax
lea esi, [esp + 0x38]
mov byte [esp + 0x80], 2
call fcn.004056a0
mov byte [esp + 0x80], 0
cmp dword [esp + 0x68], 8
jb 0x411f83
mov edx, dword [esp + 0x54]
push edx
call fcn.0041e13f
add esp, 4
cmp dword [esp + 0x48], 0
je 0x411fcc
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x411f97
push ebx
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x411fa2
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x411fad
push eax
call esi
cmp byte [esp + 0x13], 0
je 0x411fcc
cmp byte [esp + 0x12], 0
jne 0x411fcc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0xc]
jb 0x411e20
cmp dword [esp + 0x4c], 8
jb 0x411fe0
mov edx, dword [esp + 0x38]
push edx
call fcn.0041e13f
add esp, 4
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0041e14a
mov esp, ebp
pop ebp
ret 0xc