Function at 0x40c340
Capabilities:
Extract http body

Disassembly:
push 0xffffffffffffffff
push 0x45f9a1
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x394]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3a4]
mov dword [esp + 0x24], eax
xor eax, eax
mov esi, ecx
cmp esi, eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x23], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
jne 0x40c3ce
xor al, al
jmp 0x40cd1e
call dword [0x4699b4]
push eax
call dword [0x46a178]
test eax, eax
je 0x40c3c7
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
lea edx, [esp + 0x44]
push edx
mov edx, dword [0x46a270]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x46a26c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x46a274]
mov dword [eax + 4], edx
mov edx, dword [0x46a278]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edi
mov dword [eax + 0xc], edx
call dword [0x469888]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40cc8a
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40cc8a
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 0x46a23c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40cc8a
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x46a27c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40cc8a
cmp dword [esp + 0x30], 0
je 0x40cc8a
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40cc8a
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x46a24c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40cc8a
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x140]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [ecx + 0x144]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push 0x46a22c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40cc8a
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x40cc8a
cmp dword [esp + 0x54], 0
je 0x40cc8a
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x46a24c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40cc9a
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x140]
call eax
test eax, eax
jl 0x40cc8a
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
cmp eax, edx
jle 0x40c5d7
mov edx, eax
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x64]
mov eax, ecx
sub eax, ebx
test edx, edx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], edi
mov dword [esp + 0x90], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], esi
je 0x40c627
mov eax, edx
mov dword [esp + 0x9c], eax
jmp 0x40c62b
mov dword [esp + 0x3c], eax
sub esp, 0x10
mov dword [esp + 0xfc], edi
lea edi, [ebx + eax]
mov eax, esp
mov dword [eax], ebp
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov dword [eax + 4], ebx
add esi, ebp
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0xc4]
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
xor eax, eax
push edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
call dword [0x46a078]
push eax
mov dword [esp + 0x64], eax
call dword [0x469020]
sub edi, ebx
push edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
sub esi, ebp
push esi
push eax
call dword [0x469028]
mov esi, dword [esp + 0x50]
mov ebx, eax
push ebx
push esi
call dword [0x469044]
xor edi, edi
push edi
push edi
push edi
lea edx, [esp + 0x9c]
push edx
push esi
push edi
push edi
push edi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xb8]
push ecx
push eax
call dword [0x46a12c]
lea ecx, [esp + 0xa0]
push ecx
push 0x18
push ebx
call dword [0x469030]
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov word [esp + 0x68], di
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xe8], eax
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov ebp, eax
sar ebp, 5
imul ebp, ecx
add ebp, ebp
add ebp, ebp
lea edx, [ebp + 0x28]
push edx
push 0x42
mov dword [esp + 0xec], 0x28
mov word [esp + 0xf8], 1
mov dword [esp + 0xfc], edi
mov word [esp + 0xfa], 0x18
mov dword [esp + 0xf4], ecx
call dword [0x469e7c]
push eax
mov dword [esp + 0x90], eax
call dword [0x469ea8]
push 0
push eax
mov edi, eax
mov dword [esp + 0x30], eax
add eax, 0x28
push eax
mov ecx, 0xa
lea esi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x5c]
push eax
push 0
push ebx
push ecx
call dword [0x46902c]
mov edi, dword [esp + 0x24]
add edi, 0x24
push 0x65
mov ecx, edi
call dword [0x469668]
mov esi, eax
test esi, esi
je 0x40c88d
mov ecx, dword [esp + 0x1c]
push 0
call dword [0x4699b4]
push eax
call dword [0x46a14c]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xd0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xd4]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [0x46997c]
push ebx
mov ecx, esi
call dword [0x469974]
push 0
mov ecx, esi
call dword [0x469970]
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
push 1
mov ecx, esi
call eax
push 0x66
mov ecx, edi
call dword [0x469668]
mov edi, eax
test edi, edi
mov dword [esp + 0x58], edi
je 0x40c91e
lea ecx, [esp + 0xe4]
call dword [0x469ef8]
mov dword [esp + 0x39c], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
push eax
push 0xd6
lea ecx, [esp + 0xf0]
push str.res_d_restypePNG_source0_0_20_24_dest0_0__d__d
push ecx
call dword [0x4695d4]
add esp, 0x14
lea edx, [esp + 0xe4]
push edx
mov ecx, edi
call dword [0x469980]
mov eax, dword [edi]
mov edx, dword [eax + 0xd4]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0xe4]
mov dword [esp + 0x39c], 0xffffffff
call dword [0x469f00]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x14c]
push ecx
call fcn.0043cba0
mov ecx, edi
mov dword [esp + 0x39c], 1
mov edx, dword [ecx + 0x218]
mov edx, dword [edx]
add ecx, 0x218
push 0
lea eax, [esp + 0x148]
push eax
call edx
test esi, esi
je 0x40c96e
mov eax, dword [esi]
mov edx, dword [eax + 0xd4]
push 0
mov ecx, esi
call edx
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x40c982
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
push 0
call edx
mov edi, dword [esp + 0x1c]
push 5
mov ecx, edi
call dword [0x4699b4]
push eax
call dword [0x46a14c]
lea ecx, [esp + 0x128]
call dword [0x469ef8]
mov byte [esp + 0x39c], 2
mov eax, dword [esp + 0x378]
sub eax, 0x68
je 0x40c9df
sub eax, 2
jne 0x40ca1c
push eax
call dword [0x46a124]
test eax, eax
je 0x40ca1c
call dword [0x46a130]
push ebx
push 2
call dword [0x46a128]
call dword [0x46a144]
jmp 0x40ca1c
lea esi, [esp + 0xc8]
lea eax, [esp + 0x144]
call fcn.0043d810
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x3a0], 3
call dword [0x469f04]
mov ecx, esi
mov byte [esp + 0x39c], 2
call dword [0x469f00]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x13c], 0
je 0x40cbdf
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x110]
push ecx
call dword [0x469188]
add esp, 8
push str..jpg
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3a0], 4
call dword [0x469efc]
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x110]
mov byte [esp + 0x3a0], 5
mov esi, dword [0x4695a4]
push eax
call esi
add esp, 8
test eax, eax
lea ecx, [esp + 0xe4]
sete byte [esp + 0x1b]
mov byte [esp + 0x39c], 4
call dword [0x469f00]
cmp byte [esp + 0x1b], 0
je 0x40cac2
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x128]
push ecx
add ebp, 0xe
push ebp
push edx
call dword [0x469120]
add esp, 0xc
jmp 0x40cbca
push str..png
lea ecx, [esp + 0xcc]
call dword [0x469efc]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x110]
push ecx
mov byte [esp + 0x3a4], 6
call esi
add esp, 8
test eax, eax
lea ecx, [esp + 0xc8]
sete byte [esp + 0x1b]
mov byte [esp + 0x39c], 4
call dword [0x469f00]
cmp byte [esp + 0x1b], 0
je 0x40cb33
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x128]
push edx
add ebp, 0xe
push ebp
push eax
call dword [0x46911c]
add esp, 0xc
jmp 0x40cbca
lea ecx, [esp + 0x1c]
call dword [0x469184]
push 0x80
push 2
push 3
push 0x40000000
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3b0], 7
call dword [0x46917c]
test al, al
lea ecx, [esp + 0x1c]
je 0x40cbbc
mov esi, dword [0x469174]
lea edx, [esp + 0x58]
push edx
push 0xe
lea eax, [esp + 0x70]
add ebp, 0x36
push eax
mov word [esp + 0x74], 0x4d42
mov dword [esp + 0x76], ebp
mov dword [esp + 0x7e], 0x36
call esi
test al, al
je 0x40cbb8
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x58]
push ecx
add ebp, 0xfffffff2
push ebp
push edx
lea ecx, [esp + 0x28]
call esi
test al, al
je 0x40cbb8
mov byte [esp + 0x23], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x39c], 4
call dword [0x469180]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x39c], 2
call dword [0x469f00]
mov esi, dword [esp + 0x8c]
push esi
call dword [0x469e80]
push esi
call dword [0x469e78]
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
push eax
push esi
call dword [0x469044]
push ebx
call dword [0x46903c]
push esi
call dword [0x469024]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
push ecx
push eax
call dword [0x46a07c]
mov ecx, dword [esp + 0x78]
mov edx, dword [edi]
mov edx, dword [edx + 0xc4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x128]
mov byte [esp + 0x39c], 1
call dword [0x469f00]
lea eax, [esp + 0x144]
push eax
mov dword [esp + 0x3a0], 0xffffffff
call fcn.0043cca0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40cc9a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40ccaa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40ccba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40ccca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40ccda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40ccea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40ccfa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40cd0a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40cd1a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0x394]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.0045cf88
add esp, 0x38c
ret 4