Function at 0x1005d350
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c3db8
push 0x100ed3cc
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 0x1005db22
mov eax, dword [esi + 0xc70]
cmp eax, ebx
je 0x1005db22
add eax, 0xd0
push eax
call fcn.100ecb78
add esp, 4
test eax, eax
jbe 0x1005d3b3
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 0x1005d3dd
cmp eax, 3
jl 0x1005d3dd
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 0x1005db16
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 0x1005db16
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 0x1005db16
mov edx, dword [ebp - 0x24]
cmp edx, dword [esi + 0x12a0]
jle 0x1005db16
mov edx, dword [esi + 0x12ac]
mov dword [ebp - 0x34], edx
mov ecx, 0x16
cmp edx, dword [ebp - 0x24]
jge 0x1005d661
cmp dword [edi], ebx
jne 0x1005d661
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 0x1005d60f
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x101cbd38
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d60f
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 0x1005d60f
push str.nickandtimeowner
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
je 0x1005d559
push str.idnickowner
mov eax, dword [ebp - 0x40]
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x1005d60f
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 + 0xf0]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005d60f
mov edx, dword [ebp - 0x44]
cmp edx, ebx
je 0x1005d60f
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.100ecae9
add esp, 8
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x1005d5d8
mov ecx, dword [ebp - 0x44]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.100ecb95
add esp, 0xc
jmp 0x1005d5eb
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.100ecb53
add esp, 8
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [esi + 0xc70]
call fcn.10060af0
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [esi + 0xc70]
call fcn.10060a30
mov dword [ebp - 4], ebx
call fcn.1005d638
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x4cc]
mov ecx, 0x16
mov edx, eax
jmp 0x1005d46f
mov eax, dword [esi + 0x12ac]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x24]
mov eax, dword [edi]
jae 0x1005daf1
cmp eax, ebx
je 0x1005db16
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 0x1005da7b
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
lea edx, [ebp - 0x278]
push edx
push 0x101cbd38
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005da7b
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 0x1005da7b
mov edi, dword [ebp - 0x27c]
cmp edi, ebx
je 0x1005d9ad
mov dword [ebp - 0x4bc], edi
push str.nickandtime
call fcn.100ecb78
push eax
push str.nickandtime
push edi
call fcn.100ed171
add esp, 0x10
test eax, eax
je 0x1005d7e5
mov edi, dword [ebp - 0x27c]
mov dword [ebp - 0x4c0], edi
push str.idnick
call fcn.100ecb78
push eax
push str.idnick
push edi
call fcn.100ed171
add esp, 0x10
test eax, eax
jne 0x1005d9ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push str.nickandtimeowner
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.100ed29f
add esp, 8
test eax, eax
je 0x1005d866
push str.idnickowner
mov edx, dword [ebp - 0x27c]
push edx
call fcn.100ed29f
add esp, 8
test eax, eax
je 0x1005d866
push str.nickandtimeuser
mov eax, dword [ebp - 0x27c]
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
je 0x1005d850
push str.idnickuser
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x1005d942
mov eax, 1
mov dword [esi + 0x6d4], eax
mov dword [esi + 0x12a8], eax
jmp 0x1005d942
mov dword [esi + 0x6d4], ebx
mov dword [esi + 0x12a8], ebx
mov edx, dword [esi + 0xc70]
add edx, 0xd0
push edx
call fcn.100ecb78
add esp, 4
test eax, eax
ja 0x1005d942
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax]
lea edx, [ebp - 0x280]
push edx
push eax
call dword [ecx + 0xf0]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005da7b
mov edx, dword [ebp - 0x280]
cmp edx, ebx
je 0x1005da7b
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.100ecae9
add esp, 8
mov dword [ebp - 0x4b4], eax
cmp eax, ebx
mov ecx, dword [ebp - 0x280]
je 0x1005d90e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x4b0]
push eax
call fcn.100ecb95
add esp, 0xc
jmp 0x1005d91e
push ecx
lea edx, [ebp - 0x4b0]
push edx
call fcn.100ecb53
add esp, 8
lea eax, [ebp - 0x4b0]
push eax
mov ecx, dword [esi + 0xc70]
call fcn.10060af0
lea ecx, [ebp - 0x4b0]
push ecx
mov ecx, dword [esi + 0xc70]
call fcn.10060a30
cmp dword [esi + 0x6d4], 3
je 0x1005d958
cmp dword [esi + 0xaec], 1
jne 0x1005da7b
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
lea ecx, [ebp - 0x280]
push ecx
push eax
call dword [edx + 0xf0]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005da7b
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x1005da7b
push eax
mov edx, dword [esi + 0x1080]
push edx
call fcn.100ecb29
push 0x101f7598
mov eax, dword [esi + 0x1080]
push eax
call fcn.100ecb29
add esp, 0x10
jmp 0x1005da7b
push str.FONT
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x1005da4a
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
lea ecx, [ebp - 0x280]
push ecx
push eax
call dword [edx + 0xf0]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005da7b
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x1005da7b
cmp dword [esi + 0x6d4], 3
jne 0x1005da0d
mov edx, dword [esi + 0x12a8]
mov dword [esi + 0x6d4], edx
push eax
mov eax, dword [esi + 0x1080]
push eax
call fcn.100ecb29
push 0x101f7598
mov ecx, dword [esi + 0x1080]
push ecx
call fcn.100ecb29
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 0x1005da7b
cmp dword [esi + 0x12b8], ebx
je 0x1005da7b
mov eax, dword [ebp - 0x27c]
cmp eax, ebx
je 0x1005da7b
push str.recentMessagesLabel
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x1005da7b
mov ecx, esi
call fcn.1005bb80
mov dword [esi + 0x12b8], ebx
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call fcn.1005daa9
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x4cc]
jmp 0x1005d66b
cmp eax, ebx
je 0x1005db16
cmp dword [esi + 0x12b8], ebx
je 0x1005db06
cmp dword [esi + 0x12b4], 2
jl 0x1005db16
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.1005db35
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret