Function at 0x10059b70
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193e88
push 0x100ca66c
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 0x1005a342
mov eax, dword [esi + 0xc70]
cmp eax, ebx
je 0x1005a342
add eax, 0xd0
push eax
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x10059bd3
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 0x10059bfd
cmp eax, 3
jl 0x10059bfd
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 0x1005a336
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 0x1005a336
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 0x1005a336
mov edx, dword [ebp - 0x24]
cmp edx, dword [esi + 0x12a0]
jle 0x1005a336
mov edx, dword [esi + 0x12ac]
mov dword [ebp - 0x34], edx
mov ecx, 0x16
cmp edx, dword [ebp - 0x24]
jge 0x10059e81
cmp dword [edi], ebx
jne 0x10059e81
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 0x10059e2f
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x1019a890
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x10059e2f
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 0x10059e2f
push str.nickandtimeowner
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x10059d79
push str.idnickowner
mov eax, dword [ebp - 0x40]
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x10059e2f
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 0x10059e2f
mov edx, dword [ebp - 0x44]
cmp edx, ebx
je 0x10059e2f
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.100c9d15
add esp, 8
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x10059df8
mov ecx, dword [ebp - 0x44]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.100c9dc1
add esp, 0xc
jmp 0x10059e0b
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.100c9d7f
add esp, 8
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [esi + 0xc70]
call fcn.1005d7c0
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [esi + 0xc70]
call fcn.1005d700
mov dword [ebp - 4], ebx
call fcn.10059e58
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x4cc]
mov ecx, 0x16
mov edx, eax
jmp 0x10059c8f
mov eax, dword [esi + 0x12ac]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x24]
mov eax, dword [edi]
jae 0x1005a311
cmp eax, ebx
je 0x1005a336
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 0x1005a29b
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
lea edx, [ebp - 0x278]
push edx
push 0x1019a890
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jl 0x1005a29b
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 0x1005a29b
mov edi, dword [ebp - 0x27c]
cmp edi, ebx
je 0x1005a1cd
mov dword [ebp - 0x4bc], edi
push str.nickandtime
call fcn.100c9da4
push eax
push str.nickandtime
push edi
call fcn.100ca3d2
add esp, 0x10
test eax, eax
je 0x1005a005
mov edi, dword [ebp - 0x27c]
mov dword [ebp - 0x4c0], edi
push str.idnick
call fcn.100c9da4
push eax
push str.idnick
push edi
call fcn.100ca3d2
add esp, 0x10
test eax, eax
jne 0x1005a1cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push str.nickandtimeowner
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x1005a086
push str.idnickowner
mov edx, dword [ebp - 0x27c]
push edx
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x1005a086
push str.nickandtimeuser
mov eax, dword [ebp - 0x27c]
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x1005a070
push str.idnickuser
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1005a162
mov eax, 1
mov dword [esi + 0x6d4], eax
mov dword [esi + 0x12a8], eax
jmp 0x1005a162
mov dword [esi + 0x6d4], ebx
mov dword [esi + 0x12a8], ebx
mov edx, dword [esi + 0xc70]
add edx, 0xd0
push edx
call fcn.100c9da4
add esp, 4
test eax, eax
ja 0x1005a162
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 0x1005a29b
mov edx, dword [ebp - 0x280]
cmp edx, ebx
je 0x1005a29b
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.100c9d15
add esp, 8
mov dword [ebp - 0x4b4], eax
cmp eax, ebx
mov ecx, dword [ebp - 0x280]
je 0x1005a12e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x4b0]
push eax
call fcn.100c9dc1
add esp, 0xc
jmp 0x1005a13e
push ecx
lea edx, [ebp - 0x4b0]
push edx
call fcn.100c9d7f
add esp, 8
lea eax, [ebp - 0x4b0]
push eax
mov ecx, dword [esi + 0xc70]
call fcn.1005d7c0
lea ecx, [ebp - 0x4b0]
push ecx
mov ecx, dword [esi + 0xc70]
call fcn.1005d700
cmp dword [esi + 0x6d4], 3
je 0x1005a178
cmp dword [esi + 0xaec], 1
jne 0x1005a29b
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 0x1005a29b
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x1005a29b
push eax
mov edx, dword [esi + 0x1080]
push edx
call fcn.100c9d55
push 0x101c31a4
mov eax, dword [esi + 0x1080]
push eax
call fcn.100c9d55
add esp, 0x10
jmp 0x1005a29b
push str.FONT
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1005a26a
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 0x1005a29b
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x1005a29b
cmp dword [esi + 0x6d4], 3
jne 0x1005a22d
mov edx, dword [esi + 0x12a8]
mov dword [esi + 0x6d4], edx
push eax
mov eax, dword [esi + 0x1080]
push eax
call fcn.100c9d55
push 0x101c31a4
mov ecx, dword [esi + 0x1080]
push ecx
call fcn.100c9d55
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 0x1005a29b
cmp dword [esi + 0x12b8], ebx
je 0x1005a29b
mov eax, dword [ebp - 0x27c]
cmp eax, ebx
je 0x1005a29b
push str.recentMessagesLabel
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1005a29b
mov ecx, esi
call fcn.100583a0
mov dword [esi + 0x12b8], ebx
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call fcn.1005a2c9
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x4cc]
jmp 0x10059e8b
cmp eax, ebx
je 0x1005a336
cmp dword [esi + 0x12b8], ebx
je 0x1005a326
cmp dword [esi + 0x12b4], 2
jl 0x1005a336
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.1005a355
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret