Function at 0x4736c0
Capabilities:
Extract http body

Disassembly:
push 0xffffffffffffffff
push 0x51ee64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
push ebx
push edi
mov edi, dword [esp + 0x310]
xor ebx, ebx
cmp edi, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
jl 0x473c5a
cmp dword [esp + 0x314], 1
jl 0x473c5a
mov ecx, dword [esp + 0x308]
push ebp
mov ebp, dword [esp + 0x308]
push esi
lea eax, [esp + 0x48]
push 1
push eax
push ebx
push ecx
push ebp
call fcn.00473c80
add esp, 0x14
test eax, eax
je 0x473c3d
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
sub esi, ecx
cmp esi, 0x3e8
jle 0x47374a
mov esi, 0x3e8
mov eax, esi
imul eax, dword [esp + 0x31c]
cdq
idiv edi
cmp esi, 0x64
mov edi, eax
jle 0x473c3d
cmp edi, 0x64
jle 0x473c3d
push ebp
call dword [0x523758]
mov ebp, eax
push ebp
mov dword [esp + 0x20], ebp
call dword [0x5230f4]
push 0xa
push 0xa
push ebp
mov dword [esp + 0x20], eax
call dword [0x5230e0]
push eax
mov dword [esp + 0x28], eax
call fcn.00493a00
mov ebp, eax
xor edx, edx
mov ecx, dword [esp + 0x20]
add esp, 4
mov dx, word [ebp + 0xe]
lea eax, [esp + 0x40]
shr edx, 3
imul edx, esi
imul edx, esi
push ebx
push ebx
push eax
push ebx
push ebp
mov dword [ebp + 4], esi
mov dword [ebp + 8], edi
mov dword [ebp + 0x14], edx
push ecx
mov dword [esp + 0x58], ebx
call dword [0x5230f8]
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x4739cf
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [0x5230fc]
mov ecx, dword [esp + 0x30c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x78]
push eax
push ecx
call dword [0x523780]
mov edx, dword [esp + 0x30c]
push 2
push edi
push esi
push ebx
push ebx
mov dword [esp + 0x64], esi
mov esi, dword [0x5237a8]
push ebx
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], edi
call esi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x310]
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x30c], 1
mov dword [esp + 0x38], ebx
call dword [ecx + 0x48]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4738c2
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push str._D_3
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jge 0x473877
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x473873
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x473891
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x38], edx
je 0x47388d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp edi, ebx
mov dword [esp + 0x10], eax
jge 0x4738ab
cmp edi, 0x80004002
je 0x4738ab
push edi
call fcn.0051c487
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4738c2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
push edx
push ecx
push 1
push eax
call dword [0x523c20]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
sub edx, eax
mov eax, dword [esp + 0x80]
push 2
mov ecx, dword [esp + 0x310]
push edx
mov edx, dword [esp + 0x80]
sub eax, edx
push eax
push ebx
push ebx
push ebx
push ecx
call esi
mov esi, dword [esp + 0x34]
lea edx, [esp + 0xd8]
push edx
push 0x18
push esi
call dword [0x5230e8]
test eax, eax
je 0x473991
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.00493e10
add esp, 8
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x473991
push 0x10
call fcn.0051cb5e
mov esi, eax
cmp esi, ebx
je 0x47394b
mov ecx, dword [esp + 0x28]
lea eax, [esi + 4]
push eax
push ecx
mov dword [esi], 0x524854
mov dword [eax], ebx
call fcn.0051cba0
mov dword [esi + 8], eax
jmp 0x47394d
xor esi, esi
push 0x234
call fcn.0051c5a0
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x304], 2
je 0x473973
mov ecx, eax
call fcn.00492770
jmp 0x473975
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x304], 1
mov dword [esp + 0x18], eax
je 0x473991
cmp esi, ebx
je 0x473991
push esi
mov ecx, eax
call fcn.00492e20
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [0x5230fc]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x304], bl
cmp eax, ebx
je 0x4739b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x304], 0xffffffff
cmp eax, ebx
je 0x4739cf
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
push eax
call dword [0x523104]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4739e9
push eax
call dword [0x523100]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4739f8
push eax
call dword [0x523100]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30c]
push ecx
push edx
call dword [0x523768]
cmp ebp, ebx
je 0x473a16
push ebp
call dword [0x5232e0]
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x473c2f
mov eax, dword [esp + 0x30c]
push eax
call dword [0x523758]
mov ebp, eax
push ebp
call dword [0x5230f4]
mov esi, eax
cmp esi, ebx
je 0x473c27
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x8c]
mov edx, dword [esp + 0x31c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x318]
push ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x90], ecx
push ebx
push eax
lea ecx, [esp + 0x94]
push ebx
push ecx
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0xa0], 0x28
mov dword [esp + 0xa8], edx
mov word [esp + 0xac], 1
mov word [esp + 0xae], 0x20
call dword [0x5230f8]
mov ebp, eax
push ebp
push esi
call dword [0x5230fc]
mov edx, dword [esp + 0x318]
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x31c]
push ebx
push ecx
push esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call dword [0x523790]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.004939d0
mov ecx, dword [eax]
push 1
add ecx, 0xffffffd8
push ebx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x320]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x324]
mov dword [esp + 0x78], eax
mov eax, ecx
imul eax, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x70], ebx
cdq
idiv dword [esp + 0x320]
mov dword [esp + 0x74], ebx
push eax
push ecx
push 0xa
push 0xa
lea ecx, [esp + 0x80]
push 1
push ecx
push esi
mov ecx, edi
call fcn.00492f20
mov ecx, edi
call fcn.00492950
mov edx, dword [esp + 0x314]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xf2]
mov word [esp + 0xf0], bx
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xf4]
push eax
call dword [0x523708]
lea ecx, [esp + 0xf0]
push str..tmp.png
push ecx
call dword [0x523680]
push esi
lea edx, [esp + 0xf4]
push ebp
push edx
call fcn.00493f40
mov dword [esp + 0x2c], eax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc4]
mov dword [esp + 0xc0], ebx
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb4]
lea ecx, [esp + 0xf0]
push eax
push ebx
push ecx
call dword [0x5231fc]
cmp dword [esp + 0xd4], 0x3e8
jbe 0x473c05
mov edx, dword [esp + 0x314]
push ebx
lea eax, [esp + 0xf4]
push edx
push eax
mov dword [esp + 0x2c], 1
call dword [0x52315c]
lea ecx, [esp + 0xf0]
push ecx
call dword [0x52332c]
mov edx, dword [esp + 0x24]
push edx
push esi
call dword [0x5230fc]
cmp ebp, ebx
je 0x473c1c
push ebp
call dword [0x523100]
push esi
call dword [0x523104]
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x473c3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
add esp, 0x2f8
ret
mov ecx, dword [esp + 0x2f4]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f8
ret