Function at 0x402167
Capabilities:
Check http status code

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x280
mov esi, dword [esp + 0x294]
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [ecx], eax
mov ebx, 0x3c
lea edi, [esp + 0x44]
push ebx
push eax
push edi
call fcn.00407f3e
add esp, 0xc
mov dword [edi], ebx
lea eax, [esp + 0x180]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x80]
mov dword [edi + 0x2c], eax
mov eax, 0x100
mov dword [edi + 0x14], eax
mov dword [edi + 0x30], eax
lea eax, [esi + 0x6e8]
push edi
xor edi, edi
push 0x10000000
push edi
push eax
call dword [esi + 0x98]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x918]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x8f8]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x908]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x7f0]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x7e8]
mov dword [esp + 0x24], eax
mov ecx, 0xa00ac8cb
mov dword [esp + 0xc], 0x84600200
mov dword [esp + 8], 0
xor edx, edx
cmp ecx, 0xfec2a4d4
jle 0x402277
cmp ecx, 0x28ef83b6
jg 0x4022c9
cmp ecx, 0x13bf4056
jle 0x402386
cmp ecx, 0x1e9d3f56
jle 0x402460
cmp ecx, 0x1e9d3f57
je 0x402613
cmp ecx, 0x1f3c50ed
je 0x40262a
cmp ecx, 0x22f013d4
jne 0x402218
cmp dword [esp + 0x40], 0
mov ecx, 0x42091d61
je 0x402218
mov ecx, 0xd24accbd
jmp 0x402218
cmp ecx, 0xce047fa0
jg 0x40233e
cmp ecx, 0xa00ac8ca
jle 0x4023b1
cmp ecx, 0xb0ba54ef
jle 0x402482
cmp ecx, 0xb0ba54f0
je 0x402647
cmp ecx, 0xb84ca8d3
je 0x4023d5
cmp ecx, 0xc34b4149
jne 0x402218
mov ecx, 0x4454cb1d
jmp 0x402218
cmp ecx, 0x433564bb
jle 0x4023ed
cmp ecx, 0x5e574a2c
jle 0x4024d6
cmp ecx, 0x5e574a2d
je 0x40265f
cmp ecx, 0x6f15e616
je 0x402670
cmp ecx, 0x74d01674
jne 0x402218
mov ebx, edx
push edi
push dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [esi + 0xb0]
mov ebp, eax
mov ecx, 0xd7b61e1b
test eax, eax
je 0x402857
mov ecx, 0x1e9d3f57
jmp 0x402857
cmp ecx, 0xe3d741e5
jg 0x402437
cmp ecx, 0xd24accbc
jle 0x402503
cmp ecx, 0xd4d4147f
je 0x40268e
cmp ecx, 0xd7b61e1b
jne 0x40287a
push dword [esp + 0x20]
mov ebx, edx
call dword [esi + 0xac]
mov edx, ebx
mov ecx, 0x433564bc
jmp 0x402218
cmp ecx, 0xa872204
jg 0x402548
cmp ecx, 0xfec2a4d5
je 0x4026e0
cmp ecx, 0x899fbed
jne 0x402218
mov ecx, 0x5e574a2d
jmp 0x4023da
cmp ecx, 0x91cfa285
jg 0x402571
cmp ecx, 0x81bde92b
je 0x402735
cmp ecx, 0x899cf328
jne 0x402218
mov ecx, 0xd24accbd
mov dword [esp + 4], 0
xor ebx, ebx
inc ebx
mov dword [esp], ebx
jmp 0x402218
cmp ecx, 0x3ead93ed
jg 0x4025cc
cmp ecx, 0x28ef83b7
je 0x40276a
cmp ecx, 0x2bc4e1d8
jne 0x402218
mov dword [esp + 0x38], 0x3380
push 4
lea eax, [esp + 0x3c]
push eax
push 0x1f
push ebp
mov ebx, edx
call dword [esi + 0xa4]
mov edx, ebx
mov ecx, 0x28ef83b7
jmp 0x402218
cmp ecx, 0xf884efa7
jg 0x4025e9
cmp ecx, 0xe3d741e6
je 0x402774
cmp ecx, 0xf1476254
je 0x40263d
jmp 0x402218
cmp ecx, 0x13bf4057
je 0x40277e
cmp ecx, 0x160878ed
jne 0x402218
mov ecx, 0xc34b4149
jmp 0x402218
cmp ecx, 0xa00ac8cb
je 0x402796
cmp ecx, 0xaa32f31f
jne 0x402218
mov ebx, edx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], edi
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0x20000013
push ebp
call dword [esi + pe_nt_image_headers32]
mov ecx, 0xc34b4149
test eax, eax
je 0x402857
mov ecx, 0x1f3c50ed
jmp 0x402857
cmp ecx, 0x433564bc
je 0x4027b0
cmp ecx, 0x4454cb1d
jne 0x402218
push ebp
mov ebx, edx
call dword [esi + 0xac]
mov edx, ebx
mov ecx, 0xd7b61e1b
jmp 0x402218
cmp ecx, 0xce047fa1
je 0x4027d6
cmp ecx, 0xcf22f6ea
jne 0x402218
mov ebx, edx
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], ebp
call dword [esi + 0xb4]
mov ecx, 0x4454cb1d
test eax, eax
je 0x402857
mov ecx, 0xaa32f31f
jmp 0x402857
cmp ecx, 0xa872205
je 0x402808
cmp ecx, 0xba66559
jne 0x402218
mov ecx, 0x5e574a2d
mov dword [esp], 0
jmp 0x402218
cmp ecx, 0x91cfa286
je 0x402825
cmp ecx, 0x92ceff17
jne 0x402218
mov ebx, edx
mov dword [esp + 0x14], 4
mov dword [esi + 0x91c], edi
mov dword [esi + 0x918], edi
push edi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
push 0x20000005
push ebp
call dword [esi + pe_nt_image_headers32]
mov ecx, 0xf1476254
test eax, eax
je 0x402857
mov ecx, 0x6f15e616
jmp 0x402857
cmp ecx, 0x3ead93ee
je 0x40282f
cmp ecx, 0x42091d61
je 0x402870
jmp 0x402218
cmp ecx, 0xf884efa8
je 0x40285e
cmp ecx, 0xfa93d490
jne 0x402218
or dword [esp + 0xc], 0x803000
mov ecx, 0x81bde92b
jmp 0x402218
mov ecx, 0xcf22f6ea
test edx, edx
je 0x402218
mov ecx, 0x13bf4057
jmp 0x402218
cmp dword [esp + 0x10], 0xc8
mov ecx, 0x92ceff17
je 0x402218
mov ecx, 0x160878ed
jmp 0x402218
mov ecx, 0xd24accbd
xor ebx, ebx
inc ebx
mov dword [esp], ebx
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
jmp 0x402218
mov eax, dword [esp]
mov dword [esp + 0x40], eax
mov ecx, 0x22f013d4
jmp 0x402218
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov ecx, 0xe3d741e6
je 0x402218
mov ecx, 0x3ead93ee
jmp 0x402218
mov ebx, edx
mov edi, dword [esi + 0x920]
push dword [esi + 0x918]
push edi
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.004073e0
add esp, 0x10
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [esp + 0x30]
call fcn.004070dc
add esp, 0xc
xor edx, dword [edi + 0x51c]
xor eax, dword [edi + 0x518]
or eax, edx
mov ecx, 0xba66559
je 0x4026d9
mov ecx, 0x899fbed
xor edi, edi
jmp 0x402857
mov ebx, edx
movzx eax, word [esp + 0x5c]
sub esp, 0x20
movaps xmm0, xmmword [section..rdata]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x1c], 0
call dword [esi + 0xa0]
mov ecx, 0x433564bc
mov dword [esp + 0x20], eax
test eax, eax
je 0x402857
mov ecx, 0x74d01674
jmp 0x402857
mov ebx, edx
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp], xmm0
mov dword [esp + 0x10], 0
call dword [esi + 0x9c]
mov ecx, 0xb84ca8d3
mov dword [esp + 0x1c], eax
test eax, eax
je 0x402857
mov ecx, 0xfec2a4d5
jmp 0x402857
mov ecx, 0xcf22f6ea
jmp 0x402218
mov ecx, 0xf1476254
jmp 0x402218
bt dword [esp + 0xc], 0xc
mov ecx, 0x2bc4e1d8
mov eax, 0x28ef83b7
cmovae ecx, eax
jmp 0x402218
cmp dword [esp + 0x3c], 0
mov ecx, 0x899cf328
je 0x402218
mov ecx, 0xa872205
jmp 0x402218
mov ebx, edx
push dword [esp + 0x1c]
call dword [esi + 0xac]
mov ecx, 0xb0ba54f0
cmp dword [esp + 8], 0
je 0x402857
mov ecx, 0xf884efa8
jmp 0x402857
mov dword [esp + 0x34], 0
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x918]
push dword [esi + 0x920]
push ebp
mov ebx, edx
call dword [esi + 0xa8]
mov edx, ebx
mov dword [esp + 8], eax
mov ecx, 0x91cfa286
jmp 0x402218
xor edx, edx
cmp dword [esp + 0x50], 4
sete al
mov ecx, 0xfa93d490
je 0x40281e
mov ecx, 0x81bde92b
mov dl, al
jmp 0x402218
mov ecx, 0xe3d741e6
jmp 0x402218
mov ebx, edx
push 4
push 0x3000
push dword [esi + 0x918]
push 0
call dword [esi + 0x3c]
mov dword [esi + 0x920], eax
mov ecx, 0x91cfa286
test eax, eax
je 0x402857
mov ecx, 0xce047fa1
mov edx, ebx
jmp 0x402218
cmp dword [esi + 0x234], 3
mov ecx, 0xd4d4147f
je 0x402218
mov ecx, 0xb0ba54f0
jmp 0x402218
cmp ecx, 0xd24accbd
jne 0x402218
mov eax, dword [esp + 4]
add esp, 0x280
pop esi
pop edi
pop ebx
pop ebp
ret