Function at 0x453c30
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bec9b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x189c
call fcn.004b0f20
mov eax, dword [0x4e51e0]
xor eax, esp
mov dword [esp + 0x1898], eax
push ebx
push esi
push edi
mov eax, dword [0x4e51e0]
xor eax, esp
push eax
lea eax, [esp + 0x18b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x3fe
mov edi, ecx
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0xaa]
push ebx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0xb0], bx
call fcn.0048ffc0
add esp, 0xc
push 0x1400
lea eax, [esp + 0x4a8]
push ebx
push eax
call fcn.0048ffc0
add esp, 0xc
push 0x38
lea ecx, [esp + 0x48]
push ebx
push ecx
call fcn.0048ffc0
lea eax, [esp + 0x4b0]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x10b0]
mov dword [esp + 0x78], eax
mov eax, 0x200
lea edx, [esp + 0x14b0]
lea ecx, [esp + 0xcb0]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], eax
mov eax, dword [0x4ea168]
mov dword [esp + 0x80], edx
mov dword [esp + 0x70], ecx
add esp, 0xc
cmp eax, ebx
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x8a4]
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], ecx
jne 0x453d74
call fcn.0045c390
mov edx, dword [0x4e9e5c]
push str.WinHttpCrackUrl
push edx
call dword [0x4c3348]
cmp eax, ebx
mov dword [0x4ea168], eax
je 0x453d7e
lea ecx, [esp + 0x40]
push ecx
push ebx
push ebx
push esi
call eax
mov edx, dword [esp + 0x6c]
mov eax, edx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x453da1
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x90]
call fcn.00402270
mov dword [esp + 0x18b8], ebx
mov edx, dword [esp + 0x74]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x453dd0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x90]
call fcn.004021a0
cmp dword [edi + 4], ebx
jne 0x453e10
call fcn.0045c6d0
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x453e10
call dword [0x4c3340]
push eax
push str.WinHttpOpen_failed__err_d
jmp 0x454217
mov eax, dword [0x4ea198]
cmp eax, ebx
jne 0x453e39
call fcn.0045c390
mov edx, dword [0x4e9e5c]
push str.WinHttpSetStatusCallback
push edx
call dword [0x4c3348]
cmp eax, ebx
mov dword [0x4ea198], eax
je 0x453e48
mov ecx, dword [esp + 0x1c]
push ebx
push 0xffffffffffffffff
push 0x453a40
push ecx
call eax
mov edx, dword [esp + 0x14]
cmp edx, ebx
je 0x453eb8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x453e55
sub eax, esi
sar eax, 1
je 0x453eb8
mov eax, dword [0x4ea194]
cmp eax, ebx
mov dword [esp + 0x7c], 3
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
jne 0x453ea5
call fcn.0045c390
mov edx, dword [0x4e9e5c]
push str.WinHttpSetOption
push edx
call dword [0x4c3348]
cmp eax, ebx
mov dword [0x4ea194], eax
je 0x453eb8
mov edx, dword [esp + 0x1c]
push 0xc
lea ecx, [esp + 0x80]
push ecx
push 0x26
push edx
call eax
cmp dword [edi + 8], ebx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
jne 0x453f3a
mov eax, dword [esp + 0x50]
movzx esi, word [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [0x4ea16c]
cmp eax, ebx
jne 0x453f03
call fcn.0045c390
mov ecx, dword [0x4e9e5c]
push str.WinHttpConnect
push ecx
call dword [0x4c3348]
cmp eax, ebx
mov dword [0x4ea16c], eax
je 0x453f1b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ebx
push esi
push edx
push ecx
call eax
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
jne 0x453f4f
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.0045c470
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x453f4b
call dword [0x4c3340]
push eax
push str.WinHttpConnect_failed__err_d
jmp 0x454217
mov esi, dword [esp + 0x18]
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x453f67
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.0045c4b0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x453fb4
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x453f91
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.0045c4b0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x453fb4
call dword [0x4c3340]
push eax
push str.WinHttpOpenRequest_failed__err_d
jmp 0x454217
lea esi, [edi + 0x40]
push esi
call dword [0x4c3330]
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [0x4c33f4]
call ebx
push 0
push 0
push 0
push 0
mov dword [edi + 0x34], eax
call ebx
push 0
push 0
push 0
push 0
mov dword [edi + 0x38], eax
call ebx
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x14]
lea ebx, [edi + 0x30]
push ebx
push eax
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x34]
push edx
push eax
push ecx
call fcn.00453610
add esp, 0x14
test eax, eax
jne 0x454204
mov eax, dword [ebx]
test eax, eax
je 0x454204
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x14], eax
call dword [0x4c31c8]
mov ebx, dword [0x4c3334]
push esi
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x4c31c8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
push 4
lea edx, [esp + 0x14]
push edx
push 0x2d
push ecx
call fcn.0045c810
add esp, 0x10
test eax, eax
jne 0x45407f
call dword [0x4c3340]
push eax
push str.WinHttpSetOption_failed__err_d
push 0xca
push str..HttpHttpWin.cpp
call fcn.004180a0
jmp 0x45422c
mov eax, dword [esp + 0x10]
call fcn.00453700
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
push esi
push edx
push ecx
call fcn.0045c500
add esp, 0xc
test eax, eax
jne 0x4540e9
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
push esi
push edx
push ecx
call fcn.0045c500
add esp, 0xc
test eax, eax
jne 0x4540e9
mov edx, dword [esp + 0x10]
add edx, 4
push edx
call ebx
call dword [0x4c3340]
push eax
push str.WinHttpSendRequest_failed__err_d
push 0xca
push str..HttpHttpWin.cpp
call fcn.004180a0
jmp 0x45422c
mov eax, dword [esp + 0x10]
add eax, 4
push eax
call ebx
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x3c]
push 0x1d4c0
xor esi, esi
push esi
lea eax, [esp + 0x40]
push eax
push 2
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call dword [0x4c31d4]
cmp eax, esi
je 0x45413e
push eax
call dword [0x4c3340]
push eax
push str.CHttpWin::Open_wait_m_hRequestEvent_failed__dwLastError_d_dwWait_d
push 0xca
push str..HttpHttpWin.cpp
call fcn.004180a0
add esp, 0x14
jmp 0x45422f
mov eax, dword [esp + 0x10]
call fcn.00453700
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp dword [eax + 0x30], esi
push esi
sete cl
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], esi
mov edx, dword [eax + 0x20]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x20000013
push edx
call fcn.0045c590
mov eax, dword [esp + 0x38]
add esp, 0x14
cmp eax, 0xc8
je 0x4541ad
cmp eax, 0xce
je 0x4541ad
mov eax, dword [esp + 0x10]
add eax, 4
push eax
mov dword [esp + 0x24], esi
call ebx
call dword [0x4c3340]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push str.WinHttpQueryHeaders_status_code:__d__error:_d
jmp 0x454127
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x34], esi
mov eax, dword [edx + 0x20]
push 0x20000005
push eax
call fcn.0045c590
add esp, 0x14
test eax, eax
je 0x4541f8
mov eax, dword [esp + 0x34]
push eax
push str.WinHttpQueryHeaders_file_size:_d
push 0xca
push str..HttpHttpWin.cpp
mov dword [edi + 0x28], eax
call fcn.004180a0
add esp, 0x10
mov ecx, dword [esp + 0x10]
add ecx, 4
push ecx
call ebx
jmp 0x45422f
push esi
call dword [0x4c3334]
call dword [0x4c3340]
push eax
push str.CreateMyContext_failed__err_d
push 0xca
push str..HttpHttpWin.cpp
call fcn.004180a0
mov ebx, dword [0x4c3334]
add esp, 0x10
lea esi, [edi + 0x40]
push esi
call dword [0x4c3330]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push esi
mov dword [edi + 8], edx
mov dword [edi + 4], eax
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x454287
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x45427f
mov edx, dword [esp + 0x18]
push edx
call dword [0x4c31c4]
test eax, eax
jne 0x45427f
mov esi, dword [esp + 0x18]
call fcn.004537c0
mov esi, dword [esp + 0x18]
call fcn.00453570
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x20]
push esi
push str.CHttpWin::Open_return:__d
push 0xca
push str..HttpHttpWin.cpp
call fcn.004180a0
add esp, 0x10
cmp dword [esp + 0xa0], 8
jb 0x4542bd
mov eax, dword [esp + 0x8c]
push eax
call fcn.0048a8f9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1898]
xor ecx, esp
call fcn.0048a8fe
mov esp, ebp
pop ebp
ret 0x10