Function at 0x1005cab0
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bfe88
push 0x100ea1ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x4c8], esi
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x1005d282
mov eax, dword [esi + 0xc70]
cmp eax, ebx
je 0x1005d282
add eax, 0xd0
push eax
call fcn.100e9958
add esp, 4
test eax, eax
jbe 0x1005cb13
mov dword [esi + 0x12b0], 1
mov edx, dword [esi + 0x12b4]
inc edx
mov dword [esi + 0x12b4], edx
mov eax, edx
lea edi, [esi + 0x12b0]
mov dword [ebp - 0x4cc], edi
cmp dword [edi], ebx
jne 0x1005cb3d
cmp eax, 3
jl 0x1005cb3d
mov dword [edi], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
push str.WM_HTML_GETOBJECT
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [ebp - 0x38], eax
push ebx
push ebx
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str._D_3
push eax
call sub.OLEACC.dll_ObjectFromLresult
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d276
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d276
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [edx + 0x24]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d276
mov edx, dword [ebp - 0x24]
cmp edx, dword [esi + 0x12a0]
jle 0x1005d276
mov edx, dword [esi + 0x12ac]
mov dword [ebp - 0x34], edx
mov ecx, 0x16
cmp edx, dword [ebp - 0x24]
jge 0x1005cdc1
cmp dword [edi], ebx
jne 0x1005cdc1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 1
mov word [ebp - 0x68], cx
mov word [ebp - 0x66], bx
xor eax, eax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x58], cx
mov word [ebp - 0x56], bx
xor ecx, ecx
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx]
lea edx, [ebp - 0x48]
push edx
sub esp, 0x10
mov ebx, esp
mov edx, dword [ebp - 0x58]
mov dword [ebx], edx
mov edx, ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, dword [ebp - 0x68]
mov dword [edx], ecx
mov ecx, eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x60]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [edi + 0x2c]
mov dword [ebp - 0x28], eax
xor ebx, ebx
cmp eax, ebx
jl 0x1005cd6f
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x101c8018
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005cd6f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x1005cd6f
push str.nickandtimeowner
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
je 0x1005ccb9
push str.idnickowner
mov eax, dword [ebp - 0x40]
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x1005cd6f
mov ecx, dword [ebp - 0x4cc]
mov dword [ecx], 1
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [edx + pe_nt_image_headers32]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005cd6f
mov edx, dword [ebp - 0x44]
cmp edx, ebx
je 0x1005cd6f
mov word [ebp - 0x270], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x26e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x4b8], edx
push 0x20
push edx
call fcn.100e98c9
add esp, 8
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x1005cd38
mov ecx, dword [ebp - 0x44]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.100e9975
add esp, 0xc
jmp 0x1005cd4b
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.100e9933
add esp, 8
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [esi + 0xc70]
call fcn.10060250
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [esi + 0xc70]
call fcn.10060190
mov dword [ebp - 4], ebx
call fcn.1005cd98
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x4cc]
mov ecx, 0x16
mov edx, eax
jmp 0x1005cbcf
mov eax, dword [esi + 0x12ac]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x24]
mov eax, dword [edi]
jae 0x1005d251
cmp eax, ebx
je 0x1005d276
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 4], 2
mov ecx, 0x16
mov word [ebp - 0x2a8], cx
mov word [ebp - 0x2a6], bx
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov word [ebp - 0x298], cx
mov word [ebp - 0x296], bx
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2a0], edx
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx]
lea edx, [ebp - 0x284]
push edx
sub esp, 0x10
mov ebx, esp
mov edx, dword [ebp - 0x298]
mov dword [ebx], edx
mov edx, ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, dword [ebp - 0x2a8]
mov dword [edx], ecx
mov ecx, eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x2a0]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [edi + 0x2c]
mov dword [ebp - 0x28], eax
xor ebx, ebx
cmp eax, ebx
jl 0x1005d1db
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
lea edx, [ebp - 0x278]
push edx
push 0x101c8018
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d1db
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax]
lea edx, [ebp - 0x288]
push edx
push eax
call dword [ecx + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax]
lea edx, [ebp - 0x27c]
push edx
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x288], ebx
je 0x1005d1db
mov edi, dword [ebp - 0x27c]
cmp edi, ebx
je 0x1005d10d
mov dword [ebp - 0x4bc], edi
push str.nickandtime
call fcn.100e9958
push eax
push str.nickandtime
push edi
call fcn.100e9f51
add esp, 0x10
test eax, eax
je 0x1005cf45
mov edi, dword [ebp - 0x27c]
mov dword [ebp - 0x4c0], edi
push str.idnick
call fcn.100e9958
push eax
push str.idnick
push edi
call fcn.100e9f51
add esp, 0x10
test eax, eax
jne 0x1005d10d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push str.nickandtimeowner
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.100ea07f
add esp, 8
test eax, eax
je 0x1005cfc6
push str.idnickowner
mov edx, dword [ebp - 0x27c]
push edx
call fcn.100ea07f
add esp, 8
test eax, eax
je 0x1005cfc6
push str.nickandtimeuser
mov eax, dword [ebp - 0x27c]
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
je 0x1005cfb0
push str.idnickuser
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x1005d0a2
mov eax, 1
mov dword [esi + 0x6d4], eax
mov dword [esi + 0x12a8], eax
jmp 0x1005d0a2
mov dword [esi + 0x6d4], ebx
mov dword [esi + 0x12a8], ebx
mov edx, dword [esi + 0xc70]
add edx, 0xd0
push edx
call fcn.100e9958
add esp, 4
test eax, eax
ja 0x1005d0a2
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax]
lea edx, [ebp - 0x280]
push edx
push eax
call dword [ecx + pe_nt_image_headers32]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d1db
mov edx, dword [ebp - 0x280]
cmp edx, ebx
je 0x1005d1db
mov word [ebp - 0x4b0], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x4c4], edx
push 0x20
push edx
call fcn.100e98c9
add esp, 8
mov dword [ebp - 0x4b4], eax
cmp eax, ebx
mov ecx, dword [ebp - 0x280]
je 0x1005d06e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x4b0]
push eax
call fcn.100e9975
add esp, 0xc
jmp 0x1005d07e
push ecx
lea edx, [ebp - 0x4b0]
push edx
call fcn.100e9933
add esp, 8
lea eax, [ebp - 0x4b0]
push eax
mov ecx, dword [esi + 0xc70]
call fcn.10060250
lea ecx, [ebp - 0x4b0]
push ecx
mov ecx, dword [esi + 0xc70]
call fcn.10060190
cmp dword [esi + 0x6d4], 3
je 0x1005d0b8
cmp dword [esi + 0xaec], 1
jne 0x1005d1db
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
lea ecx, [ebp - 0x280]
push ecx
push eax
call dword [edx + pe_nt_image_headers32]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d1db
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x1005d1db
push eax
mov edx, dword [esi + 0x1080]
push edx
call fcn.100e9909
push 0x101f3348
mov eax, dword [esi + 0x1080]
push eax
call fcn.100e9909
add esp, 0x10
jmp 0x1005d1db
push str.FONT
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x1005d1aa
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
lea ecx, [ebp - 0x280]
push ecx
push eax
call dword [edx + pe_nt_image_headers32]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d1db
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x1005d1db
cmp dword [esi + 0x6d4], 3
jne 0x1005d16d
mov edx, dword [esi + 0x12a8]
mov dword [esi + 0x6d4], edx
push eax
mov eax, dword [esi + 0x1080]
push eax
call fcn.100e9909
push 0x101f3348
mov ecx, dword [esi + 0x1080]
push ecx
call fcn.100e9909
add esp, 0x10
mov eax, 1
mov dword [esi + 0x1084], eax
mov dword [esi + 0x1088], eax
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x12ac], edx
jmp 0x1005d1db
cmp dword [esi + 0x12b8], ebx
je 0x1005d1db
mov eax, dword [ebp - 0x27c]
cmp eax, ebx
je 0x1005d1db
push str.recentMessagesLabel
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x1005d1db
mov ecx, esi
call fcn.1005b2e0
mov dword [esi + 0x12b8], ebx
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call fcn.1005d209
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x4cc]
jmp 0x1005cdcb
cmp eax, ebx
je 0x1005d276
cmp dword [esi + 0x12b8], ebx
je 0x1005d266
cmp dword [esi + 0x12b4], 2
jl 0x1005d276
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x12a0], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.1005d295
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret