Function at 0x4d2b90
Capabilities:
Suspend thread

Disassembly:
sub esp, 0x194
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f8]
cmp word [eax], 0
je 0x4d3030
push ebx
push ebp
push edi
lea ebx, [ebx]
cmp dword [esi + 0x440], 0
jne 0x4d302d
mov edx, dword [esi + 0x3f8]
mov ecx, dword [esi + 0x3f4]
sub edx, dword [esi + 0x3fc]
push ecx
push 0x64
sar edx, 1
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp eax, dword [esi + 0x460]
je 0x4d2c40
mov dword [esi + 0x460], eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x10]
push ecx
mov edi, eax
push edi
mov ecx, esi
call fcn.004d1770
mov edx, dword [esi + 0x460]
mov ecx, dword [esi + 0x4c8]
push 0x579150
push 0x64
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
call fcn.0045b970
mov edx, dword [esi + 0x20]
add esp, 0x18
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x42c]
mov ecx, dword [esi + 0x3f8]
push eax
push ecx
call fcn.004d1330
push eax
mov dword [esi + 0x3f8], eax
call fcn.004d1530
mov ecx, dword [esi + 0x3f8]
mov edx, ecx
sub edx, dword [esi + 0x3fc]
add esp, 0xc
sar edx, 1
cmp edx, dword [esi + 0x3f4]
jge 0x4d302d
xor edi, edi
cmp ecx, eax
jae 0x4d2ca5
cmp edi, 0x3f
jge 0x4d2ca5
mov ecx, dword [esi + 0x3f8]
mov dx, word [ecx]
add ecx, 2
mov word [esp + edi*2 + 0x20], dx
inc edi
mov dword [esi + 0x3f8], ecx
cmp ecx, eax
jb 0x4d2c84
xor ecx, ecx
lea eax, [edi + edi]
mov edx, 0x27
mov word [esp + eax + 0x20], cx
cmp dx, word [esp + 0x20]
jne 0x4d2ccf
push eax
lea eax, [esp + 0x26]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.005402a0
add esp, 0xc
dec edi
mov ebp, 1
cmp edi, ebp
jle 0x4d301d
mov edx, 0x27
cmp dx, word [esp + edi*2 + 0x1e]
jne 0x4d2cf8
sub edi, ebp
xor eax, eax
add dword [esi + 0x3f8], 0xfffffffe
mov word [esp + edi*2 + 0x20], ax
cmp edi, ebp
jle 0x4d301d
cmp dword [esi + 0x43c], 0
je 0x4d2d2c
xor eax, eax
test edi, edi
jle 0x4d2d2c
nop
mov ecx, 0xff
cmp word [esp + eax*2 + 0x20], cx
ja 0x4d2d24
add eax, ebp
cmp eax, edi
jl 0x4d2d10
jmp 0x4d2d2c
cmp eax, edi
jl 0x4d301d
add dword [esi + 0x3e8], ebp
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esi + 0x470], 0x23
call fcn.004d15c0
mov ebx, eax
test ebx, ebx
je 0x4d2dc9
mov eax, dword [esi + 0x3f0]
mov edx, dword [esi + 0x408]
add eax, eax
sub eax, dword [esi + 0x3fc]
add eax, dword [esi + 0x3f8]
sar eax, 1
sub eax, edi
add eax, dword [esi + 0x45c]
lea ecx, [eax + edi]
push ecx
push eax
push 0x437
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
lea edx, [eax + 2]
jmp 0x4d2d90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d2d90
sub eax, edx
push ebx
sar eax, 1
push 2
mov ebp, eax
mov eax, dword [esi + 0x408]
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esi + 0x3ec]
sub ebp, edi
add dword [esi + 0x45c], ebp
jmp 0x4d301d
cmp dword [esi + 0x430], 0
je 0x4d2efb
mov ecx, dword [esi + 0x3f8]
movzx eax, word [ecx]
cmp ax, 0x40
je 0x4d2e91
cmp ax, 0x3a
jne 0x4d2efb
lea edx, [esp + 0x20]
push str.http
push edx
call fcn.005408be
add esp, 8
test eax, eax
je 0x4d2e91
lea eax, [esp + 0x20]
push str.https
push eax
call fcn.005408be
add esp, 8
test eax, eax
je 0x4d2e91
lea ecx, [esp + 0x20]
push 0x57e350
push ecx
call fcn.005408be
add esp, 8
test eax, eax
je 0x4d2e91
lea edx, [esp + 0x20]
push str.mailto
push edx
call fcn.005408be
add esp, 8
test eax, eax
je 0x4d2e91
lea eax, [esp + 0x20]
push str.news
push eax
call fcn.005408be
add esp, 8
test eax, eax
je 0x4d2e91
lea ecx, [esp + 0x20]
push str.snews
push ecx
call fcn.005408be
add esp, 8
test eax, eax
je 0x4d2e91
lea edx, [esp + 0x20]
push str.gopher
push edx
call fcn.005408be
add esp, 8
test eax, eax
jne 0x4d2efb
add dword [esi + 0x3f8], 2
mov ecx, dword [esi + 0x3f8]
cmp word [ecx], 0
je 0x4d301d
jmp 0x4d2eb0
movzx eax, word [ecx]
cmp ax, 0x20
je 0x4d301d
cmp ax, 9
je 0x4d301d
cmp ax, 0x3c
je 0x4d301d
cmp ax, 0x3e
je 0x4d301d
cmp ax, 0x22
je 0x4d301d
add ecx, 2
mov eax, ecx
mov dword [esi + 0x3f8], ecx
cmp word [eax], 0
jne 0x4d2eb0
jmp 0x4d301d
push 0
push 0
push 0x3f
lea ecx, [esp + 0xec]
push ecx
push edi
lea edx, [esp + 0x34]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movzx edx, word [esi + 0x464]
push 0x40
mov byte [esp + eax + 0xe4], 0
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xe8]
push ecx
push edx
call dword [0x5ede6c]
movsx ebx, ax
test ebx, ebx
jl 0x4d301d
test bl, 7
je 0x4d301d
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x340]
call fcn.005068f4
test bl, 1
je 0x4d2f75
push 0x23
mov ecx, esi
call fcn.004d2790
jmp 0x4d2fd2
lea eax, [esp + 0xa0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d2f80
push 0x3f
lea ecx, [esp + 0x124]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0xac]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 0x120]
push edx
xor ecx, ecx
push ecx
mov word [esp + eax*2 + 0x128], cx
mov eax, dword [esi + 0x30c]
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004d20d0
mov eax, dword [esi + 0x3f0]
mov edx, dword [esi + 0x408]
add eax, eax
sub eax, dword [esi + 0x3fc]
add eax, dword [esi + 0x3f8]
sar eax, 1
add eax, dword [esi + 0x45c]
sub eax, edi
lea ecx, [eax + edi]
push ecx
push eax
push 0x437
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x400]
mov dword [esi + 0x420], ebp
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esi + 0x3f8]
cmp word [edx], 0
jne 0x4d2bc0
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.0053fa67
add esp, 0x194
ret